Home
last modified time | relevance | path

Searched refs:tf_b (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dcore_test.py201 tf_b = constant_op.constant([1, 2])
209 self.assertNotEqual(tf_a, tf_b)
213 self.assertEqual([tf_a, tf_b], [tf_a, tf_b])
214 self.assertNotEqual([tf_a, tf_b], [tf_b, tf_b])
217 self.assertIn(tf_a, [tf_a, tf_b])
218 self.assertIn(tf_a, [tf_b, tf_a])
219 self.assertNotIn(tf_a, [tf_b, tf_c])
224 bool(tf_a == tf_b)
225 self.assertAllEqual(tf_a == tf_b, [True, True])
241 self.assertEqual([tf_a, tf_b], [tf_a, tf_b])
[all …]
Dtape_test.py79 tf_b = constant_op.constant([[1, 2], [3, 4]], dtype=dtypes.float32)
80 tf_c = tf_a + tf_b
83 tf_da, tf_db = gradients_impl.gradients(tf_e, [tf_a, tf_b])
142 tf_b = constant_op.constant([[1, 2], [3, 4]], dtype=dtypes.float32)
143 tf_mm = math_ops.matmul(tf_a, tf_b)
145 tf_da, tf_db = gradients_impl.gradients(tf_rr, [tf_a, tf_b])
/external/python/cpython3/Lib/ctypes/test/
Dtest_cfuncs.py19 self._dll.tf_b.restype = c_byte
20 self._dll.tf_b.argtypes = (c_byte,)
21 self.assertEqual(self._dll.tf_b(-126), -42)
/external/python/cpython2/Lib/ctypes/test/
Dtest_cfuncs.py19 self._dll.tf_b.restype = c_byte
20 self._dll.tf_b.argtypes = (c_byte,)
21 self.assertEqual(self._dll.tf_b(-126), -42)
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_matmul_op_test.py147 tf_b = math_ops.cast(b, b_dtype) if b_dtype != dtypes.float32 else b
151 tf_b,
Dtensordot_op_test.py110 tf_b = constant_op.constant([2, 3, 1], dtype=dtypes.float32)[None, None]
111 tf_ans = math_ops.tensordot(tf_a, tf_b, axes_value)
/external/python/cpython2/Modules/_ctypes/
D_ctypes_test.c475 EXPORT(signed char) tf_b(signed char c) { S; return c/3; } in tf_b() function
/external/python/cpython3/Modules/_ctypes/
D_ctypes_test.c635 EXPORT(signed char) tf_b(signed char c) { S; return c/3; } in tf_b() function