Method and system for elastic precision enhancement using dynamic shifting in neural networks
AssigneeNovuMind Limited
InventorsMiao Li, Pingfan Meng, Yilei Li, Cheng-Ying Ko, Jeffrey Weifung Lien
Life of this patent
Estimating the term…
Loading patent…
AssigneeNovuMind Limited
InventorsMiao Li, Pingfan Meng, Yilei Li, Cheng-Ying Ko, Jeffrey Weifung Lien
Estimating the term…
A multiplier for calculating a multiplication of a first fixed point number and a second fixed point number comprises a converter and a restoration circuit. The converter is configured to convert the first fixed point number to a sign, a mantissa, and an exponent. At least one of a bit width of the sign, a bit width of the mantissa, and a bit width of the exponent is dynamically configured based on a position of a layer associated with the first fixed point number in a neural network, a position of a pixel in an input feature map associated with the first fixed point number, and/or a channel associated with the first fixed point number. The restoration circuit is configured to calculate the multiplication based on the sign, the mantissa, the exponent, and the second fixed point number.
A long bit-width multiplier for calculating a multiplication of a first fixed point number and a second fixed point number, the first fixed point number being associated with a pixel of an input feature map corresponding to one of a plurality of channels with respect to a layer of a neural network having a plurality of layers, and the second fixed point number being associated with a filter corresponding to the one of the plurality of channels with respect to the layer of the neural network, the long bit-width multiplier comprising:
Dependencies are inferred from the claim text.