Allow ScriptModule(optimize=False) when jit disabled (#16297)
authorDavid Riazati <davidriazati@fb.com>
Thu, 31 Jan 2019 19:58:56 +0000 (11:58 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 31 Jan 2019 20:29:15 +0000 (12:29 -0800)
commit26565046acaaffab037ae24a331eec89f2be935b
treeddadc4c5fa313c3c6e02ef34304a6ff60eb3f70b
parent20d45c43d773716a8ae02aff242e482d7f99e5fe
Allow ScriptModule(optimize=False) when jit disabled (#16297)

Summary:
Fixes #16285
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16297

Differential Revision: D13797276

Pulled By: driazati

fbshipit-source-id: 3a93500d4233cfbb8f5af7feba43f6ff4c3d22c7
torch/jit/__init__.py