Tutorials
Examples
References
Other
Community
Return the indices of the elements that are non-zero.
a (ndarray) – Input array.
Indices of elements that are non-zero.
tuple of ndarray()
ndarray()
Note
During backpropagation, this function does not propagate gradients.
See also
numpy.nonzero()