Submitted by ramv0001 t3_10vyytq in MachineLearning
I would like to know what are some of the best practice is to convert pytorch to embedded C (bare metal micro-controllers) during A. initial phase and B. for deployment.
A. Initial phase is to understand the profiling of the model performance (RAM usage and processing time) for a targetted hardware.
I understand that Tensorflow lite might be the best route for initial profiling but there are restrictions. It will be great if you could tell the framework that you follow. Currently framework: 1. Pytorch -> 2. ONNX -> 3. Keras -> 4. Tensorflowlite or 5. Tensorflowlite micro
B. Deployment is to run inference for production in a targetted hardware. I think hand coding in C is the best way.
Please ignore optimisation techniques in the workflow for simplicity.
gosnold t1_j7l8que wrote
Look up NNOM