Calculation engine and electronic equipment

A computing engine and computing module technology, which is applied in complex mathematical operations, biological neural network models, physical implementation, etc., and can solve problems such as large bandwidth requirements, inability to use, and inability to exert computing performance.

CN106126481AActive Publication Date: 2016-11-16HUAWEI TECH CO LTD
5 Cites 109 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2016-11-16

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the technical field of calculation acceleration and discloses a calculation engine and electronic equipment to increase the utilization rate of data, reduce bandwidth requirement and improve calculation performance. The calculation engine comprises a cache management module, a matching and distributing module and at least L calculation modules, wherein the cache management module is used for reading L element values in an M-dimensional input vector and conducting caching, reading L-dimensional row vectors in submatrixes corresponding to the L element values in an M*N parameter matrix in sequence and transmitting the L-dimensional row vectors to the matching and distributing module, and the matching and distributing module is used for taking out a corresponding element value from the cache management module every time an L-dimensional row vector is received, matching the element value taken out with values in the L-dimensional row vectors, and sending matching results to the corresponding calculation modules in the at least L calculation modules; any one calculation module is used for calculating the matching results.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of computing acceleration, in particular to a computing engine and electronic equipment. Background technique

[0002] In the field of artificial intelligence, some technologies such as character recognition, image classification, and speech recognition need to be realized by network technologies with complex algorithm functions. For example, deep neural network (English: Deep Neural Network, DNN) technology has become a representative Algorithms are widely used in search engines, smart phones and other products.

[0003] A typical DNN structure such as figure 1 As shown, the DNN structure has an input layer, an output layer, and several hidden layers, figure 1 In the example with two hidden layers. in, figure 1 Each circle in represents a neuron, for example, the four neurons in the input layer are denoted by a1, a2, a3, and a4 respectively. Each neuron performs the same operation, that is, c...

Examples

Embodiment Construction

[0044] In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0045] In view of the fact that the algorithms run by the hardware computing architecture in some existing network technologies have a large demand for bandwidth, so that the computing performance of the hardware computing architecture is limited, and the maximum computing performance cannot be exerted. This embodiment of the present application provides a computing engine and The calculation method, by designing a new calculation method to accelerate the multiplication...