Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Kazantsev <[email protected]>
  • Loading branch information
mvafin and rkazants authored Jan 18, 2023
1 parent 13d6093 commit a111b66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ ie_dependent_option (ENABLE_CPU_DEBUG_CAPS "enable CPU debug capabilities at run
find_host_package(PythonInterp 3 QUIET)
ie_option(ENABLE_OV_ONNX_FRONTEND "Enable ONNX FrontEnd" ${PYTHONINTERP_FOUND})
ie_option(ENABLE_OV_PADDLE_FRONTEND "Enable PaddlePaddle FrontEnd" ON)
ie_option(ENABLE_OV_PYTORCH_FRONTEND "Enable PyTorch/TorchScript FrontEnd" ON)
ie_option(ENABLE_OV_PYTORCH_FRONTEND "Enable PyTorch FrontEnd" ON)
ie_option(ENABLE_OV_TF_FRONTEND "Enable TensorFlow FrontEnd" ON)
ie_dependent_option(ENABLE_SYSTEM_PROTOBUF "Use system protobuf" OFF
"ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_TF_FRONTEND;BUILD_SHARED_LIBS" OFF)
Expand Down
7 changes: 3 additions & 4 deletions src/bindings/python/src/pyopenvino/utils/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@
#include "openvino/core/any.hpp"
#include "openvino/core/type/element_type.hpp"
#include "openvino/runtime/properties.hpp"
#include "openvino/frontend/decoder.hpp"

namespace py = pybind11;

namespace Common {
namespace utils {
py::object from_ov_any(const ov::Any& any);
py::object from_ov_any(const ov::Any& any);

std::map<std::string, ov::Any> properties_to_any_map(const std::map<std::string, py::object>& properties);
std::map<std::string, ov::Any> properties_to_any_map(const std::map<std::string, py::object>& properties);

std::string convert_path_to_string(const py::object& path);
std::string convert_path_to_string(const py::object& path);

void deprecation_warning(const std::string& function_name, const std::string& version = std::string(), const std::string& message = std::string());

Expand Down

0 comments on commit a111b66

Please sign in to comment.