首页> 外国专利> Providing efficient multiplication of sparse matrices in matrix-processor-based devices

Providing efficient multiplication of sparse matrices in matrix-processor-based devices

机译:在基于矩阵处理器的设备中提供稀疏矩阵的有效乘法

摘要

Providing efficient multiplication of sparse matrices in matrix-processor-based devices is disclosed herein. In one aspect, a matrix processor of a matrix-processor-based device includes a plurality of sequencers coupled to a plurality of multiply/accumulate (MAC) units for performing multiplication and accumulation operations. Each sequencer determines whether a product of an element of a first input matrix to be multiplied with an element of a second input matrix has a value of zero (e.g., by determining whether the element of the first input matrix has a value of zero, or by determining whether either the element of the first input matrix or that of the second input matrix has a value of zero). If the product of the elements of the first input matrix and the second input matrix does not have a value of zero, the sequencer provides the elements to a MAC unit to perform a multiplication and accumulation operation.
机译:本文公开了在基于矩阵处理器的设备中提供稀疏矩阵的有效乘法。一方面,基于矩阵处理器的设备的矩阵处理器包括多个定序器,该多个定序器耦合到用于执行乘法和累加操作的多个乘法/累加(MAC)单元。每个定序器确定要与第二输入矩阵的元素相乘的第一输入矩阵的元素的乘积是否具有零值(例如,通过确定第一输入矩阵的元素是否具有零的值,或通过确定第一输入矩阵的元素或第二输入矩阵的元素的值为零)。如果第一输入矩阵和第二输入矩阵的元素的乘积不具有零值,则定序器将这些元素提供给MAC单元以执行乘法和累加运算。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号