Difference: Hello_worldTflite-microVersion ( vs. 1)

Revision 12023-12-18 - UliRaich

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TheHelloWorld"

The Hello World example as provided by the tflite-micro repository

The TensorFlowLite-Micro repository provides the code

  • creating the hello world neural network model
  • creating input tensors with x and sin(x) values used to train the model
  • converting the model to tflite flatbuffer format and quantizing it to int8_t numbers
    The quantized mode can be read from a file in case of the MicroPython version of the hello world example. The Arduino SDK does not use a file system and the quantized model is therefore converted into C++ code included into the source code of the Arduino hello world version.
  • testing the model with input tensor values 0..2π

-- Uli Raich - 2023-12-18

Comments

<--/commentPlugin-->

META FILEATTACHMENT attachment="hello_world_test_include.png" attr="" comment="" date="1702915250" name="hello_world_test_include.png" path="hello_world_test_include.png" size="52455" user="UliRaich" version="1"
META FILEATTACHMENT attachment="hello_world_test_run.png" attr="" comment="" date="1702915257" name="hello_world_test_run.png" path="hello_world_test_run.png" size="156067" user="UliRaich" version="1"
META FILEATTACHMENT attachment="tflite_examples_arduino.png" attr="" comment="" date="1702915264" name="tflite_examples_arduino.png" path="tflite_examples_arduino.png" size="183028" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback