M
M
Mr Stark2017-02-02 23:34:34
Python
Mr Stark, 2017-02-02 23:34:34

Integration of Python into C / C ++ for writing a neural network and subsequent embedding in microcontrollers?

Has anyone had this experience or can you tell me where to find the necessary information. At the moment I know at the level of the average C and Python, but I'm learning to write a neural network a little. I would like to apply all this in robotics

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Skusnov, 2017-02-03
@follia777

If you switch to MatLab, then there are also neural networks and (in Simulink) embedded coder that allows you to translate code into C / C ++ for different processors. Another option: translate Matlab functions into dll (built-in tool) and run on the target system by installing Matlab Runtime (free).

A
aol-nnov, 2017-02-03
@aol-nnov

for starters, the porridge from the head must be moved to a more suitable place.
then understand that the microcontroller is a device with limited resources, and sometimes a limited set of commands.
a prototype written in fat python on an eight-core contuper will have to be *ported* to a dialect of the C language, which will be understandable to the compiler that assembles the object code for the microcontroller, along the way thinking how many kilobytes of memory will be at your disposal on the target platform.

S
Stanislav Makarov, 2017-02-03
@Nipheris

https://docs.python.org/3.6/extending/extending.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question