Home
last modified time | relevance | path

Searched refs:y_expected (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py549 y_expected = np.array([[6.0], [4.0]])
550 self.assertAllEqual(y_expected, y_actual)
570 y_expected = np.array([[3.5], [4.0]])
571 self.assertAllClose(y_expected, y_actual)
591 y_expected = np.array([[2.5], [3.0]])
592 self.assertAllClose(y_expected, y_actual)
611 y_expected = np.array([[2.5], [3.0]])
612 self.assertAllClose(y_expected, y_actual)
717 y_expected = np.array([[2.5], [3.0]])
718 self.assertAllClose(y_expected, y_actual)
/external/tensorflow/tensorflow/python/keras/layers/
Dwrappers_test.py700 y_expected = _to_list(merge_func(f_forward(x)[0], f_backward(x)[0]))
701 assert len(y_merged) == len(y_expected)
702 for x1, x2 in zip(y_merged, y_expected):
719 y_expected = _to_list(merge_func(y_forward[0], y_backward[0]))
720 assert len(y_merged) == len(y_expected) + n_states * 2
721 for x1, x2 in zip(y_merged, y_expected):
1318 y_expected = merge_func(
1323 self.assertAllClose(y_merged.flat_values, y_expected.flat_values)
/external/tensorflow/tensorflow/core/framework/
Dtensor_test.cc1083 Tensor y_expected(DT_COMPLEX64, TensorShape({8})); in TEST() local
1085 y_expected.vec<complex64>()(i) = MathUtil::IPow(rotate_45, i + 1); in TEST()
1087 test::ExpectTensorNear<complex64>(y, y_expected, 1e-5); in TEST()
1132 Tensor y_expected(DT_COMPLEX128, TensorShape({8})); in TEST() local
1134 y_expected.vec<complex128>()(i) = MathUtil::IPow(rotate_45, i + 1); in TEST()
1136 test::ExpectTensorNear<complex128>(y, y_expected, 1e-5); in TEST()