From 22e02e60f883b7ebb485beded6d615be8bd5ec0a Mon Sep 17 00:00:00 2001 From: Anastasia Kuporosova Date: Tue, 12 Sep 2023 09:34:41 +0000 Subject: [PATCH] add property execution devices --- docs/snippets/ov_auto.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/snippets/ov_auto.py b/docs/snippets/ov_auto.py index f1551786808c01..e0dc58587a4df9 100644 --- a/docs/snippets/ov_auto.py +++ b/docs/snippets/ov_auto.py @@ -172,7 +172,6 @@ def part6(): #! [part6] -# TODO: missing EXECUTION_DEVICES property in Python API def part7(): #! [part7] core = ov.Core() @@ -180,7 +179,7 @@ def part7(): # compile a model on AUTO and set log level to debug compiled_model = core.compile_model(model=model, device_name="AUTO") # query the runtime target devices on which the inferences are being executed - execution_devices = compiled_model.get_property("EXECUTION_DEVICES") + execution_devices = compiled_model.get_property(ov.properties.execution_devices()) #! [part7]