Convolutional neural network calculation instruction and method thereof

A convolutional neural network and computing instruction technology, applied in the field of artificial neural network, can solve problems such as insufficient on-chip cache and limited inter-chip communication, and achieve the effect of improving execution performance and solving correlation problems

Active Publication Date: 2018-02-16
CAMBRICON TECH CO LTD
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of this disclosure is to provide a device supporting convolutional neural network, which solves the problems existing in the prior art such as limited inter-chip communication, insufficient on-chip cache, etc.

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 calculation instruction and method thereof
  • Convolutional neural network calculation instruction and method thereof
  • Convolutional neural network calculation instruction and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] This disclosure provides a convolutional neural network computing device and a supporting instruction set, including a storage unit, a register unit, and a convolutional neural network operation unit. The storage unit stores input and output data and convolution kernels, and the register unit stores input and output data. The address of data and convolution kernel storage, the convolutional neural network operation unit obtains the data address in the register unit according to the convolutional neural network operation instruction, and then obtains the corresponding input data and convolution kernel in the storage unit according to the data address, Then, the convolutional neural network operation is performed according to the obtained input data and the convolution kernel, and the convolutional neural network operation result is obtained. In this disclosure, the input data and convolution kernel involved in the calculation are temporarily stored in an external storage ...

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 convolutional neural network calculation instruction and a method thereof. The convolutional neural network calculation instruction comprises at least one operation code and at least one operation domain, wherein the operation codes are used for indicating a function of the convolutional neural network calculation instruction; the operation domains are used for indicatingdata information of the convolutional neural network calculation instruction; and the data information comprises an immediate operand or a register number, and specifically comprises an initial address and the data length of input data, an initial address and the data length of a convolution kernel, and the type of an activation function. Output data serves as input data of the next layer.

Description

technical field [0001] The present disclosure generally relates to artificial neural networks, and specifically relates to a convolutional neural network operation instruction and a method thereof. Background technique [0002] Convolutional neural network is an efficient recognition algorithm widely used in pattern recognition, image processing and other fields in recent years. It has the characteristics of simple structure, few training parameters and strong adaptability, translation, rotation and scaling. Since the feature detection layer of CNN / DNN learns through training data, when using CNN / DNN, it avoids explicit feature extraction and learns implicitly from training data; The weights of the cells are the same, so the network can learn in parallel, which is also a big advantage of the convolutional network over the network of neurons connected to each other. [0003] In existing computer field applications, applications related to convolution operations are very comm...

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): G06F9/30G06F9/38G06N3/063G06N3/04
CPCG06N3/063G06N3/08G06N3/045G06F13/362G06N3/048G06F9/30G06F9/3001G06F17/16
Inventor 陈天石韩栋陈云霁刘少礼郭崎
Owner CAMBRICON TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products