USING TENSORFLOW ECOSYSTEM OF TOOLS FOR IMPLEMENTING NEURAL NETWORKS ON CYPRESS SEMICONDUCTOR MICROCONTROLERS
Abstract
Today, a lot of difficult tasks require the implementation of neural network methods. According to the definition, neural networks are used to recognize the correlation between input and output data, that cannot be easily formalized by a programmer. For example, the programmer cannot formalize basic relationships between image pixels and recognizable items on the picture. In this case, the traditional programming paradigm is replaced by machine learning.
The problem of using neural networks on difficult tasks is a large amount of data. Also, the process of using neural networks requires a lot of floating-point operations. Usually, a neural network task requires a real-time response, and for this reason, neural networks use cloud services. Cloud services get input data from an IoT peripheral, process it, and send the response of output data back to an IoT peripheral. Such a way of neural network usage organization with IoT peripherals has some disadvantages. For instance, an IoT peripheral should have a connection to a network, personal user data can be stolen due to transporting, cloud service should be powerful and has a multithreading module for real-time response to a large number of the devices at the same time.
An alternative method of using neural networks on IoT peripherals is quantization. Quantization is a technique that reduces the size of neural network weight by converting it to a smaller data type. Using integer quantized values boosts the speed of calculation and reduces the size of the whole neural network. This method avoids a connection to a powerful cloud service, so personal data do not leave an IoT peripheral and cannot be stolen.
Key words: neural networks, quantization, machine learning, neural networks on IoT peripherals and microcontrollers.
Full Text:
PDF (Українська)References
TensorFlow Guide [Електронний ресурс] – Режим доступу: https://www.tensorflow.org/guide - 30.09.2020
Post-training quantization [Електронний ресурс] – Режим доступу: https://www.tensorflow.org/lite/performance/post_training_quantization - 11.11.2020
Karpin O. Method of Neural Network Training with Integer Weights / O. Karpin, V. Mandziy, Z. Liubun, V. Rabyk // Proceedings of the XIth International Scientific and Practical Conference "Electronics and Information Technologies" (ELIT - 2019), September 16 – 18, 2019, Lviv, Ukraine. P. 168 – 172. doi: 10.1109/ELIT.2019.8893349 .
CY8CKIT-062-WiFi-BT PSoC® 6 Wi-Fi Pioneer Kit Guide [Електронний ресурс]
Документація Cypress Semiconductor щодо мікроконтролера PSoC 6 6 Wi-Fi Pioneer Kit – Режим доступу: https://www.cypress.com/file/407731/download – 30.09.2020 р.
DOI: http://dx.doi.org/10.30970/eli.14.4
Refbacks
- There are currently no refbacks.