Memristor memory neural network training method aiming at memristor error
A technology of neural network training and memristor, applied in neural learning methods, biological neural network models, static memory, etc., can solve the problems of neural network weight deviation, accuracy drop, deviation, etc., to ensure accuracy and accuracy Enhanced effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0065] Example 1: Without loss of generality, build a multi-layer Bayesian convolutional neural network BLeNet and data and an example of MNIST, using python+Pytorch as the software platform of this example.
[0066] The multi-layer Bayesian convolutional neural network BLeNet involved in this example is based on a classic convolutional neural network LeNet. Its structure includes two convolutional layers, two pooling layers and three fully connected layers. The parameters of each layer as follows:
[0067] Convolutional layer Conv1: has 6 convolution kernels of 5*5*1, the input size is 32*32*1 original data set image, and the output size is 28*28*6 feature map;
[0068] Pooling layer P2: Output feature map of 14*14*6, each unit of output feature map is connected to 4 units in a 2*2 neighborhood of the input feature map, whose value is its The values of the corresponding 4 units are averaged;
[0069] Convolution layer Conv3: has 16 convolution kernels of 5*5*6, the input ...
example 2
[0102] Example 2: According to the method similar to Example 1, the Bayesian convolutional neural network BAlexNet is constructed based on the convolutional neural network AlexNet, and the modeling results of process error and dynamic error are used to provide a priori for BAlexNet, using CIFAR-10 and CIFAR-100 data set, Bayesian neural network training, the mean value of the weight posterior distribution obtained from training is used as the weight of the neural network based on the memristor memory, the inference accuracy is tested, and the relative decline factor of the inference accuracy is calculated , compared with the data obtained by the traditional training method, the comparison results are shown in Table 1, which shows that for the complex large-scale neural network model, the application of the present invention for training can also maintain a low The accuracy rate drops, and the optimization effect is obvious compared with the traditional method.
[0103] Table ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com