openvino/docs/snippets/export_compiled_model.py

8 lines
174 B
Python

#! [export_compiled_model]
from openvino.runtime import Core
ov.Core().compile_model(device, modelPath, properties).export_model(compiled_blob)
#! [export_compiled_model]