Glossary term
Glossary term
Infrastructure and Serving
The number of dimensions in a Tensor. For example, a scalar has rank 0, a vector has rank 1, and a matrix has rank 2.
Not to be confused with rank (ordinality).
Created for this library
An ML engineer inspects the rank of tensors flowing through the model to confirm shapes match expectations.
A research engineer logs tensor rank during debugging when shape mismatches surface in training.
An ML platform team adds assertions on tensor rank in its production graph to catch shape errors during model loading.
Definition source: Google for Developers Machine Learning Glossary | Creative Commons Attribution 4.0 License