Home
last modified time | relevance | path

Searched refs:count_nonzero (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_events_monitors.py174 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/
Dblazeface_metrics.py85 tf.math.count_nonzero(high_scoring_indices, dtype=tf.float32), 1.0))
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dreduction_ops_test.py1091 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/
Dnp_math_ops.py1164 def count_nonzero(a, axis=None): function
1165 return math_ops.count_nonzero(np_array_ops.array(a), axis)
/external/tensorflow/tensorflow/python/ops/
Dnn_test.py51 nonzeros = np.count_nonzero(x.flatten())
351 final_count += np.count_nonzero(value)
410 final_count += np.count_nonzero(value)
Dcontrol_flow_ops_test.py1226 self.assertGreater(np.count_nonzero(overlaps_chol0), 0)
Dmath_ops.py2380 def count_nonzero(input_tensor=None, function
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_array_ops.py193 masked_lengths = math_ops.count_nonzero(
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.math.pbtxt116 name: "count_nonzero"
Dtensorflow.pbtxt1064 name: "count_nonzero"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.math.pbtxt116 name: "count_nonzero"
/external/tensorflow/third_party/py/numpy/tf_numpy_api/
Dtensorflow.experimental.numpy.pbtxt304 name: "count_nonzero"
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dlosses_test.py1531 weighted_sum / np.count_nonzero(broadcast_weights),
/external/tensorflow/
DRELEASE.md9447 `axis` * `tf.count_nonzero`: `reduction_indices` becomes `axis` *