首页> 外国专利> METHODS AND SYSTEMS FOR CONVERTING WEIGHTS OF A DEEP NEURAL NETWORK FROM A FIRST NUMBER FORMAT TO A SECOND NUMBER FORMAT

METHODS AND SYSTEMS FOR CONVERTING WEIGHTS OF A DEEP NEURAL NETWORK FROM A FIRST NUMBER FORMAT TO A SECOND NUMBER FORMAT

机译:用于将深神经网络的权重从第一号格式转换为第二号格式的方法和系统

摘要

Methods and system for converting a plurality of weights of a filter of a Deep Neural Network (DNN) in a first number format to a second number format, the second number format having less precision than the first number format, to enable the DNN to be implemented in hardware logic. The method comprising: determining, for each of the plurality of weights, a quantisation error associated with quantising that weight to the second number format in accordance with a first quantisation method; determining a total quantisation error for the plurality of weights based on the quantisation errors for the plurality of weights; identifying a subset of the plurality of weights to be quantised to the second number format in accordance with a second quantisation method based on the total quantisation error for the plurality of weights; and generating a set of quantised weights representing the plurality of weights in the second number format, the quantised weight for each weight in the subset of the plurality of weights based on quantising that weight to the second number format in accordance with the second quantisation method and the quantised weight for each of the remaining weights of the plurality of weights based on quantising that weight to the second number format in accordance with the first quantisation method.
机译:用于将多个数字网络(DNN)的多个权重的方法和系统以第一数字格式转换为第二号格式,第二号格式具有比第一数字格式更少的精度,以使DNN成为在硬件逻辑中实现。该方法包括:对于多个权重中的每一个来确定与定量根据第一量化方法定量重量的量化误差;基于多个权重的量化误差确定多个权重的总量化误差;根据基于多个权重的总量化误差,将要数量的多个权重的子集识别到第二号格式。并产生一组规定的重量,其表示在第二号格式的第二号格式中的多个权重,基于根据第二量化方法量定到第二个数字格式的数量的多个权重中的每种权重的量化权重。基于定量根据第一量化方法对多个权重的每个剩余权重的量级重量。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号