Patent ID: 11972349
Assignee: META PLATFORMS, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
receive instructions to perform convolution on an input tensor using weights in a filter tensor;
determine a size of a first dimension of the input tensor;
in response to determining that the size is less than a processing capacity of each of one or more subarrays of computation units in a tensor processor, select a second dimension of the input tensor along which to perform the convolution;
select, based on the second dimension, one or more dimensions of the filter tensor;
generate (1) first instructions for reading, using vector read operations, activation elements in the input tensor organized such that activation elements with different values in the second dimension are stored contiguously in memory, and (2) second instructions for reading weights of the filter tensor along the selected one or more dimensions; and
use the first instructions and the second instructions to provide the activation elements and the weights to the one or more subarrays.