[docs] Properly link register_post_accumulate_grad_hook docs (#108157)

it shows up now

![image](https://github.com/pytorch/pytorch/assets/31798555/0aa86839-b9c5-4b4b-b1b1-aa1c0c0abbab)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/108157
Approved by: https://github.com/soulitzer, https://github.com/albanD
This commit is contained in:
Jane Xu 2023-08-29 08:39:50 -07:00 committed by PyTorch MergeBot
parent 525b593954
commit fa49be2a49
3 changed files with 3 additions and 0 deletions

View file

@ -179,6 +179,7 @@ Tensor autograd functions
torch.Tensor.detach
torch.Tensor.detach_
torch.Tensor.register_hook
torch.Tensor.register_post_accumulate_grad_hook
torch.Tensor.retain_grad
:hidden:`Function`

View file

@ -185,6 +185,7 @@ If you don't see an operation listed here, but it would help your use case, plea
:meth:`Tensor.reciprocal_`,None
:meth:`Tensor.refine_names`,See documentation
:meth:`Tensor.register_hook`,None
:meth:`Tensor.register_post_accumulate_grad_hook`,None
:meth:`Tensor.rename`,See documentation
:meth:`Tensor.rename_`,See documentation
:attr:`Tensor.requires_grad`,None

View file

@ -575,6 +575,7 @@ Tensor class reference
Tensor.reciprocal_
Tensor.record_stream
Tensor.register_hook
Tensor.register_post_accumulate_grad_hook
Tensor.remainder
Tensor.remainder_
Tensor.renorm