[Python API] Remove extra version info from get_version (#9645)
This commit is contained in:
parent
ec0dd6051a
commit
2944f39bac
@ -59,10 +59,7 @@ namespace py = pybind11;
|
|||||||
|
|
||||||
std::string get_version() {
|
std::string get_version() {
|
||||||
auto version = ov::get_openvino_version();
|
auto version = ov::get_openvino_version();
|
||||||
std::string version_str = std::to_string(OPENVINO_VERSION_MAJOR) + ".";
|
return version.buildNumber;
|
||||||
version_str += std::to_string(OPENVINO_VERSION_MINOR) + ".";
|
|
||||||
version_str += version.buildNumber;
|
|
||||||
return version_str;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PYBIND11_MODULE(pyopenvino, m) {
|
PYBIND11_MODULE(pyopenvino, m) {
|
||||||
|
Loading…
Reference in New Issue
Block a user