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

Extended version of CompiledModel that holds and keeps alive Core object.