neural_compressor.ux.components.benchmark.benchmark_model
¶
Generic benchmark script.
Module Contents¶
Functions¶
|
Parse input arguments. |
|
Execute benchmark. |
|
Set eager execution as required by model. |
- neural_compressor.ux.components.benchmark.benchmark_model.parse_args() Any ¶
Parse input arguments.
- neural_compressor.ux.components.benchmark.benchmark_model.benchmark_model(input_graph: str, config: str, benchmark_mode: str, framework: str) None ¶
Execute benchmark.
- neural_compressor.ux.components.benchmark.benchmark_model.set_eager_execution(input_graph: str) None ¶
Set eager execution as required by model.