.. _ModelSDK: ModelSDK ######## .. grid:: 1 :gutter: 1 .. grid-item-card:: The ModelSDK is an integral part of the Palette software. It is used to convert trained floating-point models created by one of the supported ML Frameworks into a SiMa.ai proprietary format that can be executed on an MLSoC device as part of a complete embedded vision pipeline. The main functions of the ModelSDK are: * Loading a floating-point model from one of the supported frameworks and formats - (PyTorch, Keras HDF5, TensorFlow1, ONNX, and TFLite). * Quantizing the floating-point model into an 8-bit integer (int8) format or a 16-bit (int16) format. * Evaluating the quantized model. * Compiling the quantized model into an inference model that can be executed on an MLSoC device. .. image:: media/ModelSDK.png :scale: 25% :align: center .. grid:: 1 1 1 1 :gutter: 1 .. grid-item-card:: :ref:`Model Loading` How to load a floating-point model and the required parameters. .. grid-item-card:: :ref:`Model Quantization` How to import and quantize a trained model. .. grid-item-card:: :ref:`Model Compilation` How to convert a quantized model into a binary format that can be executed on the MLSoC device. .. toctree:: :maxdepth: 2 :hidden: modelsdk/load_model.rst modelsdk/quantize.rst modelsdk/compilation.rst