Struct NeuralNetworkProperties

Inheritance Relationships

Base Type

Struct Documentation

struct NeuralNetworkProperties : public dai::PropertiesSerializable<Properties, NeuralNetworkProperties>

Specify properties for NeuralNetwork such as blob path, …

Public Types

enum class ModelSource

Specify where the node should source the model

Values:

enumerator BLOB
enumerator CUSTOM_MODEL

Public Functions

~NeuralNetworkProperties() override

Public Members

ModelSource modelSource = ModelSource::BLOB
std::optional<std::uint32_t> blobSize

Blob binary size in bytes

std::string blobUri

Uri which points to blob

std::string modelUri

Uri which points to the model description

std::uint32_t numFrames = 8

Number of available output tensors in pool

std::uint32_t numThreads = 0

Number of threads to create for running inference. 0 = auto

std::uint32_t numNCEPerThread = 0

Number of NCE (Neural Compute Engine) per inference thread. 0 = auto

std::uint32_t numShavesPerThread = 0

Number of Shaves per inference thread. 0 = auto

std::string backend

Specify which backend is used. “” = auto

std::map<std::string, std::string> backendProperties

Specify backend properties