Tensor reshaping (source code)

= Tensor reshaping
{wiki=Tensor_reshaping}

Tensor reshaping is the process of changing the shape or dimensions of a tensor without altering its data. A tensor is a mathematical object that can be thought of as a generalization of scalars, vectors, and matrices to higher dimensions. In machine learning and data manipulation, tensors are commonly used to represent multi-dimensional data.