| CPC H03M 7/3082 (2013.01) [G06F 16/2237 (2019.01); G06N 3/063 (2013.01); G06N 3/04 (2013.01); G06N 3/08 (2013.01)] | 20 Claims |

|
1. An apparatus for performing a multiply-accumulate (MAC) operation, the apparatus comprising:
a memory to:
store a compressed tensor, the compressed tensor comprising one or more nonzero-valued elements in a tensor associated with the MAC operation, the tensor associated with the MAC operation further comprises one or more zero-valued elements, and
store a sparsity bitmap, the sparsity bitmap encoding one or more positions of the one or more nonzero-valued elements in the tensor associated with the MAC operation;
a processing element to perform the MAC operation using a nonzero-valued element stored in the memory; and
a multiplexer associated with the processing element, the multiplexer to:
receive a signal generated based on the sparsity bitmap,
select, based on the signal, the nonzero-valued element from the one or more non-zero elements, and
transmit the nonzero-valued element from the memory to the processing element.
|