COMPRESSION AND/OR DECOMPRESSION OF ACTIVATION DATA
The invention relates to compression and/or decompression of activation data. A method for compressing activation data of a neural network to be written to a storage is provided. The activation data is formed into a plurality of groups and a state indicator indicates whether there are any data eleme...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to compression and/or decompression of activation data. A method for compressing activation data of a neural network to be written to a storage is provided. The activation data is formed into a plurality of groups and a state indicator indicates whether there are any data elements within each group that have a non-zero value. A second state indicator indicates, for groups having a non-zero value, whether sub-groups within the group contain a data element having a non-zero value. A sub-group state indicator indicates, for each sub-group having a non-zero value, which data elements within that sub-group have a non-zero value. Non-zero values of data elements in the activation data are encoded and a compressed data set is formed comprising the first state indicators, any second state indicators, any sub-group state indicators and the encoded non-zero values.
本公开涉及激活数据的压缩和/或解压缩。提供了一种用于压缩神经网络的要写入到存储装置的激活数据的方法。所述激活数据被形成为多个组,并且状态指示符指示每个组内是否存在任何具有非零值的数据元素。第二状态指示符指示对于具有非零值的组,所述组内的子组是否包含具有非零值的数据元素 |
---|