openvino.runtime.compile_model

openvino.runtime.compile_model(model_path: str) → openvino.runtime.ie_api.CompiledModel

Compact method to compile model with AUTO plugin.

Parameters

model_path (str) – Path to file with model.

Returns

A compiled model.

Return type

openvino.runtime.CompiledModel