cupynumeric.count_nonzero#
- cupynumeric.count_nonzero( ) int | ndarray #
Counts the number of non-zero values in the array
a
.- Parameters:
- Returns:
count – Number of non-zero values in the array along a given axis. Otherwise, the total number of non-zero values in the array is returned.
- Return type:
See also
- Availability:
Multiple GPUs, Multiple CPUs