Broadcasts tensors to a common shape using NumPy-style broadcasting rules.
Arguments
- ...
(
tensorish)
Tensors to broadcast.
Broadcasting Rules
If the tensors have different numbers of dimensions, prepend size-1 dimensions to the shorter shape.
For each dimension: if the sizes match, keep them; if one is 1, expand it to the other's size; otherwise raise an error.