pycse - Numpy array broadcasting

preview_player
Показать описание
Regular algebra with arrays in Numpy happens elementwise, which means most of the time the arrays have to have the same shape. For some special cases, numpy allows algebra on arrays that do not have the same shape though, through array broadcasting. This video explores what is happening, and how to understand when broadcasting is allowed.
Рекомендации по теме