Data compression method and device, data decompression method and device and processing method and device based on data compression and decompression

A compression processing and data compression technology, applied in physical implementation, biological neural network model, code conversion, etc., can solve the problem of difficulty in improving the efficiency of on-chip and off-chip memory access, so as to improve the computing power of the chip, improve the memory access efficiency, The effect of high compression

Active Publication Date: 2020-03-31
CANAAN BRIGHT SIGHT CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problem that it is difficult to improve the efficiency of on-chip and off-chip memory access in the above-mentioned existing technologies

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 compression method and device, data decompression method and device and processing method and device based on data compression and decompression
  • Data compression method and device, data decompression method and device and processing method and device based on data compression and decompression
  • Data compression method and device, data decompression method and device and processing method and device based on data compression and decompression

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0050] In the present invention, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts or combinations thereof disclosed in the specification, and are not intended to exclude one or multiple other features, numbers, steps, acts, parts, parts or combinations thereof.

[0051] In addition, it should be noted that, in the case of n...

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 provides a data compression method and device, a data decompression method and device and a processing method and device based on data compression and decompression, and the data compression method comprises the steps: receiving to-be-compressed data which is sparse data outputted by any layer of a neural network model; and performing compression processing on the to-be-compressed data based on a sparse compression algorithm and a bit plane compression algorithm to obtain compressed data. By utilizing the method, a relatively high compression ratio can be realized, so that the data transmission bandwidth and the storage space of an external memory can be saved, the memory access efficiency is improved, and the chip computing power is improved.

Description

technical field [0001] The invention belongs to the field of data compression and decompression, and in particular relates to data compression, decompression and a processing method and device based on data compression and decompression. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] With the rapid development of neural networks, the recognition accuracy of neural network models is continuously improved, and the size of neural networks is also increasing. Limited by on-chip storage resources, it is difficult for existing chips to load all the parameters of the entire network into on-chip storage at one time. The usual method is to use hierarchical and block-based calculations to solve the problem of insufficient on-chip storage resources. However, this will lead to an ...

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): H03M7/30G06N3/063
CPCH03M7/3064G06N3/063
Inventor 王骁张楠赓
Owner CANAAN BRIGHT SIGHT 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