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

Decoding method, processor, decoding device and storage medium

A decoding method and processor technology, applied in the fields of decoding methods, decoding devices, storage media, and processors, can solve the problems of occupying bandwidth resources, affecting the processing efficiency of neural network processors, and data not being able to directly participate in operations.

Active Publication Date: 2020-07-07
SHANGHAI CAMBRICON INFORMATION TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the wide application of fixed-point and sparsification, a large number of continuous zeros usually appear in the model data, occupying a large amount of bandwidth resources and affecting the overall processing efficiency of the neural network processor
In the processing process of the processor, coding technology is usually used to compress the redundant data, but the compressed data cannot directly participate in the operation

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
  • Decoding method, processor, decoding device and storage medium
  • Decoding method, processor, decoding device and storage medium
  • Decoding method, processor, decoding device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0244] As an optional implementation, it specifically includes the following steps:

[0245] Step 7042a: Obtain the data length of the character code.

[0246] Specifically, the decoding device in the processor obtains the data length of one of the multiple character codes with the same numerical value.

[0247] Step 7044b: Compare the data length of the character encoding with the data bit width.

[0248] Specifically, the decoding device in the processor compares the data length of the character code obtained in step 7042 with the set data bit width, and judges the data length of the character code obtained in step 7042 and the set data bit width Are they equal.

[0249] Step 7046c: If the data length of the character code is equal to the data bit width, it is determined that the additional character check bit is not set in the character code.

[0250] For example: if the set data bit width is 8bit, the data length of the obtained character code is 8bit, and the data length of the obt...

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 relates to a decoding method, a processor, a decoding device and a storage medium. The method comprises: decoding data subjected to run-length coding in model data. By adopting the method, the operation correctness can be ensured on the premise of data compression.

Description

Technical field [0001] This application relates to the technical field of statistical coding, in particular to a decoding method, a processor, a decoding device and a storage medium. Background technique [0002] With the continuous development of digital electronic technology, the rapid development of various artificial intelligence (AI) chips has higher and higher requirements for neural network processors. Neural network algorithm, as one of the algorithms widely used in smart chips, runs in the neural network processor. [0003] However, due to the wide application of fixed-point and sparseness, a large number of continuous zeros usually appear in model data, occupying a large amount of bandwidth resources and affecting the overall processing efficiency of the neural network processor. In the process of processor processing, the redundant data is usually compressed by coding technology, but the compressed data cannot directly participate in the operation. Summary of the inven...

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): H03M7/30
CPCH03M7/6029
Inventor 不公告发明人
Owner SHANGHAI CAMBRICON INFORMATION TECH CO LTD
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