20 #include <tensor/tensor.h>
34 new_dims.at(0) = length;
42 new_dims.at(0) = rows;
43 new_dims.at(1) = cols;
84 index d4, index d5, index d6)
Real Tensor with elements of type "double".
const RTensor reshape(const RTensor &t, const Indices &new_dims)
Return a RTensor with same data and given dimensions.
Vector of 'index' type, where 'index' fits the indices of a tensor.