Add error type to raise statement
authorDaniel Ingram <ingramds@appstate.edu>
Wed, 12 Dec 2018 01:38:58 +0000 (17:38 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 12 Dec 2018 01:41:44 +0000 (17:41 -0800)
commit5c2c40ad871544b4721955c4472fdc7a72628976
treea0533cb5543be68eadfd5ca9b2a254f5544cad3a
parent73ee7fda4cc0fdd5805cde2d2169cbfd48d4e3b9
Add error type to raise statement

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15039

Differential Revision: D13419566

Pulled By: zou3519

fbshipit-source-id: f67a3aebce937e3e640e91e81eb3e184cfdf269c
caffe2/python/model_helper.py