Tensor
A C++ expression template library for computations on N dimensional tensors
ftl::TensorContainer< Dtype, Sizes > Struct Template Reference

Container for tensor data depending on if the tensor is static (dimension sizes, and hence the total number of elements, are known at compile time – uses std::array) or dynamic (dimension sizes are not known at compile time – uses std::vector). More...

#include <tensor_container.hpp>

Detailed Description

template<typename Dtype, size_t... Sizes>
struct ftl::TensorContainer< Dtype, Sizes >

Container for tensor data depending on if the tensor is static (dimension sizes, and hence the total number of elements, are known at compile time – uses std::array) or dynamic (dimension sizes are not known at compile time – uses std::vector).

Template Parameters
DtypeThe type of data used by the tensor
SizesThe sizes of the dimensions (optional)

The documentation for this struct was generated from the following file: