Neural network weight encoding
AssigneeSemiconductor Components Industries, LLC
InventorIvo Leonardus COENEN
Life of this patent
Estimating the term…
Abstract
According to an aspect, a neural network circuit for decoding weights of a neural network includes a weight memory configured to store encoded weights for the neural network, where the encoded weights includes an index weight word, and a decompression logic circuit configured to retrieve the encoded weights from the weight memory, decode the encoded weights using the index weight word to obtain a sequence of one or more non-pruned weight words and one or more pruned weight words, and provide the sequence of the non-pruned weight words and the pruned weight words to a plurality of input-weight multipliers.
Claims21
A neural network circuit for decoding weights of a neural network, the neural network circuit comprising:
- a weight memory configured to store encoded weights for the neural network, the encoded weights including an index weight word;
- and
- a decompression logic circuit configured to:
- retrieve the encoded weights from the weight memory;
- decode the encoded weights using the index weight word to obtain a sequence of one or more non-pruned weight words and one or more pruned weight words, the pruned weight words including zero-value weight words, the non-pruned weight words including non-zero-value weight words;
- and
- provide the sequence of the non-pruned weight words and the pruned weight words to a plurality of input-weight multipliers.
A device comprising:
- a neural network configured to receive a set of inputs and generate a set of outputs, the set of inputs including speech data, the set of outputs including one or more potential speech commands that correspond to the speech data;
- a weight memory configured to store encoded weights for the neural network;
- and
- an accelerator configured to execute the neural network, the accelerator including:
- a decompression logic circuit configured to retrieve the encoded weights from the weight memory, and decode the encoded weights to obtain a sequence of one or more pruned weight words and one or more non-pruned weight words, the pruned weight words including zero-value weight words, the non-pruned weight words including non-zero-value weight words;
- and
- a plurality of input-weight multipliers configured to receive the sequence of the pruned weight words and the non-pruned weight words.
A method of decoding weights of a neural network, the method comprising:
- retrieving encoded weights from a weight memory via a processor data bus, the encoded weights including an index weight word;
- decoding the encoded weights using the index weight word to obtain a sequence of one or more pruned weight words and one or more non-pruned weight words, the pruned weight words including zero-value weight words, the non-pruned weight words including non-zero-value weight words;
- and
- providing the sequence of the non-pruned weight words and the pruned weight words to a plurality of input-weight multipliers.
Dependencies are inferred from the claim text.