cupynumeric.zeros#
- cupynumeric.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 cupynumeric.float64.
- Returns:
out – Array of zeros with the given shape and dtype.
- Return type:
See also
numpy.zeros- Availability:
Multiple GPUs, Multiple CPUs