Data processing method and device, chip and computer readable storage medium

A data processing and data technology, applied in the field of deep learning model training, can solve the problems of long calculation time of batch normalization layer and slow training speed of deep learning model, and achieve the effect of solving long calculation time, accelerating calculation and shortening time.

Pending Publication Date: 2020-07-17
中昊芯英(杭州)科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a data processing method, device, chip and computer-readable storage medium to solve the problems of long time-consuming calculation of batch normalization layer and slow training speed of deep learning model in deep learning model training

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
  • Data processing method and device, chip and computer readable storage medium
  • Data processing method and device, chip and computer readable storage medium
  • Data processing method and device, chip and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040] It should be noted that when an element is said to be "connected" to another element, or to say that an element is "connected" or "connected" to another or more elements, it may be directly connected to another element or indirectly connected to the other element.

[0041]In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quan...

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 embodiment of the invention discloses a data processing method and device, a chip and a computer readable storage medium, which are used for accelerating the operation of a batch of standardized layers in deep learning model training. Multi-dimensional tensor data is stored in a first memory according to a preset rule; taking out in the form of two-dimensional data and carrying out operation;a third matrix is constructed through cooperative use of a plurality of register sets and a second memory; matrix multiplication is performed on the first matrix and the third matrix, so that the element sum and the element quadratic sum of each row in the first matrix can be solved at the same time; parallel calculation of element summation and element quadratic sum calculation is realized, so that calculation related to mean values and variances in a batch standardization layer is accelerated, and the problem of long operation time consumption caused by overlarge data volume in the operationprocess of the batch standardization layer is solved. And finally, the operation speed of batch standardized operation is improved, and the time required for training the whole deep learning model isgreatly shortened.

Description

technical field [0001] The present invention relates to the field of deep learning model training, in particular to a data processing method, device, chip and computer-readable storage medium. Background technique [0002] Deep learning is a new field in machine learning research. The purpose is to establish or simulate the neural network of the human brain for analysis and learning. It imitates the mechanism of the human brain to explain data, such as data such as images, sounds, and texts. Deep learning models need to be trained with a large amount of data before they can be used in practice. Common deep learning models include convolutional neural networks (CNN). [0003] In the training process of the deep learning model, most of them choose to use the batch normalization (Batch Normalization, BN) method to process each layer of the deep learning model, so that the difference of the samples in the process of passing each layer of the network is reduced. Batch normalizat...

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): G06N20/00G06N3/04G06N3/063G06N3/08
CPCG06N20/00G06N3/063G06N3/084G06N3/044
Inventor 闯小明杨龚轶凡郑瀚寻高雷侯觉
Owner 中昊芯英(杭州)科技有限公司
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