pytorch
ca845462 - Fixes maybe_broadcast to actually broadcast only when needed (#79298)

Commit
2 years ago
Fixes maybe_broadcast to actually broadcast only when needed (#79298) Adds a `same_shape` util and updates maybe_broadcast to use it; previously maybe_broadcast was always broadcasting because its equality check was always failing. Pull Request resolved: https://github.com/pytorch/pytorch/pull/79298 Approved by: https://github.com/ezyang
Author
Mike Ruberry
Committer
Parents
Loading