Skip to content

Struct ns_model_state_t

ClassList > ns_model_state_t

Public Attributes

Type Name
uint8_t * arena
Tensor Arena.
uint32_t arena_size
Size of tensor arena, in bytes.
uint32_t computed_arena_size
tflite::ErrorReporter * error_reporter
Error reporter, initialized during init.
tflite::MicroInterpreter * interpreter
Interpreter, initialized during init.
void * mac_estimate
const tflite::Model * model
Model structure, initialized during init.
const unsigned char * model_array
TfLiteTensor * model_input
Input tensors, initialized during init.
TfLiteTensor * model_output
Output tensors, initialized during init.
uint32_t numInputTensors
Number of input tensors.
uint32_t numOutputTensors
Number of output tensors.
tflite::MicroProfiler * profiler
Profiler, initialized during init.
ns_model_runtime_e runtime
Future use.
uint8_t * rv_arena
ResourceVariable Arena.
uint32_t rv_arena_size
Size of RV arena, in bytes.
uint32_t rv_count
Number of resource variables.
ns_model_states_e state
void * tickTimer

Public Attributes Documentation

variable arena

uint8_t* ns_model_state_t::arena;

variable arena_size

uint32_t ns_model_state_t::arena_size;

variable computed_arena_size

uint32_t ns_model_state_t::computed_arena_size;

variable error_reporter

tflite::ErrorReporter* ns_model_state_t::error_reporter;

variable interpreter

tflite::MicroInterpreter* ns_model_state_t::interpreter;

variable mac_estimate

void* ns_model_state_t::mac_estimate;

variable model

const tflite::Model* ns_model_state_t::model;

variable model_array

const unsigned char* ns_model_state_t::model_array;

variable model_input

TfLiteTensor* ns_model_state_t::model_input[NS_MAX_INPUT_TENSORS];

variable model_output

TfLiteTensor* ns_model_state_t::model_output[NS_MAX_OUTPUT_TENSORS];

variable numInputTensors

uint32_t ns_model_state_t::numInputTensors;

variable numOutputTensors

uint32_t ns_model_state_t::numOutputTensors;

variable profiler

tflite::MicroProfiler* ns_model_state_t::profiler;

variable runtime

ns_model_runtime_e ns_model_state_t::runtime;

variable rv_arena

uint8_t* ns_model_state_t::rv_arena;

variable rv_arena_size

uint32_t ns_model_state_t::rv_arena_size;

variable rv_count

uint32_t ns_model_state_t::rv_count;

variable state

ns_model_states_e ns_model_state_t::state;

variable tickTimer

void* ns_model_state_t::tickTimer;

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-model/includes-api/ns_model.h