Method for local metric-based mixed-precision quantization applicable at compiler level and apparatus therefor
AssigneeElectronics and Telecommunications Research Institute
InventorsJe-Min LEE, Yong-In KWON
Life of this patent
Estimating the term…
Abstract
Disclosed herein are a method for local metric-based mixed-precision quantization applicable at the compiler level and an apparatus for the same. The method includes measuring, by the apparatus, sensitivity of each layer by applying values measured through two local metrics, which are selected by considering compile time, among local metrics for quantization of a neural network model, according to a preset ratio; and performing, by the apparatus, quantization by applying mixed precision to the neural network model based on the sensitivity of each layer.
Claims20
A method for mixed-precision quantization, performed by a mixed-precision quantization apparatus, comprising:
- measuring sensitivity of each layer by applying values measured through two local metrics, which are selected by considering compile time, among local metrics for quantization of a neural network model, according to a preset ratio;
- and
- performing quantization by applying mixed precision to the neural network model based on the sensitivity of each layer.
An apparatus for mixed-precision quantization, comprising:
- a processor for measuring sensitivity of each layer by applying values measured through two local metrics, which are selected by considering compile time, among local metrics for quantization of a neural network model, according to a preset ratio and performing quantization by applying mixed precision to the neural network model based on the sensitivity of each layer;
- and
- memory for storing the sensitivity of each layer.
Dependencies are inferred from the claim text.