/external/tensorflow/tensorflow/lite/micro/examples/person_detection/utils/ |
D | raw_to_bitmap_test.py | 98 self.assertTrue(np.array_equal(_RGB_FLAT, frame_list)) 102 self.assertTrue(np.array_equal(_GRAYSCALE_FLAT, frame_list)) 106 self.assertTrue(np.array_equal(_RGB_RESHAPED, reshaped)) 110 self.assertTrue(np.array_equal(_GRAYSCALE_RESHAPED, reshaped)) 114 self.assertTrue(np.array_equal(_GRAYSCALE_FLAT_MULTI, frame_list)) 116 self.assertTrue(np.array_equal(_GRAYSCALE_RESHAPED_MULTI, reshaped))
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | categorical_op_test.py | 95 self.assertTrue((not np.array_equal(y, z)) or 96 (not np.array_equal(z, w)) or 97 (not np.array_equal(y, w)))
|
D | random_ops_test.py | 55 self.assertTrue((not np.array_equal(y, z)) or 56 (not np.array_equal(z, w)) or (not np.array_equal(y, w)))
|
D | stateful_random_ops_test.py | 289 self.assertFalse(np.array_equal(x, y))
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | as_numpy_iterator_test.py | 89 self.assertTrue(np.array_equal(actual, expected))
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | random_ops_test.py | 59 self.assertTrue((not np.array_equal(y, z)) or 60 (not np.array_equal(z, w)) or (not np.array_equal(y, w)))
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | init_ops_test.py | 472 np.array_equal(self._Range(0, 5, 1), np.array([0, 1, 2, 3, 4]))) 473 self.assertTrue(np.array_equal(self._Range(0, 5, 2), np.array([0, 2, 4]))) 474 self.assertTrue(np.array_equal(self._Range(0, 6, 2), np.array([0, 2, 4]))) 476 np.array_equal(self._Range(13, 32, 7), np.array([13, 20, 27]))) 478 np.array_equal( 489 self.assertTrue(np.array_equal(self._Range(start, start, 1), [])) 504 np.array_equal(self._Range(5, -1, -1), np.array([5, 4, 3, 2, 1, 0]))) 508 np.array_equal(self._Range(-5, -10, -3), np.array([-5, -8])))
|
D | constant_op_eager_test.py | 351 np.array_equal(self._Zeros([2, 3]), np.array([[0] * 3] * 2))) 473 self.assertTrue(np.array_equal(self._Ones([2, 3]), np.array([[1] * 3] * 2))) 537 self.assertTrue(np.array_equal(z_value, np.array([[1] * 3] * 2)))
|
D | summary_v1_tensor_op_test.py | 42 self.assertTrue(np.array_equal(actual, expected))
|
D | constant_op_test.py | 404 np.array_equal(self._Zeros([2, 3]), np.array([[0] * 3] * 2))) 608 self.assertTrue(np.array_equal(self._Ones([2, 3]), np.array([[1] * 3] * 2))) 700 self.assertTrue(np.array_equal(z_value, np.array([[1] * 3] * 2)))
|
D | depthtospace_op_test.py | 310 self.assertTrue(np.array_equal(actual_vals, expected_vals))
|
D | spacetodepth_op_test.py | 310 self.assertTrue(np.array_equal(actual_vals, expected_vals))
|
D | gather_nd_op_test.py | 265 assert np.array_equal(expected_grads, self.evaluate(grads))
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | make_batched_features_dataset_test.py | 156 all_equal = all_equal and np.array_equal(batch1[i], batch2[i])
|
D | make_csv_dataset_test.py | 726 all_equal = all_equal and np.array_equal(batch1[i], batch2[i])
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | transformed_distribution.py | 68 return constant_op.constant(np.array_equal(x_, y_))
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | wrappers_test.py | 224 assert np.array_equal(td.get_weights()[3], np.array([1, 1])) 229 assert not np.array_equal(td.get_weights()[2], np.array([0, 0])) 230 assert not np.array_equal(td.get_weights()[3], np.array([1, 1]))
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | scatter_nd_ops_test.py | 537 self.assertTrue(np.array_equal(result, expected[0]) or 538 np.array_equal(result, expected[1]))
|
/external/tensorflow/tensorflow/python/distribute/ |
D | input_lib_test.py | 1603 assert np.array_equal(x.values[0].numpy(), np.array([1, 2, 3, 4, 5])) 1604 assert np.array_equal(x.values[1].numpy(), np.array([6, 7, 8, 9, 10]))
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_util.py | 475 if np.array_equal(downcasted_array, nparray):
|
/external/tensorflow/third_party/py/numpy/tf_numpy_api/ |
D | tensorflow.experimental.numpy.pbtxt | 208 name: "array_equal"
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_math_ops.py | 1007 def array_equal(a1, a2): # pylint: disable=missing-function-docstring function
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_grad.py | 157 if np.array_equal(axes, np.arange(rank)): # Reduce all dims.
|
D | image_ops_test.py | 4372 np.array_equal(random_jpeg_images[0], random_jpeg_images[i]))
|