Question: why are tensors used in machine learning?
Answer: Tensor In Machine Learning And modern data is often multi-dimensional. Tensors can play an important role in ML by encoding multi-dimensional data. For example, a picture is generally represented by three fields: width, height and depth (color). It makes total sense to encode it as a 3D tensor.