Difference: AnalysisCcTest (1 vs. 2)

Revision 22023-09-08 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="CExamples"

A detailed Analysis of the hello_world_test.cc program

Line: 12 to 12
 tensorflow/lite/micro/examples/hello_world/modules/hello_world_int8_model_data.h

are the models created with train.py and converted to a C++ array with xxd.

Added:
>
>
tensorflow/lite/micro/micro_interpreter.h

The Tensorflow Lite Micro interpreter, which will run the model

tensorflow/lite/micro/micro_log.h

Used for error logging. Defines MicroPrintf used to print logging information

  -- Uli Raich - 2023-09-08

Revision 12023-09-08 - UliRaich

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

A detailed Analysis of the hello_world_test.cc program

Below the license header the program has a number of include directives giving access to the tflite micro library as well as a number of macros.

hello_world_test_include.png

tensorflow/lite/core/c/common.h:

defines the macro TF_LITE_ENSURE_STATUS as well as a number of data structures and it gives access to core functtionality of the tflite core library.

tensorflow/lite/micro/examples/hello_world/models/hello_world_float_model_data.h and 
tensorflow/lite/micro/examples/hello_world/modules/hello_world_int8_model_data.h

are the models created with train.py and converted to a C++ array with xxd.

-- Uli Raich - 2023-09-08

Comments


<--/commentPlugin-->

META FILEATTACHMENT attachment="hello_world_test_include.png" attr="" comment="" date="1694161681" name="hello_world_test_include.png" path="hello_world_test_include.png" size="52455" 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