In this article, we will explore the concept of tensors in the context of machine learning.

From the perspective of someone building a neural network, tensors provide a way to store input data.

Tensors are also used to store the weights and biases that make up neural networks.

Types of Tensors

When inputs contain only a single value, we call it a scalar. In tensor terminology, this is a 0-dimensional tensor.