Home
last modified time | relevance | path

Searched refs:x_flat (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/cc/tutorials/
Dexample_trainer.cc89 auto x_flat = x.flat<float>(); in DebugString() local
94 Eigen::Tensor<float, 0, Eigen::RowMajor> lambda = (x_flat * y_flat).sum(); in DebugString()
96 lambda(), x_flat(0), x_flat(1), y_flat(0), y_flat(1)); in DebugString()
119 auto x_flat = x.flat<float>(); in ConcurrentSteps() local
120 x_flat.setRandom(); in ConcurrentSteps()
122 x_flat.square().sum().sqrt().inverse(); in ConcurrentSteps()
123 x_flat = x_flat * inv_norm(); in ConcurrentSteps()
/external/tensorflow/tensorflow/cc/profiler/
Dprofiler_test.cc107 auto x_flat = x.flat<float>(); in TEST_F() local
108 x_flat.setRandom(); in TEST_F()
110 x_flat.square().sum().sqrt().inverse(); in TEST_F()
111 x_flat = x_flat * inv_norm(); in TEST_F()
/external/tensorflow/tensorflow/core/distributed_runtime/
Drpcbench_test.cc160 auto x_flat = x.flat<float>(); in DebugString() local
164 return strings::Printf("x = [%8.6f %8.6f] y = [%8.6f %8.6f]", x_flat(0), in DebugString()
165 x_flat(1), y_flat(0), y_flat(1)); in DebugString()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsegment_reduction_ops_test.py59 x_flat = x.reshape((indices.size,) + slice_shape)
63 output[index][j] = op1([output[index][j], x_flat[i][j]])
65 output[index] = op1(output[index], x_flat[i])
67 output[index] = x_flat[i]
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddot_operation_test.cc558 auto x_flat = Reshape(x, {0, 1, 2, 3}, {4, 2, 2}); in XLA_TYPED_TEST() local
565 auto x_slice = Slice(x_flat, {i, 0, 0}, {i + 1, 2, 2}, {1, 1, 1}); in XLA_TYPED_TEST()