PackedTensorView

template<ScalarType T, int _dim>
struct PackedTensorView

A Tensor’s raw data pointer, stride and shape, passed by value to a compute kernel (CPU or GPU).

Public Types

using DType = T

Public Members

T *data
Sizes stride
Sizes shape

Public Static Attributes

static const int dim