| CPC G06F 9/3001 (2013.01) [G06F 9/30036 (2013.01); G06F 9/30065 (2013.01); G06F 9/3824 (2013.01); G06F 13/28 (2013.01); G06N 3/04 (2013.01); G06N 3/063 (2013.01)] | 14 Claims |

|
1. A machine learning accelerator comprising a tensor traversal unit (TTU) configured to track a respective state of a plurality tensors being processed,
wherein the TTU comprises, for each tensor of the plurality of tensors being processed:
a plurality of counter registers,
a plurality of stride registers, and
a plurality of limit registers,
wherein the TTU is configured to perform operations comprising:
generating an address for a particular tensor element of a tensor based on values stored in respective counter registers, stride registers, and limit registers for the tensor, wherein the machine learning accelerator is configured to obtain one or more tensor values from memory based on the generated address;
receiving an indication of an element of a tensor being committed to the memory; and
in response, incrementing one or more counter registers for the tensor.
|