首页> 外国专利> 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号