Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/engine/
Dcompile_utils_test.py41 y_t, y_p = array_ops.ones((10, 5)), array_ops.zeros((10, 5))
42 total_loss = loss_container(y_t, y_p)
56 y_t = [array_ops.ones((10, 1)), array_ops.zeros((10, 1))]
60 total_loss = loss_container(y_t, y_p, sample_weight=sw)
89 y_t = {'out1': array_ops.ones((10, 1)), 'out2': array_ops.zeros((10, 1))}
93 total_loss = loss_container(y_t, y_p, sample_weight=sw)
115 y_t = [array_ops.ones((10, 1)), array_ops.zeros((10, 1))]
119 total_loss = loss_container(y_t, y_p, sample_weight=sw)
138 y_t = {'out1': array_ops.ones((10, 1)), 'out2': array_ops.zeros((10, 1))}
142 total_loss = loss_container(y_t, y_p, sample_weight=sw)
[all …]
Dcompile_utils.py199 for y_t, y_p, sw, loss_obj, loss_weight, metric_obj in zip(*zip_args):
200 if y_t is None or loss_obj is None: # Ok to have no loss for an output.
203 y_t, y_p, sw = match_dtype_and_rank(y_t, y_p, sw)
205 loss_value = loss_obj(y_t, y_p, sample_weight=sw)
213 if tf_utils.is_ragged(y_t):
214 batch_dim = y_t.nrows()
216 batch_dim = array_ops.shape(y_t)[0]
417 for y_t, y_p, sw, metric_objs, weighted_metric_objs in zip(*zip_args):
419 if (y_t is None or (all(m is None for m in metric_objs) and
423 y_t, y_p, sw = match_dtype_and_rank(y_t, y_p, sw)
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddebug_stripper_test.cc127 Tensor y_t(DT_FLOAT, TensorShape({})); in TEST_F() local
129 y_t.flat<float>()(0) = 0.5f; in TEST_F()
131 EvaluateNodes(item.graph, {"z"}, {{"x", x_t}, {"y", y_t}}); in TEST_F()
133 EvaluateNodes(output, {"z"}, {{"x", x_t}, {"y", y_t}}); in TEST_F()
186 Tensor y_t(DT_FLOAT, TensorShape({})); in TEST_F() local
188 y_t.flat<float>()(0) = 0.5f; in TEST_F()
190 EvaluateNodes(item.graph, {"z"}, {{"x", x_t}, {"y", y_t}}); in TEST_F()
192 EvaluateNodes(output, {"z"}, {{"x", x_t}, {"y", y_t}}); in TEST_F()
Darithmetic_optimizer_test.cc1978 auto y_t = GenerateRandomTensor<DT_FLOAT>(TensorShape({2, 2})); in TEST_F() local
1981 {"a", a_t}, {"b", b_t}, {"c", c_t}, {"x", x_t}, {"y", y_t}, {"z", z_t}}; in TEST_F()
2187 auto y_t = GenerateRandomTensor<DT_FLOAT>(TensorShape({32, 32})); in TEST_F() local
2190 {"a", a_t}, {"b", b_t}, {"c", c_t}, {"x", x_t}, {"y", y_t}, {"z", z_t}}; in TEST_F()
2380 auto y_t = GenerateRandomTensor<DT_FLOAT>(TensorShape({2, 2})); in TEST_F() local
2381 std::vector<std::pair<string, Tensor>> feed = {{"x", x_t}, {"y", y_t}}; in TEST_F()
Dconstant_folding_test.cc389 auto y_t = GenerateRandomTensor<DT_FLOAT>(TensorShape({2, 2})); in TEST_F() local
393 EvaluateNodes(item.graph, fetch, {{"x", x_t}, {"y", y_t}}); in TEST_F()
396 auto tensors = EvaluateNodes(output, fetch, {{"x", x_t}, {"y", y_t}}); in TEST_F()
968 auto y_t = GenerateRandomTensor<DT_FLOAT>(TensorShape({2, 2})); in TEST_F() local
973 {{"x", x_t}, {"y", y_t}, {"a", a_t}, {"b", b_t}, {"bias", bias_t}}); in TEST_F()
977 {{"x", x_t}, {"y", y_t}, {"a", a_t}, {"b", b_t}, {"bias", bias_t}}); in TEST_F()
/external/llvm-project/clang/test/CodeGen/
Dms-inline-asm-enums.cpp6 struct y_t { struct
19 __asm mov eax, x::y_t::A in t1() argument
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensor_dense_matmul_op_test.py344 y_t = constant_op.constant(y)
346 x_t, y_t, adjoint_a, adjoint_b)
350 y_t = constant_op.constant(y)
352 x_t, y_t, adjoint_a, adjoint_b)
362 y_t = constant_op.constant(y)
364 x_ind, x_val, x_shape, y_t, adjoint_a, adjoint_b)
370 y_t = constant_op.constant(y)
372 x_ind, x_val, x_shape, y_t, adjoint_a, adjoint_b)
/external/tensorflow/tensorflow/core/framework/
Dtensor_util_test.cc546 Tensor y_t; in CompareTensorValues() local
547 EXPECT_TRUE(y_t.FromProto(y)); in CompareTensorValues()
548 test::ExpectTensorEqual<T>(x_t, y_t); in CompareTensorValues()