79698228

Date: 2025-07-11 11:06:55
Score: 1.5
Natty:
Report link

If two arrays differ in size, then they are added together by broadcasting.

If the arrays have different numbers of dimensions (axes), the shape of the array with a smaller dimension is complemented by units on the left.

Thus, an array of dimension (3,) can be transformed into an array of dimension (1, 3), but not into an array of dimension (3, 1).

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anenokil