Glossary term
Glossary term
Foundations
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:
breed = tf.Variable("poodle", tf.string)
temperature = tf.Variable(27, tf.int16)
precision = tf.Variable(0.982375101275, tf.float64)
Created for this library
An ML team logs scalar values like loss and accuracy each step to monitor training progress.
A research engineer treats per-step loss as a scalar to plot training and validation curves in TensorBoard.
An ML platform team stores scalar evaluation summaries in its experiment tracking system for cross-run comparison.
Definition source: Google for Developers Machine Learning Glossary | Creative Commons Attribution 4.0 License