Searched refs:count_nonzero (Results 1 – 14 of 14) sorted by relevance
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_events_monitors.py | 174 num_neg_inf = np.count_nonzero( 176 num_pos_inf = np.count_nonzero( 178 num_nan = np.count_nonzero(np.isnan(tensor_value))
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/metrics/ |
D | blazeface_metrics.py | 85 tf.math.count_nonzero(high_scoring_indices, dtype=tf.float32), 1.0))
|
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/ |
D | reduction_ops_test.py | 1091 tf_ans = math_ops.count_nonzero(x, reduction_axes, keepdims) 1152 y = math_ops.count_nonzero(x, [0]) 1158 v = math_ops.count_nonzero(constant_op.constant(["test"]))
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_math_ops.py | 1164 def count_nonzero(a, axis=None): function 1165 return math_ops.count_nonzero(np_array_ops.array(a), axis)
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_test.py | 51 nonzeros = np.count_nonzero(x.flatten()) 351 final_count += np.count_nonzero(value) 410 final_count += np.count_nonzero(value)
|
D | control_flow_ops_test.py | 1226 self.assertGreater(np.count_nonzero(overlaps_chol0), 0)
|
D | math_ops.py | 2380 def count_nonzero(input_tensor=None, function
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_array_ops.py | 193 masked_lengths = math_ops.count_nonzero(
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.math.pbtxt | 116 name: "count_nonzero"
|
D | tensorflow.pbtxt | 1064 name: "count_nonzero"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.math.pbtxt | 116 name: "count_nonzero"
|
/external/tensorflow/third_party/py/numpy/tf_numpy_api/ |
D | tensorflow.experimental.numpy.pbtxt | 304 name: "count_nonzero"
|
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/ |
D | losses_test.py | 1531 weighted_sum / np.count_nonzero(broadcast_weights),
|
/external/tensorflow/ |
D | RELEASE.md | 9447 `axis` * `tf.count_nonzero`: `reduction_indices` becomes `axis` *
|