Support for basic OpenVINO related actions like version identification of neural network blobs,... More...
#include <OpenVINO.hpp>
Classes | |
struct | Blob |
OpenVINO Blob. More... | |
Public Types | |
enum | Version { VERSION_2020_3, VERSION_2020_4, VERSION_2021_1, VERSION_2021_2, VERSION_2021_3, VERSION_2021_4, VERSION_2022_1, VERSION_UNIVERSAL } |
OpenVINO Version supported version information. More... | |
Static Public Member Functions | |
static bool | areVersionsBlobCompatible (Version v1, Version v2) |
static Version | getBlobLatestSupportedVersion (std::uint32_t majorVersion, std::uint32_t minorVersion) |
static std::vector< Version > | getBlobSupportedVersions (std::uint32_t majorVersion, std::uint32_t minorVersion) |
static Version | getBlobVersion (std::uint32_t majorVersion, std::uint32_t minorVersion) |
static std::string | getVersionName (Version version) |
static std::vector< Version > | getVersions () |
static Version | parseVersionName (const std::string &versionString) |
Static Public Attributes | |
constexpr static const Version | DEFAULT_VERSION = VERSION_2022_1 |
Main OpenVINO version. More... | |
Static Private Attributes | |
static const std::map< std::pair< std::uint32_t, std::uint32_t >, Version > | blobVersionToOpenvinoGuessMapping |
static const std::map< std::pair< std::uint32_t, std::uint32_t >, std::vector< Version > > | blobVersionToOpenvinoMapping |
Support for basic OpenVINO related actions like version identification of neural network blobs,...
Definition at line 17 of file OpenVINO.hpp.
OpenVINO Version supported version information.
Enumerator | |
---|---|
VERSION_2020_3 | |
VERSION_2020_4 | |
VERSION_2021_1 | |
VERSION_2021_2 | |
VERSION_2021_3 | |
VERSION_2021_4 | |
VERSION_2022_1 | |
VERSION_UNIVERSAL |
Definition at line 20 of file OpenVINO.hpp.
|
static |
Checks whether two blob versions are compatible
Definition at line 124 of file OpenVINO.cpp.
|
static |
Returns latest potentially supported version by a given blob version.
majorVersion | Major version from OpenVINO blob |
minorVersion | Minor version from OpenVINO blob |
Definition at line 118 of file OpenVINO.cpp.
|
static |
Returns a list of potentially supported versions for a specified blob major and minor versions.
majorVersion | Major version from OpenVINO blob |
minorVersion | Minor version from OpenVINO blob |
Definition at line 99 of file OpenVINO.cpp.
|
static |
Returns OpenVINO version of a given blob minor/major revision.
majorVersion | Major version from OpenVINO blob |
minorVersion | Minor version from OpenVINO blob |
Definition at line 110 of file OpenVINO.cpp.
|
static |
Returns string representation of a given version
version | OpenVINO version |
Definition at line 67 of file OpenVINO.cpp.
|
static |
Definition at line 57 of file OpenVINO.cpp.
|
static |
Creates Version from string representation. Throws if not possible.
versionString | Version as string |
Definition at line 89 of file OpenVINO.cpp.
|
staticprivate |
Definition at line 106 of file OpenVINO.hpp.
|
staticprivate |
Definition at line 107 of file OpenVINO.hpp.
|
staticconstexpr |
Main OpenVINO version.
Definition at line 54 of file OpenVINO.hpp.