Scalar definition :
A scalar is simply a single number. In the area of machine learning scalars can reveal themselves to be very helpful aspecially to keep track of the improvement of
accuracy, the reduction in the loss function during training or to study the standard deviation of weight distribution.