[TF2XLA] Optimize TruncatedNormalOp
Re-sampling when encountering a rejected value can be quite slow. If we directly use the inverse CDF of the normal distribution, the probit function, we can avoid the need to resample. PiperOrigin-RevId: 201296864
Loading
Please sign in to comment