An array of integers defining the output tensor shape.
Optional mean: numberThe mean of the normal distribution.
Optional stdDev: numberThe standard deviation of the normal distribution.
Optional dtype: "float32" | "int32"The data type of the output tensor.
Optional seed: numberThe seed for the random number generator.
Generated using TypeDoc
Creates a
tf.Tensorwith values sampled from a truncated normal distribution.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.