torch.count\_nonzero
====================

.. currentmodule:: torch

.. autofunction:: count_nonzero