vt::expand_dims_lhs#
-
template<typename T, size_t N, size_t D>
Tensor<T, N + D> vt::expand_dims_lhs(const Tensor<T, N> &x)# Expand the dimensions of the tensor on the left side.
- Template Parameters:
T – Data type of the tensor.
N – Number of dimensions of the tensor.
D – Number of dimensions to expand.
- Parameters:
x – The tensor object.
- Returns:
Tensor<T, N + D>