Скаляр — single value, например одно число или одна строка, которое может быть представлено как rank-0 tensor. В machine learning systems scalars часто используются для individual measurements, parameters, losses или metric values.
A single number or a single string that can be represented as a tensor of rank 0. For example, the following lines of code each create one scalar in TensorFlow: