Outputs random values from a truncated normal distribution.
tf.random.stateless_parameterized_truncated_normal(
    shape, seed, means=0.0, stddevs=1.0, minvals=-2.0, maxvals=2.0, name=None
)
The generated values follow a normal distribution with specified mean and
standard deviation, except that values whose magnitude is more than 2 standard
deviations from the mean are dropped and re-picked.
Examples:
Sample from a Truncated normal, with deferring shape parameters that
broadcast.
means = 0.
stddevs = tf.math.exp(tf.random.uniform(shape=[2, 3]))
minvals = [-1., -2., -1000.]
maxvals = [[10000.], [1.]]
y = tf.random.stateless_parameterized_truncated_normal(
  shape=[10, 2, 3], seed=[7, 17],
  means=means, stddevs=stddevs, minvals=minvals, maxvals=maxvals)
y.shape
TensorShape([10, 2, 3])
| Args | 
|---|
| shape | A 1-D integer Tensoror Python array. The shape of the output
tensor. | 
| seed | A shape [2] Tensor, the seed to the random number generator. Must have
dtype int32orint64. (When using XLA, onlyint32is allowed.) | 
| means | A Tensoror Python value of typedtype. The mean of the truncated
normal distribution. This must broadcast withstddevs,minvalsandmaxvals, and the broadcasted shape must be dominated byshape. | 
| stddevs | A Tensoror Python value of typedtype. The standard deviation
of the truncated normal distribution. This must broadcast withmeans,minvalsandmaxvals, and the broadcasted shape must be dominated byshape. | 
| minvals | A Tensoror Python value of typedtype. The minimum value of
the truncated normal distribution. This must broadcast withmeans,stddevsandmaxvals, and the broadcasted shape must be dominated byshape. | 
| maxvals | A Tensoror Python value of typedtype. The maximum value of
the truncated normal distribution. This must broadcast withmeans,stddevsandminvals, and the broadcasted shape must be dominated byshape. | 
| name | A name for the operation (optional). | 
| Returns | 
|---|
| A tensor of the specified shape filled with random truncated normal values. |