Corecompile_model(String, DictionaryString, String) Method
Reads and loads a compiled model from the IR/ONNX/PDPD file to the default OpenVINO device selected by the AUTO plugin.
Namespace: OpenVinoSharpAssembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
public CompiledModel compile_model(
string model_path,
Dictionary<string, string> properties = null
)
- model_path String
- Path to a model.
- properties DictionaryString, String (Optional)
- Optional map of pairs: (property name, property value) relevant only for this load operation.
CompiledModel A compiled model.
This can be more efficient than using the Core::read_model + Core::compile_model(model_in_memory_object) flow,
especially for cases when caching is enabled and a cached model is availab