Methods and apparatuses for high performance and accuracy fixed-point batchnorm implementation
AssigneeBeijing Transtreams Technology Co. Ltd.
InventorsMing Kai HSU, Sikai WANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Transtreams Technology Co. Ltd.
InventorsMing Kai HSU, Sikai WANG
Estimating the term…
A method to implement a fixed-point batchnorm layer in a neural network for data processing is provided in the present disclosure. The method includes: the hardware chip receives floating-point input data over a channel of a standalone floating-point batchnorm layer in a neural network, and converts the floating-point input data into fixed-point input data of the standalone floating-point batchnorm layer. The hardware chip obtains fixed-point quantization parameters in each channel based on input data and three floating-point parameters in each channel. The hardware chip converts the standalone floating-point batchnorm layer based on the fixed-point quantization parameters into a fixed-point batchnorm layer. The fixed-point batchnorm layer processes the fixed-point input data to generate fixed-point output data, and the fixed-point batchnorm layer is mapped to a fixed-point convolution layer.
A data processing method, comprising:
An apparatus for implementing a neural network, comprising:
A non-transitory computer readable storage medium, comprising instructions stored therein to implement a neural network, wherein, upon execution of the instructions by one or more processors, the instructions cause the one or more processors to perform acts comprising:
Dependencies are inferred from the claim text.