Class OpenVINO::SuperBlob

Nested Relationships

This class is a nested type of Class OpenVINO.

Nested Types

Class Documentation

class SuperBlob

A superblob is an efficient way of storing generated blobs for all different number of shaves.

Public Functions

SuperBlob(std::vector<uint8_t> data)

Construct a new SuperBlob object.

Parameters:

data – In memory superblob data

SuperBlob(const std::filesystem::path &pathToSuperBlobFile)

Construct a new SuperBlob object.

Parameters:

pathToSuperBlobFile – Path to the superblob file (.superblob suffix)

dai::OpenVINO::Blob getBlobWithNumShaves(int numShaves)

Generate a blob with a specific number of shaves.

Parameters:

numShaves – Number of shaves to generate the blob for. Must be between 1 and NUMBER_OF_PATCHES.

Returns:

dai::OpenVINO::Blob: Blob compiled for the specified number of shaves

Public Static Attributes

static constexpr size_t NUMBER_OF_PATCHES = 16

Number of patches in a superblob