Extend throughput benchmark with device CLI parameter (#20816)

* Extend throughput benchmark CLI parameters

* Added device name as the second CLI parameter with default CPU value

* Update samples/cpp/benchmark/throughput_benchmark/main.cpp

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Fix comments to review

* Modified python version
* Modified documentation

* Fix comments to review

* Fixed the comment
* Modified python doc
* Fixed device name handling in python version

* Update main.cpp

* Update throughput_benchmark.py

---------

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
This commit is contained in:
Anatoliy TalamanovandZlobin Vladimir authored and GitHub committed 2023-11-03 09:57:04 +01:00
1 parent c20d52dc4f
commit f890bf7930
4 files changed
+17 -10

No files matched your search

@@ -75,7 +75,7 @@ Running
.. code-block:: sh
throughput_benchmark <path_to_model>
throughput_benchmark <path_to_model> <device_name>(default: CPU)
To run the sample, you need to specify a model:
@@ -72,7 +72,7 @@ Running
.. code-block:: sh
python throughput_benchmark.py <path_to_model>
python throughput_benchmark.py <path_to_model> <device_name>(default: CPU)
To run the sample, you need to specify a model: