CPC G06F 3/0656 (2013.01) [G06F 3/0613 (2013.01); G06F 3/0625 (2013.01); G06F 3/0679 (2013.01); G06F 7/5443 (2013.01)] | 20 Claims |
1. A method for reusing data of multiply and accumulate (MAC) operations, the method comprising:
storing, in a first buffer, a first activation context of a plurality of activation contexts;
storing, in a second buffer, a first weight context of a plurality of weight contexts;
determining whethera second weight context of the plurality of weight contexts is to be processed;
in response to determining that the second weight context is to be processed, maintaining the first activation context in the first buffer;
determining whethera second activation context of the plurality of activation contexts is to be processed; and
in response to determining that the second activation context is to be processed, maintaining the first weight context in the second buffer.
|