/external/tensorflow/tensorflow/core/kernels/ |
D | reduction_ops_test.cc | 27 static Graph* ToScalar(const string& reduce, int num_x, int num_y) { in ToScalar() argument 29 Tensor data(DataTypeToEnum<T>::value, TensorShape({num_x, num_y})); in ToScalar() 39 static Graph* ColReduce(const string& reduce, int num_x, int num_y) { in ColReduce() argument 41 Tensor data(DT_FLOAT, TensorShape({num_x, num_y})); in ColReduce() 50 static Graph* RowReduce(const string& reduce, int num_x, int num_y) { in RowReduce() argument 52 Tensor data(DT_FLOAT, TensorShape({num_x, num_y})); in RowReduce() 61 static Graph* ThreeDYReduce(const string& reduce, int num_y, int num_z) { in ThreeDYReduce() argument 63 Tensor data(DT_FLOAT, TensorShape({4, num_y, num_z})); in ThreeDYReduce() 72 static Graph* ThreeDXZReduce(const string& reduce, int num_y, int num_z) { in ThreeDXZReduce() argument 74 Tensor data(DT_FLOAT, TensorShape({4, num_y, num_z})); in ThreeDXZReduce() [all …]
|
D | scan_ops_test.cc | 36 static Graph* ColCumsum(int num_x, int num_y, bool reverse = false) { in ColCumsum() argument 38 Tensor data(DT_FLOAT, TensorShape({num_x, num_y})); in ColCumsum() 47 static Graph* RowCumsum(int num_x, int num_y, bool reverse = false) { in RowCumsum() argument 49 Tensor data(DT_FLOAT, TensorShape({num_x, num_y})); in RowCumsum() 58 static Graph* ThreeDYCumsum(int num_y, int num_z, bool reverse = false) { in ThreeDYCumsum() argument 60 Tensor data(DT_FLOAT, TensorShape({32, num_y, num_z})); in ThreeDYCumsum() 77 static void DoRowCumsum(int iters, const string& device, int num_x, int num_y, in DoRowCumsum() argument 79 testing::ItemsProcessed(static_cast<int64>(iters) * num_x * num_y); in DoRowCumsum() 80 testing::BytesProcessed(static_cast<int64>(iters) * num_x * num_y * in DoRowCumsum() 82 test::Benchmark(device, RowCumsum(num_x, num_y, reverse)).Run(iters); in DoRowCumsum() [all …]
|
/external/tensorflow/tensorflow/stream_executor/ |
D | fft.h | 99 uint64 num_y, Type type, 104 uint64 num_y, uint64 num_z, 114 Stream *stream, uint64 num_x, uint64 num_y, Type type, bool in_place_fft, 119 Stream *stream, uint64 num_x, uint64 num_y, uint64 num_z, Type type, 218 uint64 num_y, fft::Type type, \ 221 Stream *stream, uint64 num_x, uint64 num_y, uint64 num_z, \ 227 Stream *stream, uint64 num_x, uint64 num_y, fft::Type type, \ 230 Stream *stream, uint64 num_x, uint64 num_y, uint64 num_z, \
|
/external/tensorflow/tensorflow/core/graph/ |
D | gradients.cc | 103 const int num_y = n->num_outputs(); in AddSymGrad() local 104 CHECK_EQ(num_y, grads.size()); in AddSymGrad() 125 CHECK_EQ(ndef.input_size(), num_x + num_y); in AddSymGrad() 282 const int num_y = y_grad_node_outputs_.size(); in InitBackprop() local 283 for (int i = 0; i < num_y; ++i) { in InitBackprop() 346 const int num_y = n->num_outputs(); in Compute() local 352 CHECK_EQ(1, num_y); in Compute() 358 dy.resize(num_y, {nullptr, 0}); in Compute() 359 for (int i = 0; i < num_y; ++i) { in Compute() 380 for (int i = 0; i < num_y; ++i) { in Compute()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_fft.cc | 325 uint64 num_y, fft::Type type, in Create2dPlan() argument 328 uint64 elem_count[2] = {num_x, num_y}; in Create2dPlan() 332 LOG(ERROR) << "Plan Parameters: num_x: " << num_x << " num_y: " << num_y; in Create2dPlan() 340 Stream *stream, uint64 num_x, uint64 num_y, fft::Type type, in Create2dPlanWithScratchAllocator() argument 343 uint64 elem_count[2] = {num_x, num_y}; in Create2dPlanWithScratchAllocator() 347 LOG(ERROR) << "Plan Parameters: num_x: " << num_x << " num_y: " << num_y; in Create2dPlanWithScratchAllocator() 356 uint64 num_y, uint64 num_z, in Create3dPlan() argument 360 uint64 elem_count[3] = {num_x, num_y, num_z}; in Create3dPlan() 364 LOG(ERROR) << "Plan Parameters: num_x: " << num_x << " num_y: " << num_y in Create3dPlan() 373 Stream *stream, uint64 num_x, uint64 num_y, uint64 num_z, fft::Type type, in Create3dPlanWithScratchAllocator() argument [all …]
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_fft.cc | 404 uint64 num_y, fft::Type type, in Create2dPlan() argument 407 uint64 elem_count[2] = {num_x, num_y}; in Create2dPlan() 418 Stream *stream, uint64 num_x, uint64 num_y, fft::Type type, in Create2dPlanWithScratchAllocator() argument 421 uint64 elem_count[2] = {num_x, num_y}; in Create2dPlanWithScratchAllocator() 433 uint64 num_y, uint64 num_z, in Create3dPlan() argument 437 uint64 elem_count[3] = {num_x, num_y, num_z}; in Create3dPlan() 448 Stream *stream, uint64 num_x, uint64 num_y, uint64 num_z, fft::Type type, in Create3dPlanWithScratchAllocator() argument 451 uint64 elem_count[3] = {num_x, num_y, num_z}; in Create3dPlanWithScratchAllocator()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | gradients.cc | 449 const int num_y = n->num_outputs(); in AddGradients() local 451 dy.resize(num_y, {nullptr, 0}); in AddGradients() 453 for (int i = 0; i < num_y; ++i) { in AddGradients() 492 if (IsPrimitiveOpWithNoGrad(n->type_string()) || num_no_grad == num_y) { in AddGradients() 503 if (num_no_grad > 0 && num_no_grad < num_y) { in AddGradients()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | function.cc | 2021 const int num_y = static_cast<int>(gbody_->ret_nodes.size()); in Compute() local 2028 y_node_outputs.reserve(num_y); in Compute() 2030 y_grad_node_outputs.reserve(num_y); in Compute() 2031 for (int i = 0; i < num_y; ++i) { in Compute()
|