Home
last modified time | relevance | path

Searched refs:expected_t (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensor_dense_matmul_op_test.py184 expected_t = np.array([[0] * 5, [np.nan] * 5, [0] * 5], dtype=np.float32)
185 self.assertAllClose(expected_t,
189 expected_t = np.array(
191 self.assertAllClose(expected_t,
200 expected_t = np.array([[0] * 5, [0] * 5], dtype=np.float32)
201 self.assertAllClose(expected_t,
206 expected_t = np.array([[0] * 500, [0] * 500], dtype=np.float32)
207 self.assertAllClose(expected_t,
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle_test.cc78 const Tensor& expected_t) { in ExpectVariant() argument
86 EXPECT_EQ(expected_t.dtype(), dtype); in ExpectVariant()
87 EXPECT_EQ(expected_t.shape(), shape); in ExpectVariant()
90 for (int i = 0; i < expected_t.NumElements(); i++) { in ExpectVariant()
92 Variant expected_var = expected_t.flat<Variant>()(i); in ExpectVariant()