tf.random.normal

Outputs random values from a normal distribution.

Used in the notebooks

Used in the guide Used in the tutorials

Example that generates a new set of random values every time:

tf.random.set_seed(5);
tf.random.normal([4], 0, 1, tf.float32)
<tf.Tensor: shape=(4,), dtype=float32, numpy=..., dtype=float32)>

Example that ou