Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Batch processing method and device for non-fixed-length input data, terminal and storage medium

A technology of input data and batch processing, which is applied in the computer field and can solve problems such as increasing the amount of computation of deep learning models, affecting the speed of model computation and processing efficiency, etc.

Active Publication Date: 2020-07-07
BYTEDANCE INC +1
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, limited by the deep learning framework or some computing operations, it is required that all input data have the same length in order to perform batch operations
At present, the length of all input data is unified by filling the mark. However, this method will inevitably increase the amount of calculation of the deep learning model and affect the calculation speed and processing efficiency of the model.

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
  • Batch processing method and device for non-fixed-length input data, terminal and storage medium
  • Batch processing method and device for non-fixed-length input data, terminal and storage medium
  • Batch processing method and device for non-fixed-length input data, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0029] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect. ...

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 batch processing method and device for non-fixed-length input data, a terminal and a storage medium. The method comprises the steps of generating a mask matrix according to input data, and the input data comprises at least two word sequences with different lengths; determining index information of the input data according to the mask matrix; and performing batch processing on effective data in the input data according to the index information. Through the method of the embodiment of the invention, invalid operation aiming at the filling data can be reduced, and the operation speed and the processing efficiency of the deep learning model during batch processing of the non-fixed-length input data are improved.

Description

technical field [0001] Embodiments of the present disclosure relate to computer technology, and in particular to a batch processing method, device, terminal, and storage medium for non-fixed-length input data. Background technique [0002] With the improvement of the computing power of hardware devices, in the process of training deep learning models or using deep learning models for prediction, operations can be performed on multiple input data at the same time. [0003] In scenarios such as natural language processing or speech recognition, the length of input data is generally not fixed. However, limited by the deep learning framework or some computing operations, it is required that all input data have the same length for batch operations. At present, the length of all input data is unified by filling the mark. However, this method will inevitably increase the amount of calculation of the deep learning model and affect the calculation speed and processing efficiency of ...

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): G06F40/16
CPCY02D10/00
Inventor 黄冠喆
Owner BYTEDANCE INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products