cunumeric
cunumeric.linalg
cunumeric.fft
cunumeric.random
cunumeric.ndarray
Return a new array of given shape and type, filled with ones.
shape (int or Sequence[int]) – Shape of the new array.
dtype (data-type, optional) – The desired data-type for the array. Default is cunumeric.float64.
out – Array of ones with the given shape and dtype.
ndarray
See also
numpy.ones
Multiple GPUs, Multiple CPUs
previous
cunumeric.identity
next
cunumeric.ones_like