Dynamic quantization for deep neural network inference system and method
Abstract
A method for dynamically quantizing feature maps of a received image. The method includes convolving an image based on a predicted maximum value, a predicted minimum value, trained kernel weights and the image data. The input data is quantized based on the predicted minimum value and predicted maximum value. The output of the convolution is computed into an accumulator and re-quantized. The re-quantized value is output to an external memory. The predicted min value and the predicted max value are computed based on the previous max values and min values with a weighted average or a pre-determined formula. Initial min value and max value are computed based on known quantization methods and utilized for initializing the predicted min value and predicted max value in the quantization process.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: receiving a set of input values within a first range having a first bit depth; performing a convolution operation on the set of input values to produce a set of intermediate values having a second bit depth that is different from the first bit depth; re-quantizing the set of intermediate values by performing a division operation on the set of intermediate values to produce a set of output values within a second range having the first bit depth; determining a predicted maximum for the second range based on a maximum of the set of input values; and determining a predicted mi
- Claim 2Depends on #1
The method of claim 1 , wherein: the set of input values is a first set of input values; the receiving includes receiving a plurality of sets of input values tha
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- Brownlee, “How to Visualize Filters and Feature Maps in Convolutional Neural Networks”; May 6, 2019.
- Seif, “Visualising Filters and Feature Maps for Deep Learning”; May 14, 2019.