OpenVINO 2022.1 introduces a new version of OpenVINO API (API 2.0). For more information on the changes and transition steps, see the transition guide
openvino.runtime.
compile_model
Compact method to compile model with AUTO plugin.
model_path (str) – Path to file with model.
A compiled model.
openvino.runtime.CompiledModel