Check patentability & draft patents in minutes with Patsnap Eureka AI!

Processing unit, calculation device, and calculation graph processing method of deep learning model

A technology of deep learning and processing unit, applied in the direction of biological neural network model, physical realization, etc., to achieve the effect of fewer mapping functions

Pending Publication Date: 2021-11-12
平头哥上海半导体技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this is that numerous mapping functions need to be developed and maintained

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
  • Processing unit, calculation device, and calculation graph processing method of deep learning model
  • Processing unit, calculation device, and calculation graph processing method of deep learning model
  • Processing unit, calculation device, and calculation graph processing method of deep learning model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The present disclosure is described below based on examples, but the present disclosure is not limited only to these examples. In the following detailed description of the disclosure, some specific details are set forth in detail. The present disclosure can be fully understood by those skilled in the art without the description of these detailed parts. In order to avoid obscuring the essence of the present disclosure, well-known methods, procedures, and procedures are not described in detail. Additionally, the drawings are not necessarily drawn to scale.

[0058] The following terms are used in this document.

[0059] Acceleration unit: designed to improve the data processing speed in these special-purpose fields for the situation that general-purpose processors are not efficient in some special-purpose fields (for example, processing images, processing various operations of neural networks, etc.) A processing unit, which is often used in conjunction with a general-p...

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 processing unit, a calculation device and a calculation graph processing method of a deep learning model. The processing unit comprises: an instruction fetching unit for fetching computer instructions from a memory external to the processing unit; an instruction decoding unit which is used for decoding the fetched computer instruction; an instruction execution unit which is used for executing the decoded computer instruction so as to extract the attribute of an operator from a computational graph used for a deep learning model under the first deep learning framework; converting the computational graph into an intermediate expression conforming to the following of the acceleration unit, wherein the attributes of operators in the intermediate expression are different from those of operators in the computational graph; performing model processing on the intermediate expression; and converting the processed intermediate expression back to a computational graph of the first deep learning framework, wherein the attribute of the operator in the intermediate expression is replcaed with the extracted attribute of the operator of which the operator identifier is not changed. Compared with the prior art, the embodiment of the invention needs fewer mapping functions to be maintained.

Description

technical field [0001] The present disclosure relates to the field of chips, and in particular, to a processing unit, a computing device, and a calculation graph processing method for a deep learning model. Background technique [0002] The current mainstream deep learning frameworks include TensorFlow framework, MxNet framework, Caffe framework, MxNet framework, and so on. These frameworks all define different sets of operators, and even operators with similar functions have different attributes in different frameworks. An operator is the basic unit of operation in a deep learning model, such as a convolution operator. In TensorFlow, the filling attribute of the convolution operator is "VALID" or "SAME", which respectively means that after the convolution operation is completed, "VALID" means that only valid convolution is performed, and the boundary data is not processed, and "SAME" means The convolution result at the boundary is retained; however, in MxNet and Caffe, th...

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
IPC IPC(8): G06N3/063
CPCG06N3/063
Inventor 董俊尹莉陈琳
Owner 平头哥上海半导体技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More