[Docs] fix failure of python snippet (#20516)
* [Docs] fix failure of python snippet * trigger python snippets * fix ga * Update .github/workflows/linux.yml Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com> * Update .github/workflows/linux.yml Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com> * return back fix --------- Co-authored-by: Chen Peter <peter.chen@intel.com> Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
This commit is contained in:
co-authored by
Mikhail Ryzhov
Chen Peter
parent
f2549f2d59
commit
491454103e
@@ -8,7 +8,6 @@ import openvino.properties as properties
|
||||
import openvino.properties.device as device
|
||||
import openvino.properties.hint as hints
|
||||
import openvino.properties.streams as streams
|
||||
import openvino.properties.enable_profiling as enable_profiling
|
||||
#! [py_ov_property_import_header]
|
||||
import openvino.properties.log as log
|
||||
|
||||
@@ -167,7 +166,7 @@ def part5():
|
||||
cpu_config = {
|
||||
hints.performance_mode: hints.PerformanceMode.LATENCY,
|
||||
streams.num: 8,
|
||||
enable_profiling: True
|
||||
properties.enable_profiling: True
|
||||
}
|
||||
compiled_model = core.compile_model(
|
||||
model=model,
|
||||
|
||||
Reference in New Issue
Block a user