enable shape inference for elementwise operators (#17885)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17885
enable shape inference for elementwise operators
Reviewed By: yinghai
Differential Revision: D14411014
fbshipit-source-id: b19bcaabb2bba26fb79745ec84af0e4e5ed18ff0