Struct OpenVINO::Blob

Nested Relationships

This struct is a nested type of Class OpenVINO.

Struct Documentation

struct Blob

OpenVINO Blob.

Public Functions

Blob(std::vector<uint8_t> data)

Construct a new Blob from data in memory.

Parameters:

data – In memory blob

Blob(const std::filesystem::path &path)

Construct a new Blob by loading from a filesystem path.

Parameters:

path – Filesystem path to the blob

Public Members

Version version

OpenVINO version.

Device device

Device for which the blob is compiled for.

std::unordered_map<std::string, TensorInfo> networkInputs

Map of input names to additional information.

std::unordered_map<std::string, TensorInfo> networkOutputs

Map of output names to additional information.

uint32_t stageCount = 0

Number of network stages.

uint32_t numShaves = 0

Number of shaves the blob was compiled for.

uint32_t numSlices = 0

Number of CMX slices the blob was compiled for.

std::vector<uint8_t> data

Blob data.