This is my personal repository to test test TinyML Applications.
- This branch model: Value Comparator
- Plataform used: ESP32 | PlatformIO
- Current status: Working!
The modeling process can be found on TinyML_Example_Model.
This is a basic example following the steps given by atomic14.
Important note: In this example I used the recommended NeuralNetwork Class definitions:
class NeuralNetwork
{
private:
tflite::MicroMutableOpResolver<10> *resolver;
tflite::ErrorReporter *error_reporter;
const tflite::Model *model;
tflite::MicroInterpreter *interpreter;
TfLiteTensor *input;
TfLiteTensor *output;
uint8_t *tensor_arena;
public:
float *getInputBuffer();
NeuralNetwork();
float predict();
};