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

Function TEST

tensorflow/lite/tools/benchmark/benchmark_test.cc:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74};
75
76TEST(BenchmarkTest, DoesntCrash) {
77 ASSERT_THAT(g_model_path, testing::NotNull());
78
79 BenchmarkTfLiteModel benchmark(CreateParams());
80 benchmark.Run();
81}
82
83class MaxDurationWorksTestListener : public BenchmarkListener {
84 void OnBenchmarkEnd(const BenchmarkResults& results) override {

Callers

nothing calls this directly

Calls 11

CreateParamsFunction · 0.85
RunMethod · 0.45
AddListenerMethod · 0.45
InitMethod · 0.45
PrepareMethod · 0.45
GetInterpreterMethod · 0.45
inputsMethod · 0.45
sizeMethod · 0.45
tensorMethod · 0.45
reserveMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected