Patent ID: 11882206
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 14:
15. A computer program product comprising a non-transitory computer-readable storage medium having program instructions embodied therewith, the program instructions executable by at least one hardware processor to:
receive an input tensor, wherein said input tensor has a shape defined by [n1, . . . , nk], where k is equal to a number of dimensions that characterize the input tensor;
receive tile tensor metadata comprising at least: (i) a tile tensor shape defined by [t1, . . . , tk], and (ii) information indicative of an interleaving stride to be applied with respect to each dimension of said tile tensor; and
construct an output tensor comprising a plurality of said tile tensors, by applying a packing algorithm which maps each element of said input tensor to at least one slot location of one of said plurality of tile tensors, based, at least in part, on said tile tensor shape and said interleaving stride,
wherein said interleaving stride results in non-contiguous mapping of said elements of said input tensor, such that each of said tile tensors includes a subset of said elements of said input tensor which are spaced within said input tensor according to said interleaving stride.