Integrated circuit chip device

US11748604B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11748604-B2
Application numberUS-202017134486-A
CountryUS
Kind codeB2
Filing dateDec 27, 2020
Priority dateDec 27, 2017
Publication dateSep 5, 2023
Grant dateSep 5, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An integrated circuit chip device and related products are provided. The integrated circuit chip device is used for performing a multiplication operation, a convolution operation or a training operation of a neural network. The device has the advantages of small calculation amount and low power consumption.

First claim

Opening claim text (preview).

The invention claimed is: 1. An integrated circuit chip device configured to perform neural network forward computations, wherein the neural network has n layers, and the integrated circuit chip device comprises: a main processing circuit; and a plurality of basic processing circuits, wherein: the main processing circuit comprises a data type conversion circuit configured to convert data between a floating point data type and a fixed point data type; the plurality of basic processing circuits are arranged as an array, each basic processing circuit is connected to an adjacent basic processing circuit, the main processing circuit is connected to a first quantity of basic processing circuits in a first row, the first quantity of basic processing circuits in an m th row, and m basic processing circuits in a first column; the main processing circuit is configured to: receive a first operation instruction; and parse the first operation instruction to obtain a first computation instruction included in an i th layer of the forward computations of the first operation instruction and corresponding input data and weight data of the first operation instruction, wherein: i is an integer greater than or equal to 1 and less than or equal to n, and if i is greater than or equal to 2, the input data is output data of an i−1 th layer; the main processing circuit is configured to: determine a first complexity of the first computation instruction according to the input data, the weight data, and the first computation instruction; determine a first data type corresponding to the first computation instruction according to the first complexity; and determine whether to start the data type conversion circuit according to the first complexity, wherein: the first data type is a floating point data type or a fixed point data type; the main processing circuit is further configured to: classify the input data of the first data type and the weight data of the first data type into a broadcasting data block and a distribution data block according to a type of the first computation instruction; partition the distribution data block to obtain a plurality of basic data blocks; distribute the plurality of basic data blocks to the plurality of basic processing circuits connected to the main processing circuit; and broadcast the broadcasting data block to the basic processing circuits connected to the main processing circuit; at least one of the plurality of basic processing circuits is configured to: perform computations on the broadcasting data block and the basic data blocks of the first data type in parallel to obtain computation results; and transfer the computation results to the main processing circuit through the basic processing circuits connected to the main processing circuit; and the main processing circuit is configured to: process the computation results to obtain an instruction result of the first computation instruction so that computations of the first computation instruction of the i th layer are completed. 2. The integrated circuit chip device of claim 1 , wherein: the main processing circuit is configured to compare the first complexity with a preset threshold, wherein: when the first complexity is greater than the preset threshold, the main processing circuit is configured to determine the first data type as a fixed point type; and when the first complexity is less than or equal to the preset threshold, the main processing circuit is configured to determine the first data type as a floating point type. 3. The integrated circuit chip device of claim 2 , wherein: the main processing circuit is configured to determine whether the input data and the weight data belong to a second data type, wherein: when the second data type differs from the first data type, the main processing circuit is configured to: convert the input data belonging to the second data type and the weight data belonging to the second data type into input data belonging to the first data type and weight data belonging to the first data type using the data type conversion circuit. 4. The integrated circuit chip device of claim 1 , wherein: the main processing circuit is configured to: when the first computation instruction is a convolution computation instruction, determine the input data as convolution input data and the weight data as a convolution kernel; the first complexity is computed as: the first complexity=α*C1*kH*kW*M*N*W*C2*H, wherein: α is a convolution coefficient greater than 1; C1, kH, kW, M are values of four dimensions of the convolution kernel; and N, W, C2, H are values of four dimensions of the convolution input data; when the first complexity is greater than a preset threshold, the main processing circuit is configured to determine whether the convolution input data and the convolution kernel are floating point data, wherein: when the convolution input data and the convolution kernel are not floating point data, the main processing circuit is configured to: convert the convolution input data into floating point data and the convolution kernel into floating point data; and perform the convolution computation on the convolution input data of the floating point data type and the convolution kernel of the floating point data type. 5. The integrated circuit chip device of claim 1 , wherein: the main processing circuit is configured to: when the first computation instruction is a matrix-multiply-matrix computation instruction, determine the input data as a first matrix in the matrix-multiply-matrix computation and the weight data as a second matrix in the matrix-multiply-matrix computation; the first complexity is computed as: the first complexity=β*F*G*E*F1, wherein: β is a matrix coefficient greater than or equal to 1; F and G are row and column values of the first matrix; and E and F1 are row and column values of the second matrix; when the first complexity is greater than a preset threshold, the main processing circuit is configured to determine whether the first matrix and the second matrix are floating point data, wherein: when the first matrix and the second matrix are not floating point data, the main processing circuit is configured to: convert the first matrix into floating point data and the second matrix into floating point data; and perform the matrix-multiply-matrix computation on the first matrix of the floating point data type and the second matrix of the floating point data type. 6. The integrated circuit chip device of claim 1 , wherein: the main processing circuit is configured to: when the first computation instruction is a matrix-multiply-vector computation instruction, determine the input data as a first matrix in the matrix-multiply-vector computation and the weight data as a vector in the matrix-multiply-vector computation; the first complexity is computed as: the first complexity=β*F*G*F1, wherein: β is a matrix coefficient greater than or equal to 1; F and G are row and column values of the first matrix; and F1 is a column value of the vector; when the first complexity is greater than a preset threshold, the main processing circuit is configured to determine whether the first matrix and the vector are floating point data, wherein: when the first matrix and the vector are not floating point data, the main processing circuit is configured to: convert the first matrix into floating point data and the vector into floating point data; and perform the matrix-multiply-vector computation on the first matrix of the floating point data type and the vector of the floating point data type. 7. The integrated circuit chip device of claim 1 , wherein: the main processing circuit is config

Assignees

Inventors

Classifications

  • Convolutional networks [CNN, ConvNet] · CPC title

  • Supervised learning · CPC title

  • G06N3/063Primary

    using electronic means · CPC title

  • Architecture, e.g. interconnection topology · CPC title

  • Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11748604B2 cover?
An integrated circuit chip device and related products are provided. The integrated circuit chip device is used for performing a multiplication operation, a convolution operation or a training operation of a neural network. The device has the advantages of small calculation amount and low power consumption.
Who is the assignee on this patent?
Cambricon Tech Corp Ltd
What technology area does this patent fall under?
Primary CPC classification G06N3/063. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 05 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).