Tensor
A C++ expression template library for computations on N dimensional tensors
|
Traits class which specifies parameters for a tensor, such as what type of container it uses and what type of device the computations should be performed on. More...
#include <tensor_traits.hpp>
Traits class which specifies parameters for a tensor, such as what type of container it uses and what type of device the computations should be performed on.
Dtype | The type of data used by the container |
DeviceType | The type of device used for computation – CPU or GPU |
DimSizes | The sizes of each of the dimensions of the tensor – an optional parameters. This parameter is used to determine the container type – static if the dimension sizes are specified or dynamic if they are not. |