Processing

Please wait...

Settings

Settings

Goto Application

1. WO2022160310 - DATA PROCESSING METHOD AND PROCESSOR

Publication Number WO/2022/160310
Publication Date 04.08.2022
International Application No. PCT/CN2021/074548
International Filing Date 30.01.2021
IPC
G06N 3/04 2006.1
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
NCOMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS
3Computer systems based on biological models
02using neural network models
04Architecture, e.g. interconnection topology
G06N 3/063 2006.1
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
NCOMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS
3Computer systems based on biological models
02using neural network models
06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
063using electronic means
CPC
G06N 3/04
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
NCOMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS
3Computer systems based on biological models
02using neural network models
04Architectures, e.g. interconnection topology
G06N 3/063
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
NCOMPUTER SYSTEMS BASED ON SPECIFIC COMPUTATIONAL MODELS
3Computer systems based on biological models
02using neural network models
06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
063using electronic means
Applicants
  • 华为技术有限公司 HUAWEI TECHNOLOGIES CO., LTD. [CN]/[CN]
Inventors
  • 熊旭红 XIONG, Xuhong
  • 石洁珂 SHI, Jieke
Agents
  • 北京中博世达专利商标代理有限公司 BEIJING ZBSD PATENT&TRADEMARK AGENT LTD.
Priority Data
Publication Language Chinese (zh)
Filing Language Chinese (ZH)
Designated States
Title
(EN) DATA PROCESSING METHOD AND PROCESSOR
(FR) PROCÉDÉ DE TRAITEMENT DE DONNÉES ET PROCESSEUR
(ZH) 一种数据处理方法和处理器
Abstract
(EN) The embodiments of the present application relate to the field of artificial intelligence. Disclosed are a data processing method and a processor, which solve the problem of a large amount of power consumption caused due to the fact that a processor needs to perform data reading and writing multiple times. The specific solution involves: acquiring first data for a first calculation stroke of a first calculation layer; storing the first data in a first-row cache of the first calculation layer, wherein the first-row cache of the first calculation layer is included in a local cache; calculating the first calculation stroke of the first calculation layer to obtain second data; storing the second data in a first-row cache of a second calculation layer, wherein the second calculation layer is a calculation layer in N calculation layers that follows the first calculation layer; and when accumulated data stored in the first-row cache of the second calculation layer can be used for a first calculation stroke of the second calculation layer, calculating the first calculation stroke of the second calculation layer to obtain fifth data corresponding to the first calculation stroke of the second calculation layer.
(FR) Les modes de réalisation de la présente invention se rapportent au domaine de l'intelligence artificielle. L'invention concerne un procédé de traitement de données et un processeur, qui résolvent le problème d'une consommation d'énergie importante provoquée par le fait qu'un processeur doit effectuer la lecture et l'écriture de données de multiples fois. La solution spécifique comprend les étapes suivantes : acquérir des premières données pour un premier cycle de calcul d'une première couche de calcul ; stocker les premières données dans un cache de première ligne de la première couche de calcul, le cache de première ligne de la première couche de calcul étant inclus dans un cache local ; calculer le premier cycle de calcul de la première couche de calcul pour obtenir des deuxièmes données ; stocker les deuxièmes données dans un cache de première ligne d'une deuxième couche de calcul, la deuxième couche de calcul étant une couche de calcul parmi N couches de calcul qui est après la première couche de calcul ; et lorsque des données accumulées stockées dans le cache de première ligne de la deuxième couche de calcul peuvent être utilisées pour un premier cycle de calcul de la deuxième couche de calcul, calculer le premier cycle de calcul de la deuxième couche de calcul pour obtenir des cinquièmes données correspondant au premier cycle de calcul de la deuxième couche de calcul.
(ZH) 本申请实施例公开了一种数据处理方法和处理器,涉及人工智能领域,解决了处理器需要多次进行数据读写,由此带来大量的功耗的问题。具体方案为:获取第一数据,用于进行第一计算层的第一计算行程。将该第一数据存储在该第一计算层的第一行缓存中,该第一计算层的第一行缓存包括在该本地缓存中。计算该第一计算层的第一计算行程,以获取第二数据。将该第二数据存储在第二计算层的第一行缓存中,该第二计算层是该N个计算层中,该第一计算层之后的计算层。在该第二计算层的第一行缓存中存储的累积的数据能够进行该第二计算层的第一计算行程的情况下,计算该第二计算层的第一计算行程,以获取与该第二计算层的第一计算行程对应的第五数据。
Latest bibliographic data on file with the International Bureau