Home
last modified time | relevance | path

Searched refs:num_x (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dreduction_ops_test.cc27 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()
88 const string& reduce, int num_x, int num_y) { in ReduceToScalar() argument
89 testing::ItemsProcessed(static_cast<int64>(iters) * num_x * num_y); in ReduceToScalar()
90 testing::BytesProcessed(static_cast<int64>(iters) * num_x * num_y * in ReduceToScalar()
92 test::Benchmark(device, ToScalar<T>(reduce, num_x, num_y)).Run(iters); in ReduceToScalar()
[all …]
Dscan_ops_test.cc25 static Graph* LargeOneDCumsum(int num_x, bool reverse = false) { in LargeOneDCumsum() argument
27 Tensor data(DataTypeToEnum<T>::value, TensorShape({num_x})); in LargeOneDCumsum()
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()
70 static void LargeOneDimensional(int iters, const string& device, int num_x, in LargeOneDimensional() argument
72 testing::ItemsProcessed(static_cast<int64>(iters) * num_x); in LargeOneDimensional()
73 testing::BytesProcessed(static_cast<int64>(iters) * num_x * sizeof(T)); in LargeOneDimensional()
74 test::Benchmark(device, LargeOneDCumsum<T>(num_x, reverse)).Run(iters); in LargeOneDimensional()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dfft.h94 virtual std::unique_ptr<Plan> Create1dPlan(Stream *stream, uint64 num_x,
98 virtual std::unique_ptr<Plan> Create2dPlan(Stream *stream, uint64 num_x,
103 virtual std::unique_ptr<Plan> Create3dPlan(Stream *stream, uint64 num_x,
109 Stream *stream, uint64 num_x, Type type, bool in_place_fft,
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,
214 std::unique_ptr<fft::Plan> Create1dPlan(Stream *stream, uint64 num_x, \
217 std::unique_ptr<fft::Plan> Create2dPlan(Stream *stream, uint64 num_x, \
221 Stream *stream, uint64 num_x, uint64 num_y, uint64 num_z, \
224 Stream *stream, uint64 num_x, fft::Type type, bool in_place_fft, \
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_fft.cc291 std::unique_ptr<fft::Plan> CUDAFft::Create1dPlan(Stream *stream, uint64 num_x, in Create1dPlan() argument
295 uint64 elem_count[1] = {num_x}; in Create1dPlan()
301 LOG(ERROR) << "Plan Parameters: num_x: " << num_x; in Create1dPlan()
309 Stream *stream, uint64 num_x, fft::Type type, bool in_place_fft, in Create1dPlanWithScratchAllocator() argument
312 uint64 elem_count[1] = {num_x}; in Create1dPlanWithScratchAllocator()
316 LOG(ERROR) << "Plan Parameters: num_x: " << num_x; in Create1dPlanWithScratchAllocator()
324 std::unique_ptr<fft::Plan> CUDAFft::Create2dPlan(Stream *stream, uint64 num_x, 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
[all …]
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_fft.cc372 std::unique_ptr<fft::Plan> ROCMFft::Create1dPlan(Stream *stream, uint64 num_x, in Create1dPlan() argument
376 uint64 elem_count[1] = {num_x}; in Create1dPlan()
389 Stream *stream, uint64 num_x, fft::Type type, bool in_place_fft, in Create1dPlanWithScratchAllocator() argument
392 uint64 elem_count[1] = {num_x}; in Create1dPlanWithScratchAllocator()
403 std::unique_ptr<fft::Plan> ROCMFft::Create2dPlan(Stream *stream, uint64 num_x, 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()
432 std::unique_ptr<fft::Plan> ROCMFft::Create3dPlan(Stream *stream, uint64 num_x, in Create3dPlan() argument
437 uint64 elem_count[3] = {num_x, num_y, num_z}; in Create3dPlan()
[all …]
/external/tensorflow/tensorflow/core/graph/
Dgradients.cc102 const int num_x = n->num_inputs(); in AddSymGrad() local
111 std::vector<NodeOut> n_inputs(num_x); in AddSymGrad()
125 CHECK_EQ(ndef.input_size(), num_x + num_y); in AddSymGrad()
345 const int num_x = n->num_inputs(); in Compute() local
381 graph_->AddEdge(dy[i].node, dy[i].index, grad, num_x + i); in Compute()
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction.cc2044 const size_t num_x = fbody_->arg_nodes.size(); in Compute() local
2046 x_node_outputs.reserve(num_x); in Compute()