Neural network operation apparatus and quantization method
AssigneesSamsung Electronics Co., Ltd., Unist (Ulsan National Institute of Science and Technology)
InventorsSehwan LEE, Hyeonuk SIM, Jongeun LEE
Life of this patent
Estimating the term…
Abstract
A neural network operation apparatus and method implementing quantization is disclosed. The neural network operation method may include receiving a weight of a neural network, a candidate set of quantization points, and a bitwidth for representing the weight, extracting a subset of quantization points from the candidate set of quantization points based on the bitwidth, calculating a quantization loss based on the weight of the neural network and the subset of quantization points, and generating a target subset of quantization points based on the quantization loss.
Claims20
A processor-implemented neural network operation method, comprising:
- receiving a weight of a neural network, a candidate set of quantization points, and a bitwidth that represents the received weight;
- extracting a subset of quantization points from the candidate set of quantization points based on the bitwidth;
- calculating a quantization loss based on the received weight and the subset of quantization points;
- and
- generating a target subset of quantization points based on the calculated quantization loss.
A neural network operation apparatus, comprising:
- a memory, configured to store a weight of a neural network and a target subset of quantization points extracted from a candidate set of quantization points to quantize the weight of the neural network;
- a decoder, configured to select a target quantization point from the target subset of quantization points based on the weight of the neural network;
- a shifter, configured to perform a multiplication operation based on the target quantization point;
- and
- an accumulator, configured to accumulate an output of the shifter.
A neural network operation apparatus, comprising:
- a receiver, configured to receive a weight of a neural network, a candidate set of quantization points, and a bitwidth that represents the weight;
- and
- one or more processors, configured to extract a subset of quantization points from the candidate set of quantization points based on the bitwidth, calculate a quantization loss based on the weight of the neural network and the subset of quantization points, and generate a target subset of quantization points based on the calculated quantization loss.
Dependencies are inferred from the claim text.