jax.numpy.zeros#
- jax.numpy.zeros(shape, dtype=None, *, device=None)[source]#
Return a new array of given shape and type, filled with zeros.
LAX-backend implementation of
numpy.zeros()
.Original docstring below.
- Parameters:
- Returns:
out – Array of zeros with the given shape, dtype, and order.
- Return type:
ndarray