cunumeric.zeros#

cunumeric.zeros(shape, dtype=float)#

Return a new array of given shape and type, filled with zeros.

Parameters
  • shape (int or tuple[int]) – Shape of the new array.

  • dtype (data-type, optional) – The desired data-type for the array. Default is cunumeric.float64.

Returns

out – Array of zeros with the given shape and dtype.

Return type

ndarray

See also

numpy.zeros

Availability

Multiple GPUs, Multiple CPUs