Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

otTinnQ15MemoryInfo Struct Reference
[Neural Network - Neural network library]

Stable snapshot of Q15 runtime memory placement. More...

#include <otNeuralNetwork.h>


Data Fields

int ready
int policy
int mode
unsigned long totalBytes
unsigned long fastBytes
unsigned long normalBytes
unsigned long fast1Used
unsigned long fast2Used
unsigned long fast1Free
unsigned long fast2Free
int weightsBank
int inputBank
int hiddenBank
int outputBank


Detailed Description

The structure is intentionally a plain C++98-compatible POD so it can be logged, copied or transported by embedded applications without depending on STL types. Bank values are 0=normal, 1=FAST1 and 2=FAST2.

totalBytes is the payload required by the current topology even when prepareQ15() fails. fastBytes/normalBytes describe the successfully prepared runtime and are zero after a failed preparation.


Field Documentation

unsigned long otTinnQ15MemoryInfo.fast1Free
 

unsigned long otTinnQ15MemoryInfo.fast1Used
 

unsigned long otTinnQ15MemoryInfo.fast2Free
 

unsigned long otTinnQ15MemoryInfo.fast2Used
 

unsigned long otTinnQ15MemoryInfo.fastBytes
 

int otTinnQ15MemoryInfo.hiddenBank
 

int otTinnQ15MemoryInfo.inputBank
 

int otTinnQ15MemoryInfo.mode
 

unsigned long otTinnQ15MemoryInfo.normalBytes
 

int otTinnQ15MemoryInfo.outputBank
 

int otTinnQ15MemoryInfo.policy
 

int otTinnQ15MemoryInfo.ready
 

unsigned long otTinnQ15MemoryInfo.totalBytes
 

int otTinnQ15MemoryInfo.weightsBank
 


The documentation for this struct was generated from the following file: footer
otStudio - Library Reference - (C) 2020-25 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0