Variable quantization for neural networks
AssigneeQUALCOMM Incorporated
InventorsChirag Sureshbhai PATEL, Tijmen Pieter Frederik BLANKEVOORT, Jonathan DeWitt WOLFE, Erich PLONDKE
Life of this patent
Estimating the term…
Abstract
A method for an artificial neural network includes receiving an input. A quantization threshold is determined based on the input, or a characteristic or type of the input. Neural network values, such as weights or activations, of one or more layers of the artificial neural network are quantized according to the quantization threshold. The artificial neural network generates an output based on the quantized neural network values.
Claims30
A method for an artificial neural network (ANN), comprising:
- receiving, by a first layer of the ANN, a set of input values;
- determining a first quantization threshold based at least in part on the set of input values;
- quantizing neural network values of one or more layers of the ANN according to the first quantization threshold;
- and
- generating an output based on the quantized neural network values.
An apparatus for an artificial neural network (ANN), comprising:
- a memory;
- and
- at least one processor coupled to the memory, the at least one processor being configured:
- to receive, via a first layer of the ANN, a set of input values;
- to determine a first quantization threshold based at least in part on the set of input values;
- to quantize neural network values of one or more layers of the ANN according to the first quantization threshold;
- and
- to generate an output based on the quantized neural network values.
An apparatus for an artificial neural network (ANN), comprising:
- means for receiving, via a first layer of the ANN, a set of input values;
- means for determining a first quantization threshold based at least in part on the set of input values;
- means for quantizing neural network values of one or more layers of the ANN according to the first quantization threshold;
- and
- means for generating an output based on the quantized neural network values.
A non-transitory computer readable medium having encoded thereon program code for an artificial neural network (ANN), the program code being executed by a processor and comprising:
- program code to receive, via a first layer of the ANN, a set of input values;
- program code to determine a first quantization threshold based at least in part on the set of input values;
- program code to quantize neural network values of one or more layers of the ANN according to the first quantization threshold;
- and
- program code to generate an output based on the quantized neural network values.
Dependencies are inferred from the claim text.