ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tfl.utils.count_non_zeros

Returns total number of non 0 elements in given iterables.

*iterables Any number of the value None or iterables of numeric values.