JaxBackend.zeros#

static JaxBackend.zeros(shape, dtype=None)#

Returns an aligned array of zeros with specified shape and dtype.

Parameters:
shapetuple of ints.

Desired shape for the array.

dtypetype

Desired data type for the array.

Returns:
BackendArray

Byte-aligned array of zeros with specified shape and dtype.