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

Method Benchmark

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

Source from the content-addressed store, hash-verified

37static Env* env;
38
39Benchmark::Benchmark(const char* name, void (*fn)(int))
40 : name_(name), num_args_(0), fn0_(fn) {
41 args_.push_back(std::make_pair(-1, -1));
42 Register();
43}
44
45Benchmark::Benchmark(const char* name, void (*fn)(int, int))
46 : name_(name), num_args_(1), fn1_(fn) {

Callers 1

RunMethod · 0.45

Calls 2

RegisterClass · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected