disable batch mm if we have mutable ops (#14771)
authorMichael Suo <suo@fb.com>
Tue, 4 Dec 2018 22:28:10 +0000 (14:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 4 Dec 2018 22:34:57 +0000 (14:34 -0800)
commit53a9d4f3121f634d92336ea7d26122fccc7c1418
treecb0c65cf6957124926c0b10eb5547d37814745cd
parent5ed9dfad982a4e20a51fdf30d3620e76b87ecff4
disable batch mm if we have mutable ops (#14771)

Summary:
Just to be safe, disable batch mm for mutable ops. We don't lose much for doing this, and we can go back at a calmer time to re-enable.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14771

Reviewed By: eellison

Differential Revision: D13327641

Pulled By: suo

fbshipit-source-id: 96611e21ed3cb8492a2cd040f7d33fb58c52bd5e
torch/csrc/jit/passes/batch_mm.cpp