Neural network calculation method, electronic equipment and computer readable medium

A neural network and multiplication technology, applied in the field of neural network computing, can solve problems such as high computational overhead, large memory space for weight matrix, and access bandwidth computing resources, etc., to reduce the amount of calculation, reduce memory space and access bandwidth, reduce The effect of computational overhead

Pending Publication Date: 2022-06-21
LYNXI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Therefore, the calculation of the weight matrix needs to occupy a large memory space, access bandwidth, computing resources, etc., resulting in a large computational overhead

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Neural network calculation method, electronic equipment and computer readable medium
  • Neural network calculation method, electronic equipment and computer readable medium
  • Neural network calculation method, electronic equipment and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order for those skilled in the art to better understand the technical solutions of the present disclosure, exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, and they should be considered to be exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

[0042] Various embodiments of the present disclosure and various features of the embodiments may be combined with each other without conflict.

[0043] As used herein, the term "and / or" includes any and all combinations of one or more of the associated...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a neural network calculation method, which comprises the following steps of: dividing a weight matrix into a plurality of groups, and respectively storing non-zero weights in each group in corresponding memory slices; wherein the weight matrix is a connection weight matrix of neurons; each group comprises a plurality of consecutive columns of a weight matrix; the memory pieces are in one-to-one correspondence with the groups, and the values and the positions of non-zero weights are stored in the memory pieces; repeatedly carrying out the following multiplication operations: respectively inputting the values of the non-zero weights in the memory slices into the corresponding multipliers, and respectively inputting corresponding data in the input data into the multipliers; and shifting the multiplication result output by each multiplier in each multiplication operation according to the position of the corresponding non-zero weight, and accumulating the shifted multiplication results at the same position to calculate output data. The invention further provides electronic equipment and a computer readable medium.

Description

technical field [0001] The present disclosure relates to the technical field of neural networks, and in particular, to a neural network computing method, electronic device, and computer-readable medium. Background technique [0002] In the process of using the neural network, the calculation of the weight matrix occupies a large amount of calculation. For example, in the spiking neural network based on the LIF (Leaky Integrity-and-Fire) model, the calculation of the synaptic integral of the weight matrix is ​​the main load. [0003] Therefore, the calculation of the weight matrix needs to occupy a large memory space, access bandwidth, computing resources, etc., resulting in a large computational cost. SUMMARY OF THE INVENTION [0004] The present disclosure provides a neural network computing method, electronic device, and computer-readable medium. [0005] In a first aspect, an embodiment of the present disclosure provides a neural network computing method, which includ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06N3/04G06N3/08
CPCG06N3/049G06N3/08G06N3/045
Inventor吴臻志金罗军
OwnerLYNXI TECH CO LTD