首页> 外国专利> Partial stochastic rounding that includes sticky and guard bits

Partial stochastic rounding that includes sticky and guard bits

机译:部分随机四舍五入,包括粘性位和保护位

摘要

The disclosed herein related to a method for generating a partial stochastic rounding operation executed by a processor coupled to a memory. The method includes generating an intermediate result and causing a random number generator to generate a random number. The method also includes adding the random number to lower significant bits of the intermediate result to perturb any incrementing of most significant bits of the intermediate result to produce a resulting sum. The method also includes truncating the resulting sum into a final result. According to other embodiments, the above method can be implemented in a system or computer program product.
机译:本文公开的内容涉及一种用于生成由耦合至存储器的处理器执行的部分随机舍入操作的方法。该方法包括生成中间结果,并使随机数生成器生成随机数。该方法还包括将随机数添加到中间结果的较低有效位以扰乱中间结果的最高有效位的任何增量以产生结果和。该方法还包括将结果和截断为最终结果。根据其他实施例,以上方法可以在系统或计算机程序产品中实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号