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

Method RangePair

tensorflow/core/platform/default/test_benchmark.cc:100–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100Benchmark* Benchmark::RangePair(int lo1, int hi1, int lo2, int hi2) {
101 std::vector<int> args1;
102 std::vector<int> args2;
103 AddRange(&args1, lo1, hi1, 8);
104 AddRange(&args2, lo2, hi2, 8);
105 for (int arg1 : args1) {
106 for (int arg2 : args2) {
107 ArgPair(arg1, arg2);
108 }
109 }
110 return this;
111}
112
113void Benchmark::Run(const char* pattern) {
114 if (!all_benchmarks) return;

Callers 4

scan_ops_test.ccFile · 0.80
random_op_test.ccFile · 0.80

Calls 1

AddRangeFunction · 0.85

Tested by

no test coverage detected