Home
last modified time | relevance | path

Searched refs:bincount (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dbincount_op_test.py35 self.assertAllEqual(self.evaluate(math_ops.bincount([], minlength=5)),
37 self.assertAllEqual(self.evaluate(math_ops.bincount([], minlength=1)),
39 self.assertAllEqual(self.evaluate(math_ops.bincount([], minlength=0)),
41 self.assertEqual(self.evaluate(math_ops.bincount([], minlength=0,
44 self.assertEqual(self.evaluate(math_ops.bincount([], minlength=3,
50 self.assertAllEqual(self.evaluate(math_ops.bincount([1, 1, 1, 2, 2, 3])),
53 self.assertAllEqual(self.evaluate(math_ops.bincount(arr)),
56 self.assertAllEqual(self.evaluate(math_ops.bincount(arr)),
59 self.assertAllEqual(self.evaluate(math_ops.bincount([])), [])
60 self.assertAllEqual(self.evaluate(math_ops.bincount([0, 0, 0])), [3])
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Drejection_resample_test.py132 bincount = np.bincount(
136 self.assertAllClose(target_dist, bincount, atol=1e-2)
/external/tensorflow/tensorflow/contrib/coder/python/ops/
Dcoder_ops_test.py38 histogram = math_ops.bincount(data, minlength=10, maxlength=10)
/external/tensorflow/tensorflow/python/ops/ragged/
Dsegment_id_ops.py97 row_lengths = math_ops.bincount(
Dragged_tensor.py346 row_lengths = math_ops.bincount(
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Dsegmentation_test.py93 bins = np.bincount(components.ravel())
/external/tensorflow/tensorflow/python/ops/
Dmath_ops.py2933 def bincount(arr, function
2980 return gen_math_ops.bincount(arr, output_size, weights)
3013 return bincount(arr, weights, minlength, maxlength, dtype)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.math.pbtxt80 name: "bincount"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.math.pbtxt80 name: "bincount"
Dtensorflow.pbtxt896 name: "bincount"
/external/tensorflow/
DRELEASE.md1302 * Added a `tf.bincount` function.