[special] use __all__ to hide internal imports (#63135)
authorkshitij12345 <kshitijkalambarkar@gmail.com>
Thu, 19 Aug 2021 19:40:37 +0000 (12:40 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 19 Aug 2021 19:45:43 +0000 (12:45 -0700)
commitd986d4bf6354bc02d5e68eaaea60b02234a4449f
treed30d4013748c5cf673c89dcca4ba9c917565108b
parent0c3904d18061ea31c9fe1bded5893ffb07f0a4b5
[special] use __all__ to hide internal imports (#63135)

Summary:
Reference: https://github.com/pytorch/pytorch/issues/50345

Pull Request resolved: https://github.com/pytorch/pytorch/pull/63135

Reviewed By: ngimel

Differential Revision: D30364287

Pulled By: mruberry

fbshipit-source-id: 20078668943fafa45ce09610634b1d2c424b1922
torch/special/__init__.py