Home
last modified time | relevance | path

Searched refs:BenchmarkParams (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_performance_options.h36 void MarkBenchmarkStart(const BenchmarkParams& params) { in MarkBenchmarkStart()
40 current.params = absl::make_unique<BenchmarkParams>(); in MarkBenchmarkStart()
55 std::unique_ptr<BenchmarkParams> params;
72 virtual std::string PerfOptionName(const BenchmarkParams& params) const;
92 static BenchmarkParams DefaultParams();
95 BenchmarkParams params, BenchmarkModel* single_option_run,
110 BenchmarkParams params_;
115 BenchmarkParams* const single_option_run_params_; // Doesn't own the memory.
119 std::vector<BenchmarkParams> all_run_params_;
Dbenchmark_performance_options.cc45 const BenchmarkParams& params) const { in PerfOptionName()
117 BenchmarkParams params, BenchmarkModel* single_option_run, in BenchmarkPerformanceOptions()
126 BenchmarkParams BenchmarkPerformanceOptions::DefaultParams() { in DefaultParams()
127 BenchmarkParams params; in DefaultParams()
250 BenchmarkParams params; in CreatePerformanceOptions()
261 BenchmarkParams params; in CreatePerformanceOptions()
265 BenchmarkParams xnnpack_params; in CreatePerformanceOptions()
278 BenchmarkParams params; in CreatePerformanceOptions()
285 BenchmarkParams params; in CreatePerformanceOptions()
298 BenchmarkParams params; in CreatePerformanceOptions()
[all …]
Dbenchmark_model.h93 virtual void OnBenchmarkStart(const BenchmarkParams& params) {} in OnBenchmarkStart()
122 void OnBenchmarkStart(const BenchmarkParams& params) override { in OnBenchmarkStart()
160 Flag CreateFlag(const char* name, BenchmarkParams* params, in CreateFlag()
173 static BenchmarkParams DefaultParams();
175 explicit BenchmarkModel(BenchmarkParams params) in BenchmarkModel()
188 BenchmarkParams* mutable_params() { return &params_; } in mutable_params()
215 BenchmarkParams params_;
Dbenchmark_test.cc48 BenchmarkParams CreateParams(int32_t num_runs, float min_secs, float max_secs, in CreateParams()
50 BenchmarkParams params = BenchmarkTfLiteModel::DefaultParams(); in CreateParams()
66 BenchmarkParams CreateParams() { return CreateParams(2, 1.0f, 150.0f); } in CreateParams()
67 BenchmarkParams CreateFp32Params() { in CreateFp32Params()
70 BenchmarkParams CreateInt8Params() { in CreateInt8Params()
73 BenchmarkParams CreateStringParams() { in CreateStringParams()
123 explicit TestBenchmark(BenchmarkParams params) in TestBenchmark()
195 BenchmarkParams params = CreateFp32Params(); in TEST()
208 BenchmarkParams params = CreateFp32Params(); in TEST()
225 BenchmarkParams params = CreateInt8Params(); in TEST()
[all …]
Dbenchmark_tflite_model.h55 explicit BenchmarkTfLiteModel(BenchmarkParams params = DefaultParams());
64 static BenchmarkParams DefaultParams();
Dbenchmark_params.h23 using BenchmarkParams = tflite::tools::ToolParams; variable
Dprofiling_listener.h38 void OnBenchmarkStart(const BenchmarkParams& params) override;
Dbenchmark_tflite_model.cc66 void OnBenchmarkStart(const BenchmarkParams& params) override;
74 void RuyProfileListener::OnBenchmarkStart(const BenchmarkParams& params) { in OnBenchmarkStart()
236 BenchmarkParams BenchmarkTfLiteModel::DefaultParams() { in DefaultParams()
237 BenchmarkParams default_params = BenchmarkModel::DefaultParams(); in DefaultParams()
266 BenchmarkTfLiteModel::BenchmarkTfLiteModel(BenchmarkParams params) in BenchmarkTfLiteModel()
Dbenchmark_model.cc30 BenchmarkParams BenchmarkModel::DefaultParams() { in DefaultParams()
31 BenchmarkParams params; in DefaultParams()
Dprofiling_listener.cc44 void ProfilingListener::OnBenchmarkStart(const BenchmarkParams& params) { in OnBenchmarkStart()
/external/tensorflow/tensorflow/lite/tools/benchmark/ios/TFLiteBenchmark/TFLiteBenchmark/
DBenchmarkViewController.mm123 // TODO(shashishekhar): Passing arguments like this is brittle, refactor the BenchmarkParams
124 // so that it contains arguments for BenchmarkTfLiteModel and set parameters using BenchmarkParams
/external/tensorflow/tensorflow/lite/tools/benchmark/experimental/c/
Dbenchmark_c_api.cc70 const tflite::benchmark::BenchmarkParams& params) override { in OnBenchmarkStart()