Public Member Functions | Public Attributes | List of all members
dai::OpenVINO::Blob Struct Reference

OpenVINO Blob. More...

#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, TensorInfonetworkInputs
 Map of input names to additional information. More...
 
std::unordered_map< std::string, TensorInfonetworkOutputs
 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...
 

Detailed Description

OpenVINO Blob.

Definition at line 23 of file OpenVINO.hpp.

Constructor & Destructor Documentation

◆ Blob() [1/2]

dai::OpenVINO::Blob::Blob ( std::vector< uint8_t >  data)

Construct a new Blob from data in memory.

Parameters
dataIn memory blob

Definition at line 171 of file OpenVINO.cpp.

◆ Blob() [2/2]

dai::OpenVINO::Blob::Blob ( const dai::Path path)

Construct a new Blob by loading from a filesystem path.

Parameters
pathFilesystem path to the blob

Definition at line 175 of file OpenVINO.cpp.

Member Data Documentation

◆ data

std::vector<uint8_t> dai::OpenVINO::Blob::data

Blob data.

Definition at line 50 of file OpenVINO.hpp.

◆ networkInputs

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.

◆ networkOutputs

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.

◆ numShaves

uint32_t dai::OpenVINO::Blob::numShaves = 0

Number of shaves the blob was compiled for.

Definition at line 46 of file OpenVINO.hpp.

◆ numSlices

uint32_t dai::OpenVINO::Blob::numSlices = 0

Number of CMX slices the blob was compiled for.

Definition at line 48 of file OpenVINO.hpp.

◆ stageCount

uint32_t dai::OpenVINO::Blob::stageCount = 0

Number of network stages.

Definition at line 44 of file OpenVINO.hpp.

◆ version

Version dai::OpenVINO::Blob::version

OpenVINO version.

Definition at line 38 of file OpenVINO.hpp.


The documentation for this struct was generated from the following files:


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20