Don't enforce docstrings on bool dispatch (#15306)
authorDavid Riazati <davidriazati@fb.com>
Mon, 17 Dec 2018 22:38:46 +0000 (14:38 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 17 Dec 2018 22:41:05 +0000 (14:41 -0800)
commitdf4c9471eccb16f6f1c2966803d16f86187e9ed7
tree6d7101068f395a8e3a2c48b70302655e282c43db
parent95d3fed68fcdfd3d26e26c4870dc2bbb46caa71a
Don't enforce docstrings on bool dispatch (#15306)

Summary:
Allows 2 functions that are boolean dispatched to have no docstrings (the only case that will fail now is if both functions have docstrings)

Fixes #15281
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15306

Differential Revision: D13494884

Pulled By: driazati

fbshipit-source-id: 65fec39ae03a7d6a68ad617c9b270faeb1617930
torch/_jit_internal.py