Patent ID: 11928566
Assignee: nan
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A method for compression and decompression of a data stream used by machine learning networks, the data stream comprising weight data or activation data used by the machine learning networks, the method comprising:
receiving the data stream to be encoded;
encoding each value in the data stream, comprising:
determining a mapping to one of a plurality of non-overlapping ranges, each value encoded as a symbol representative of the range and a corresponding offset; and
arithmetically coding the symbol using a probability count;

storing a compressed data stream comprising the arithmetically coded symbols and the corresponding offsets; and
decoding the compressed data stream with arithmetic decoding using the probability count, the arithmetic decoded symbols are used with the offset bits to arrive at a decoded data stream; and
communicating the decoded data stream for use by the machine learning networks.