CPC G06N 3/063 (2013.01) [G06F 7/485 (2013.01); G06F 7/523 (2013.01)] | 20 Claims |
1. A neural network accelerator comprising:
a first bit operator configured to generate first product bits of a multiplication of first feature bits of first input feature data and first weight bits of first weight data;
a second bit operator configured to generate second product bits of a multiplication of first feature bits of second input feature data and first weight bits of second weight data;
a first adder configured to generate first sum bits, including a summation of the first product bits and the second product bits; and
a first shifter configured to generate a first bit-shifted value by first bit-shifting the first sum bits by a first bit shift extent for generating output feature data,
wherein the first bit shift extent is dependent on a first bit position difference between a least significant bit of the first feature bits, in the first input feature data, and a least significant bit of the first input feature data, and the first bit shift extent is dependent on a second bit position difference between a least significant bit of the first weight bits, in the first weight data, and a least significant bit of the first weight data.
|