100 size_t first_axis_end);
112 using std::runtime_error::runtime_error;
Implements the mathematical concept of tensor, which is a magnitude of multiple order....
Exceptions concerning txeo::Tensor.
A utility class for partitioning tensors.
TensorPart & operator=(const TensorPart &)=delete
static txeo::Tensor< T > slice(const txeo::Tensor< T > &tensor, size_t first_axis_begin, size_t first_axis_end)
Returns a view of the tensor from a specified range of dimensions of the first axis.
TensorPart(const TensorPart &)=delete
TensorPart & operator=(TensorPart &&)=delete
static std::vector< txeo::Tensor< T > > unstack(const txeo::Tensor< T > &tensor, size_t axis)
Unstacks a tensor along a specified axis into a list of tensors.
TensorPart(TensorPart &&)=delete