Binary quantization method, neural network training method, device, and storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorsXinghao CHEN, Zhijun TU, Yunhe WANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsXinghao CHEN, Zhijun TU, Yunhe WANG
Estimating the term…
This application provides a binary quantization method, a neural network training method, a device, and a storage medium. The binary quantization method includes: determining to-be-quantized data in a neural network; determining a quantization parameter corresponding to the to-be-quantized data, where the quantization parameter includes a scaling factor and an offset; determining, based on the scaling factor and the offset, a binary upper limit and a binary lower limit corresponding to the to-be-quantized data; and performing binary quantization on the to-be-quantized data based on the scaling factor and the offset, to quantize the to-be-quantized data into the binary upper limit or the binary lower limit.
A binary quantization method, applied to an electronic device, wherein the method comprises:
Dependencies are inferred from the claim text.