[Doc] Deprecation notice for only_inputs argument (#63631)
author北海若 <flandre@scarletx.cn>
Fri, 20 Aug 2021 22:45:12 +0000 (15:45 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 20 Aug 2021 22:49:49 +0000 (15:49 -0700)
commitefe01c59e3f64979bf054af8a70705f41b65db4e
tree9ba60537050ca77f9510b7232d8e152be897e798
parentbcf8e2f57eb8fdcf294276f3f5763b3e42fccec8
[Doc] Deprecation notice for only_inputs argument (#63631)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/63544.

Changed docstring accordingly. I'm new here, not sure if the style is okay. Please check.

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

Reviewed By: ejguan

Differential Revision: D30459439

Pulled By: soulitzer

fbshipit-source-id: 8df3c509d1dd39764815b099ab47229550126cbe
torch/autograd/__init__.py