Abstract

In this article, we propose a memristor-based ShuffleNetV2 for image classification. Because of the low power consumption and high integration, this circuit is suitable for edge computing. The memristor-based ShuffleNetV2 is divided into four kinds of units, and each unit is composed by a series of basic memristive neural circuits, such as memristive convolutional neural networks (MCNNs), memristive batch normalization (MBN) layers, memristive fully connection (MFC) layers, rectified linear unit (ReLU) layers, max-pooling layers, etc. To solve the imbalance of required memristor crossbars in MCNN and the huge power consumption of the input voltage inverting, the inverters are shifted behind the memristor crossbar.This circuit uses ( <i xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">M</i> +1)×2 memristor crossbars instead of the original (2 <i xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">M</i> +1)×1 memristor crossbars. The world lines of memristor crossbars required can be reduced from (2 <i xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">M</i> +1) to ( <i xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">M</i> +1). The number of inverters in MCNN for a kernel can be decreased to one, and the power consumption in MCNN is greatly decreased. The MBN is designed by combining operational amplifiers with memristors. An output limiter circuit is added behind the ReLU layer implemented by diode. The output voltage of the ReLU layer is limited to the threshold voltage V <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">p</sub> of memristor. The memristive ShuffleNetV2 is established for image classification in experiments. The effectiveness of the circuit is verified on the FER2013 dataset along with the analysis of the memristor resources, calculation periods, and circuit power consumption of the network. The experimental results show that this that the inference time of this memristive ShuffleNetV2 could be as less as 137 ns with a max power consumption 2.8 μW of a memristive neurons.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.