Contiguous compute APIs support computation of the first
n data elements of a tensor. They compute
n contiguous data elements of the source operand and contiguously write the data to the destination operand to solve the contiguous compute problem of the one-dimensional tensor.
The following figure uses vector addition as an example to show the characteristics of contiguous compute APIs.
Figure 1 Characteristics of contiguous compute APIs