Public Attributes | List of all members
dai::NeuralNetworkProperties Struct Reference

#include <NeuralNetworkProperties.hpp>

Inheritance diagram for dai::NeuralNetworkProperties:
Inheritance graph
[legend]

Public Attributes

tl::optional< std::uint32_t > blobSize
 
std::string blobUri
 
std::uint32_t numFrames = 8
 
std::uint32_t numNCEPerThread = 0
 
std::uint32_t numThreads = 0
 

Additional Inherited Members

- Public Member Functions inherited from dai::PropertiesSerializable< Properties, NeuralNetworkProperties >
virtual std::unique_ptr< Propertiesclone () const override
 
virtual void serialize (std::vector< std::uint8_t > &data, SerializationType type=SerializationType::LIBNOP) const override
 
- Public Member Functions inherited from dai::Properties
virtual std::unique_ptr< Propertiesclone () const =0
 
virtual ~Properties ()=default
 

Detailed Description

Specify properties for NeuralNetwork such as blob path, ...

Definition at line 11 of file NeuralNetworkProperties.hpp.

Member Data Documentation

◆ blobSize

tl::optional<std::uint32_t> dai::NeuralNetworkProperties::blobSize

Blob binary size in bytes

Definition at line 15 of file NeuralNetworkProperties.hpp.

◆ blobUri

std::string dai::NeuralNetworkProperties::blobUri

Uri which points to blob

Definition at line 19 of file NeuralNetworkProperties.hpp.

◆ numFrames

std::uint32_t dai::NeuralNetworkProperties::numFrames = 8

Number of available output tensors in pool

Definition at line 23 of file NeuralNetworkProperties.hpp.

◆ numNCEPerThread

std::uint32_t dai::NeuralNetworkProperties::numNCEPerThread = 0

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

Definition at line 31 of file NeuralNetworkProperties.hpp.

◆ numThreads

std::uint32_t dai::NeuralNetworkProperties::numThreads = 0

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

Definition at line 27 of file NeuralNetworkProperties.hpp.


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


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