MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Do3DXZReduce

Function Do3DXZReduce

tensorflow/core/kernels/reduction_ops_test.cc:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119static void Do3DXZReduce(int iters, const string& device, const string& reduce,
120 int num_x, int num_y) {
121 testing::ItemsProcessed(static_cast<int64>(iters) * num_x * num_y);
122 testing::BytesProcessed(static_cast<int64>(iters) * num_x * num_y *
123 sizeof(float));
124 test::Benchmark(device, ThreeDXZReduce(reduce, num_x, num_y)).Run(iters);
125}
126
127static void BM_Sum2DToScalarGPU(int iters, int num_x, int num_y) {
128 ReduceToScalar<float>(iters, "gpu", "Sum", num_x, num_y);

Callers 1

BM_Sum3DXZReduceGPUFunction · 0.85

Calls 5

ItemsProcessedFunction · 0.85
BytesProcessedFunction · 0.85
ThreeDXZReduceFunction · 0.85
BenchmarkClass · 0.50
RunMethod · 0.45

Tested by

no test coverage detected