cupynumeric.shape#
- cupynumeric.shape(a: ndarray) NdShape#
Return the shape of an array.
- Parameters:
a (array_like) – Input array.
- Returns:
shape – The elements of the shape tuple give the lengths of the corresponding array dimensions.
- Return type:
tuple[int, …]
See also
numpy.shape- Availability:
Multiple GPUs, Multiple CPUs