#include <OpenVINO.hpp>
Public Member Functions | |
Blob (const dai::Path &path) | |
Construct a new Blob by loading from a filesystem path. More... | |
Blob (std::vector< uint8_t > data) | |
Construct a new Blob from data in memory. More... | |
Public Attributes | |
std::vector< uint8_t > | data |
Blob data. More... | |
std::unordered_map< std::string, TensorInfo > | networkInputs |
Map of input names to additional information. More... | |
std::unordered_map< std::string, TensorInfo > | networkOutputs |
Map of output names to additional information. More... | |
uint32_t | numShaves = 0 |
Number of shaves the blob was compiled for. More... | |
uint32_t | numSlices = 0 |
Number of CMX slices the blob was compiled for. More... | |
uint32_t | stageCount = 0 |
Number of network stages. More... | |
Version | version |
OpenVINO version. More... | |
Definition at line 23 of file OpenVINO.hpp.
dai::OpenVINO::Blob::Blob | ( | std::vector< uint8_t > | data | ) |
Construct a new Blob from data in memory.
data | In memory blob |
Definition at line 171 of file OpenVINO.cpp.
dai::OpenVINO::Blob::Blob | ( | const dai::Path & | path | ) |
Construct a new Blob by loading from a filesystem path.
path | Filesystem path to the blob |
Definition at line 175 of file OpenVINO.cpp.
std::vector<uint8_t> dai::OpenVINO::Blob::data |
Blob data.
Definition at line 50 of file OpenVINO.hpp.
std::unordered_map<std::string, TensorInfo> dai::OpenVINO::Blob::networkInputs |
Map of input names to additional information.
Definition at line 40 of file OpenVINO.hpp.
std::unordered_map<std::string, TensorInfo> dai::OpenVINO::Blob::networkOutputs |
Map of output names to additional information.
Definition at line 42 of file OpenVINO.hpp.
uint32_t dai::OpenVINO::Blob::numShaves = 0 |
Number of shaves the blob was compiled for.
Definition at line 46 of file OpenVINO.hpp.
uint32_t dai::OpenVINO::Blob::numSlices = 0 |
Number of CMX slices the blob was compiled for.
Definition at line 48 of file OpenVINO.hpp.
uint32_t dai::OpenVINO::Blob::stageCount = 0 |
Number of network stages.
Definition at line 44 of file OpenVINO.hpp.
Version dai::OpenVINO::Blob::version |
OpenVINO version.
Definition at line 38 of file OpenVINO.hpp.