Change device order in MULTI python snippet (#15057)

This commit is contained in:
Julio Morero 2023-01-12 13:27:58 -03:00 committed by GitHub
parent 413a461be4
commit ee58a7aa38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ def MULTI_0():
# Option 2
# Specify the devices to be used by MULTI explicitly at compilation.
# The following lines are equivalent:
compiled_model = core.compile_model(model=model, device_name="MULTI:CPU,GPU")
compiled_model = core.compile_model(model=model, device_name="MULTI:GPU,CPU")
compiled_model = core.compile_model(model=model, device_name="MULTI", config={"MULTI_DEVICE_PRIORITIES": "GPU,CPU"})
#! [MULTI_0]