Home
last modified time | relevance | path

Searched refs:model_input (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/
Dmain_functions.cpp33 TfLiteTensor *model_input = nullptr; variable
80 model_input = interpreter->input(0); in setup()
81 if ((model_input->dims->size != 4) || (model_input->dims->data[0] != 1) || in setup()
82 (model_input->dims->data[1] != 128) || in setup()
83 (model_input->dims->data[2] != kChannelNumber) || in setup()
84 (model_input->type != kTfLiteFloat32)) { in setup()
89 input_length = model_input->bytes / sizeof(float); in setup()
101 ReadAccelerometer(model_input->data.f, input_length); in loop()