raise exception if try jit.load non-existent file (#16270)
authornlml <liamsch@gmail.com>
Thu, 24 Jan 2019 00:02:55 +0000 (16:02 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 24 Jan 2019 00:16:18 +0000 (16:16 -0800)
commit4b06c063a5259f50ec4c3cdde621857ea125fa97
tree84ae5fcdf0bcaa8601e486005e39b2e1069decca
parent80bd28bcb2164980006bc92e5698b761e22d4c65
raise exception if try jit.load non-existent file (#16270)

Summary:
addresses https://github.com/pytorch/pytorch/issues/16267
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16270

Differential Revision: D13791773

Pulled By: suo

fbshipit-source-id: 256304a02dbf724a7c0baade48c94b3ee77f53cf
torch/jit/__init__.py