openvino/samples/cpp/benchmark_app
Nikolay Shchegolev 77f69957b1
[CPU][GPU] Mismatch tensor and port types: i64 vs i32 (#23859)
HETERO plugin ('HETERO:GPU,CPU') raises an error [GPU] Mismatch tensor
and port types: i64 vs i32

### Details:
 - *Do not convert Result element type after Extension if required;*
- *Eliminate converts after the second call of the ConvertPrecisoin
pass;*
 - *Support string input in the `benchmark_app`*.


### Tickets:
 - *136752*
2024-04-18 07:18:15 +00:00
..
CMakeLists.txt copyright year update (#23370) 2024-03-14 09:37:02 +00:00
README.md [DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for master (#23091) 2024-02-28 07:54:04 +00:00
benchmark_app.hpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
infer_request_wrap.hpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
inputs_filling.cpp [CPU][GPU] Mismatch tensor and port types: i64 vs i32 (#23859) 2024-04-18 07:18:15 +00:00
inputs_filling.hpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
main.cpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
remote_tensors_filling.cpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
remote_tensors_filling.hpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
statistics_report.cpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
statistics_report.hpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
utils.cpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
utils.hpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00

README.md

Benchmark C++ Tool

This page demonstrates how to use the Benchmark C++ Tool to estimate deep learning inference performance on supported devices.

NOTE: This page describes usage of the C++ implementation of the Benchmark Tool. For the Python implementation, refer to the Benchmark Python Tool page. The Python version is recommended for benchmarking models that will be used in Python applications, and the C++ version is recommended for benchmarking models that will be used in C++ applications. Both tools have a similar command interface and backend.

For more detailed information on how this sample works, check the dedicated article

Requriements

To use the C++ benchmark_app, you must first build it following the Build the Sample Applications instructions and then set up paths and environment variables by following the Get Ready for Running the Sample Applications instructions. Navigate to the directory where the benchmark_app C++ sample binary was built.

NOTE: If you installed OpenVINO Runtime using PyPI or Anaconda Cloud, only the Benchmark Python Tool is available, and you should follow the usage instructions on that page instead.

The benchmarking application works with models in the OpenVINO IR, TensorFlow, TensorFlow Lite, PaddlePaddle, PyTorch and ONNX formats. If you need it, OpenVINO also allows you to convert your models.