Skip to content

Commit fa49be2

Browse files
janeyx99pytorchmergebot
authored andcommitted
[docs] Properly link register_post_accumulate_grad_hook docs (pytorch#108157)
it shows up now ![image](https://github.com/pytorch/pytorch/assets/31798555/0aa86839-b9c5-4b4b-b1b1-aa1c0c0abbab) Pull Request resolved: pytorch#108157 Approved by: https://github.com/soulitzer, https://github.com/albanD
1 parent 525b593 commit fa49be2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docs/source/autograd.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ Tensor autograd functions
179179
torch.Tensor.detach
180180
torch.Tensor.detach_
181181
torch.Tensor.register_hook
182+
torch.Tensor.register_post_accumulate_grad_hook
182183
torch.Tensor.retain_grad
183184

184185
:hidden:`Function`

docs/source/name_inference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ If you don't see an operation listed here, but it would help your use case, plea
185185
:meth:`Tensor.reciprocal_`,None
186186
:meth:`Tensor.refine_names`,See documentation
187187
:meth:`Tensor.register_hook`,None
188+
:meth:`Tensor.register_post_accumulate_grad_hook`,None
188189
:meth:`Tensor.rename`,See documentation
189190
:meth:`Tensor.rename_`,See documentation
190191
:attr:`Tensor.requires_grad`,None

docs/source/tensors.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ Tensor class reference
575575
Tensor.reciprocal_
576576
Tensor.record_stream
577577
Tensor.register_hook
578+
Tensor.register_post_accumulate_grad_hook
578579
Tensor.remainder
579580
Tensor.remainder_
580581
Tensor.renorm

0 commit comments

Comments
 (0)