Skip to content
fn

count_nonzero

→Tensor
count_nonzero(input: Tensor, dim: _int | Sequence[_int] | None = ...)