Attend the Women in ML Symposium on December 7 Register now

tfl.utils.count_non_zeros

Stay organized with collections Save and categorize content based on your preferences.

Returns total number of non 0 elements in given iterables.

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