<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.15.1/tensorflow/python/ops/numpy_ops/np_random.py#L53-L66) |

TensorFlow variant of NumPy's `random.randn`.

```python
tf.experimental.numpy.random.randn(
    *args
)
```

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`](https://numpy.org/doc/stable/reference/generated/numpy.random.randn.html).