|
||||||||||
|
DOI: 10.17587/it.25.747-756 R. A. Solovyev, Ph.D., Chief Researcher, e-mail: turbo@ippm.ru, D. V. Telpukhov, Ph.D., Head of the Department, A. G. Kustov, Engineer, T. U. Isaeva, Ph.D., Researcher, A. A. Volkov, Engineer, Institute for Design Problems in Microelectronics The article proposes to use the methods of modular arithmetic for the implementation of neural networks at the hardware level in VLSI and FPGAs. Widely known mobile neural networks that are highly accurate and suitable for implementation in hardware are considered. The main difficulties in their implementation in the basis of modular arithmetic, namely the rounding operation and the comparison operation, are examined and analyzed. A number of methods have been proposed to solve these problems, such as using convolutions with stride greater than 1 instead of MaxPooling layers, using non-standard activations containing only addition, subtraction and multiplication operations, as well as an efficient algorithm for implementing rounding operations. Additionally, a complete route for designing and transferring a MobileNet neural network to the hardware level in a modular basis is proposed. |