source/neuropod/internal/tensor_accessor.hh [79:95]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
private:
    // `data_` is a container that supports the subscript operator ([]) to access data.
    // For numeric tensor types, this is usually a pointer to a tensor's underlying buffer
    Container data_;

    // `dims_` points to an array containing the dimensions of the tensor
    const int64_t *dims_;

    // `strides_` points to an array containing the strides of a tensor
    const int64_t *strides_;

    // `offset_` is the offset into `data_` where this accessor starts
    const int64_t offset_;

public:
    TensorAccessor(Container data, const int64_t *dims, const int64_t *strides, int64_t offset = 0)
        : data_(data), dims_(dims), strides_(strides), offset_(offset)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/neuropod/internal/tensor_accessor.hh [151:159]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
private:
    Container      data_;
    const int64_t *dims_;
    const int64_t *strides_;
    const int64_t  offset_;

public:
    TensorAccessor(Container data, const int64_t *dims, const int64_t *strides, int64_t offset = 0)
        : data_(data), dims_(dims), strides_(strides), offset_(offset)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



