Glossary term
Glossary term
Infrastructure and Serving
The number of elements a Tensor contains in various dimensions. For example, a [5, 10] Tensor has a shape of 5 in one dimension and 10 in another.
Created for this library
An ML engineer logs tensor shape at each layer to catch shape mismatches early in training.
A research engineer adds shape assertions on production tensors so loading fails loudly on shape errors.
An ML platform team standardizes tensor shape conventions across teams so models can be composed without surprises.
Definition source: Google for Developers Machine Learning Glossary | Creative Commons Attribution 4.0 License