diff --git a/src/bindings/python/src/openvino/__init__.py b/src/bindings/python/src/openvino/__init__.py index bb846722db3bff..69c678909b1c9e 100644 --- a/src/bindings/python/src/openvino/__init__.py +++ b/src/bindings/python/src/openvino/__init__.py @@ -43,12 +43,13 @@ from openvino.runtime import Tensor from openvino.runtime import OVAny -from openvino.runtime import compile_model +# Helper functions for openvino module +from openvino.runtime.utils.data_helpers import tensor_from_file +from openvino._ov_api import compile_model from openvino.runtime import get_batch from openvino.runtime import set_batch from openvino.runtime import serialize from openvino.runtime import shutdown -from openvino.runtime import tensor_from_file from openvino.runtime import save_model from openvino.runtime import layout_helpers @@ -56,10 +57,6 @@ from openvino._pyopenvino import RemoteTensor from openvino._pyopenvino import Op -# Helper functions for openvino module -from openvino.runtime.utils.data_helpers import tensor_from_file -from openvino._ov_api import compile_model - # Import opsets from openvino import opset1 from openvino import opset2 diff --git a/src/bindings/python/src/openvino/runtime/ie_api/__init__.py b/src/bindings/python/src/openvino/runtime/ie_api/__init__.py index f7462cdbfdb9de..a861224b67eded 100644 --- a/src/bindings/python/src/openvino/runtime/ie_api/__init__.py +++ b/src/bindings/python/src/openvino/runtime/ie_api/__init__.py @@ -2,8 +2,6 @@ # Copyright (C) 2018-2024 Intel Corporation # SPDX-License-Identifier: Apache-2.0 -from openvino._ov_api import tensor_from_file - from openvino._ov_api import Core from openvino._ov_api import CompiledModel from openvino._ov_api import InferRequest diff --git a/tools/benchmark_tool/openvino/__init__.py b/tools/benchmark_tool/openvino/__init__.py index bb846722db3bff..69c678909b1c9e 100644 --- a/tools/benchmark_tool/openvino/__init__.py +++ b/tools/benchmark_tool/openvino/__init__.py @@ -43,12 +43,13 @@ from openvino.runtime import Tensor from openvino.runtime import OVAny -from openvino.runtime import compile_model +# Helper functions for openvino module +from openvino.runtime.utils.data_helpers import tensor_from_file +from openvino._ov_api import compile_model from openvino.runtime import get_batch from openvino.runtime import set_batch from openvino.runtime import serialize from openvino.runtime import shutdown -from openvino.runtime import tensor_from_file from openvino.runtime import save_model from openvino.runtime import layout_helpers @@ -56,10 +57,6 @@ from openvino._pyopenvino import RemoteTensor from openvino._pyopenvino import Op -# Helper functions for openvino module -from openvino.runtime.utils.data_helpers import tensor_from_file -from openvino._ov_api import compile_model - # Import opsets from openvino import opset1 from openvino import opset2 diff --git a/tools/ovc/openvino/__init__.py b/tools/ovc/openvino/__init__.py index bb846722db3bff..69c678909b1c9e 100644 --- a/tools/ovc/openvino/__init__.py +++ b/tools/ovc/openvino/__init__.py @@ -43,12 +43,13 @@ from openvino.runtime import Tensor from openvino.runtime import OVAny -from openvino.runtime import compile_model +# Helper functions for openvino module +from openvino.runtime.utils.data_helpers import tensor_from_file +from openvino._ov_api import compile_model from openvino.runtime import get_batch from openvino.runtime import set_batch from openvino.runtime import serialize from openvino.runtime import shutdown -from openvino.runtime import tensor_from_file from openvino.runtime import save_model from openvino.runtime import layout_helpers @@ -56,10 +57,6 @@ from openvino._pyopenvino import RemoteTensor from openvino._pyopenvino import Op -# Helper functions for openvino module -from openvino.runtime.utils.data_helpers import tensor_from_file -from openvino._ov_api import compile_model - # Import opsets from openvino import opset1 from openvino import opset2