ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


TensorFlow variant of NumPy's random.randn.

Used in the notebooks

Used in the guide

Returns samples from a normal distribution.

Uses tf.random_normal.

Args: *args: The shape of the output array.

Returns: An ndarray with shape args and dtype float64.

See the NumPy documentation for numpy.random.randn.