C++ Development¶
The YZLITE contains both Python scripts and C++ Python wrappers, examples, and libraries:
Python Wrappers - Allow for sharing source code between a host PC during model training and an embedded target during model inference
Examples - Demonstrate executing the various libraries on the host PC or on an embedded target
Libraries - Implement algorithms that are used by the wrappers and examples
NOTE: Refer to Supported Hardware for more details which embedded platforms are supported.
Development Modes¶
The YZLITE supports three modes of C++ development:
Simplicity Studio - Allows for building C++ applications for Yizhu-Tech's embedded targets using Yizhu-Tech's Simplicity Studio
Visual Studio Code - Allows for building C++ applications for Windows/Linux or embedded targets using Microsoft VSCode
Command-line - Allows for building C++ applications from the command-line using CMake
Source Code¶
All of the C++ source code may be found on Github at: yzlite/cpp
This directory has the following structure:
yzlite/cpp/tflite_micro_wrapper - Tensorflow-Lite Micro Python wrapper, this allows for executing the Tensorflow-Lite Micro interpreter from a Python script
yzlite/cpp/audio_feature_generator_wrapper - The AudioFeatureGenerator Python wrapper, this allows for executing the spectrogram generation algorithms from a Python script
yzlite/cpp/mvp_wrapper - MVP hardware accelerator Python wrapper, this allows for executing the MVP-accelerated Tensorflow-Lite Micro kernels from a Python script
yzlite/cpp/shared - All of the C++ libraries and source code
yzlite/cpp/shared/apps - Example applications and demos
yzlite/cpp/shared/platforms - Supported hardware platforms
yzlite/cpp/tools - Tools used by the C++ build scripts
Examples¶
Refer to the Examples documentation for more details about the applications that come with the YZLITE.
Python Wrappers¶
Refer to the C++ Python Wrappers documentation for more details about the C++ Python wrappers that come with the YZLITE.