openvino.runtime.compile_model¶
- openvino.runtime.compile_model(model_path: Union[str, pathlib.Path]) openvino.runtime.ie_api.CompiledModel ¶
Compact method to compile model with AUTO plugin.
- Parameters
model_path (str, pathlib.Path) – Path to file with model.
- Returns
A compiled model
- Return type