Developer World
Spresense Arduino Library v3.2.0-77d75a4
DNNVariable Class Reference

Public Member Functions

 DNNVariable (unsigned int size)
 
unsigned int size ()
 
const float & operator[] (unsigned int index) const
 
float * data ()
 
int maxIndex ()
 

Friends

class DNNRT
 

Member Function Documentation

◆ size()

unsigned int DNNVariable::size ( )
inline

Return size of data array in elements

Returns
Data array size

◆ data()

float * DNNVariable::data ( )
inline

Return data array pointer

This function uses create input data from any target data (image, sensing data, etc...)

Returns
Pointer to data array in float

◆ maxIndex()

int DNNVariable::maxIndex ( )

Return array index to the elements in maximum value

Returns
Array index

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