Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Convolutional neural network processing method and device

A technology of convolutional neural network and processing method, which is applied in the direction of biological neural network model, physical realization, complex mathematical operation, etc., and can solve problems such as low calculation efficiency and slow activation processing speed

Active Publication Date: 2020-06-23
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the slow speed of activation processing, the existing convolutional neural network has technical problems of low computational efficiency

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
  • Convolutional neural network processing method and device
  • Convolutional neural network processing method and device
  • Convolutional neural network processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as 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 application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0040] The following describes the convolutional neural network processing method, device, computer equipment, and storage medium of the embodiments of the present application with reference to the accompanying drawings.

[0041] figure 1 It is a schematic flowchart of the convolutional neural network processing method provided in Embodiment 1 of the present applica...

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 discloses a convolutional neural network processing method and device, and relates to the technical field of computers. The specific implementation scheme is as follows: obtaining an input matrix, a weight matrix, an activation identifier, an activation function and a weight matrix group number; when the group number of the weight matrixes is smaller than or equal to the number of the accumulators, respectively inputting the input matrix and the weight matrixes into a plurality of accelerator registers; controlling the plurality of arithmetic units to read the input matrix and the weight matrix from the plurality of accelerator registers, and generating a plurality of arithmetic results; and inputting the plurality of operation results into a plurality of accumulators for accumulation to generate an accumulation result, and activating the accumulation result according to the activation identifier and the activation function. According to the method, accumulation results generated by a plurality of accumulators are activated and are processed in parallel with the convolution calculation process, so that the calculation efficiency of the convolutional neural network isimproved, and the delay problem caused by the convolution calculation efficiency is remarkably improved.

Description

technical field [0001] The present application relates to the field of convolutional neural network technology in the field of computer technology, and in particular to a method and device for processing a convolutional neural network. Background technique [0002] Convolutional neural network is the key technology of deep learning. However, due to the characteristics of large order of magnitude, complex layers, and large depth of convolutional neural network model, there is a problem of low efficiency when using traditional processor units for convolution calculations; especially in speech For scenarios with sensitive delay requirements such as signal processing, the convolution calculation delay makes the real-time requirements of the system face a huge challenge. [0003] In related technologies, when the convolutional neural network is processed based on the specific parameters of the model, the activation process is performed intensively after the dot product calculatio...

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 & Authority Applications(China)
IPC IPC(8): G06N3/063G06F17/16
CPCG06N3/063G06F17/16Y02D10/00
Inventor 李强田超路阔
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products