Encoding method, processor, encoding device and storage medium

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

Pending Publication Date: 2020-07-07
SHANGHAI CAMBRICON INFORMATION TECH CO LTD
View PDF9 Cites 1 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 device and storage medium
  • Encoding method, processor, encoding device and storage medium
  • Encoding method, processor, encoding device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

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

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

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

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

[0245] 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.

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

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

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, data redundancy can be reduced, so that data compression is realized.

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 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. 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 technical problems and provide an encoding method, processor, encoding device and st...

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