Represents a non-owning view into a tensor specifying an offset and a subspan. This is useful for specifying a slice of a tensor on the GPU without copying the data. More...
#include <gpu.h>
Public Attributes | |
Tensor | data |
size_t | offset = 0 |
size_t | span = 0 |
Represents a non-owning view into a tensor specifying an offset and a subspan. This is useful for specifying a slice of a tensor on the GPU without copying the data.