CupyBackend.zeros#

CupyBackend.zeros(*args, **kwargs)[source]#

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.