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

Function BenchmarkHelper

tensorflow/compiler/jit/tests/auto_clustering_test.cc:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79#if defined(PLATFORM_GOOGLE)
80Status BenchmarkHelper(absl::string_view key, benchmark::State& state) {
81 return BenchmarkMarkForCompilation(
82 absl::StrCat(testing::TensorFlowSrcRoot(), "/compiler/jit/tests/", key,
83 ".pbtxt"),
84 state);
85}
86
87void BM_MarkForCompilationPass_KerasImagenetMain(benchmark::State& state) {
88 TF_CHECK_OK(BenchmarkHelper("keras_imagenet_main", state));

Calls 3

StrCatFunction · 0.50
TensorFlowSrcRootFunction · 0.50

Tested by

no test coverage detected