Actually model scalar type promotion in shape analysis (#18811)
authorJames Reed <jamesreed@fb.com>
Thu, 4 Apr 2019 19:53:44 +0000 (12:53 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 4 Apr 2019 19:56:40 +0000 (12:56 -0700)
commit33f4751fb8730def9d746892d1e77fa5fccee7df
treec904953c8334c41442d3f82aab514c8600edf384
parentd108a1abb7b0d12cadf6b106521ceb347b1aab0f
Actually model scalar type promotion in shape analysis (#18811)

Summary:
This was causing some numerical issues in the fuser
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18811

Differential Revision: D14767390

Pulled By: jamesr66a

fbshipit-source-id: f1123d1aab5501abad850d2edc996f8aa8dafe04
test/test_jit.py
torch/csrc/jit/passes/shape_analysis.cpp