#AIGlossary

Broadcasting

Expanding the shape of an operand in a matrix math operation to dimensions compatible for that operation.

For example, linear algebra requires that the two operands in a matrix addition operation must have the same dimensions.

Consequently, you can't add a matrix of shape (m, n) to a vector of length n.

Broadcasting enables this operation by virtually expanding the vector of length n to a matrix of shape (m, n).

#GoogleCloud

https://developers.google.com/machine-learning/glossary#broadcasting

Machine Learning Glossary  |  Google for Developers

Google for Developers