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: receiving fixed-point input data over a channel of a standalone floating-point batchnorm layer, and converting the floating-point input data into fixed-point input data of the standalone floating-point batchnorm layer; obtaining fixed-point quantization parameters in each channel based on the input data and floating-point parameters μi, σi, εi in each channel; converting the standalone floating-point batchnorm layer based on the fixed-point quantization parameters into a fixed-point batchnorm layer for processing the fixed-point input data to generate fixed-point output data; and mapping the fixed-point batchnorm layer to a fixed-point convolution layer and the computation of convolution is done by matrix multiplication that can be executed on a GEMM engine.
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 of a hardware chip based on the neural network, the instructions cause the one or more processors to perform acts comprising:
Dependencies are inferred from the claim text.