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

Encoding method, processor, encoding module and storage medium

An encoding method and processor technology, applied in the fields of encoding modules and storage media, processors, and encoding methods, can solve the problems affecting the processing efficiency of neural network processors and occupying bandwidth resources, etc.

Pending Publication Date: 2020-07-07
SHANGHAI CAMBRICON INFORMATION TECH CO LTD
View PDF3 Cites 3 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

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
  • Encoding method, processor, encoding module and storage medium
  • Encoding method, processor, encoding module and storage medium
  • Encoding method, processor, encoding module and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

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

[0225] Step 7042, acquire the data length of the character code.

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

[0227] Step 7044, compare the data length of the character code with the data bit width.

[0228] Specifically, the decoding device in the processor compares the data length of the character code acquired in step 7042 with the set data bit width, and judges whether the data length of the character code acquired in step 7042 is equal to the set data bit width Is it equal.

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

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

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 an encoding method, a processor, an encoding device and a storage medium. The method comprises run-length encoding a large number of consecutive zeros appearing in model data.By adopting the method, definition conflicts of special characters can be avoided while data redundancy is reduced.

Description

technical field [0001] The present application relates to the technical field of statistical coding, in particular to a coding method, a processor, a coding module 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. As one of the algorithms widely used in smart chips, the neural network algorithm runs on the neural network processor. [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. Contents of the invention [0004] Based on this, it is necessary to address the above-mentioned technical problems and provide an encoding method, processor, and encoding...

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/705H03M7/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