pytorch/docs/source/notes
double7 685108b201 [docs] Fix incorrect wrapping of function (#94446)
The sample code of document incorrectly wraps the function decorator. To fix this, update the attributes of `func` based on `torch_function`.

Fixes #94305

Pull Request resolved: https://github.com/pytorch/pytorch/pull/94446
Approved by: https://github.com/ezyang
2023-02-09 16:01:10 +00:00
..
amp_examples.rst [AMP] Use generic autocast in example, specify dtype (#79579) 2022-06-17 21:32:51 +00:00
autograd.rst [docs] Add section about tensor hooks on in-place in autograd note (#93116) 2023-02-01 17:35:21 +00:00
broadcasting.rst
cpu_threading_runtimes.svg
cpu_threading_torchscript_inference.rst
cpu_threading_torchscript_inference.svg
cuda.rst Add device_idx to free_fn in CUDAPluggableAllocator (#91398) 2023-01-12 05:03:48 +00:00
ddp.rst Fix typo under docs directory (#91871) 2023-01-10 22:33:36 +00:00
extending.func.rst [autograd.Function] setup_context always appears on the Function (#92312) 2023-01-18 02:55:42 +00:00
extending.rst [docs] Fix incorrect wrapping of function (#94446) 2023-02-09 16:01:10 +00:00
faq.rst
gradcheck.rst
hip.rst Tweak formatting of note on macros (#89598) 2022-11-28 20:42:30 +00:00
large_scale_deployments.rst
modules.rst Fix typo under docs directory (#87583) 2022-10-24 23:52:44 +00:00
mps.rst update mps note with more details (#78669) 2022-06-02 20:53:19 +00:00
multiprocessing.rst
numerical_accuracy.rst [cuBLAS] Add an option to disable reduced precision reductions for BF16 GEMM (#89172) 2022-12-21 18:58:28 +00:00
randomness.rst Improve reproducibility docs for RNG (#78849) 2022-06-06 14:53:59 +00:00
serialization.rst Fix missing indentation in serialization.rst (#91253) 2022-12-21 20:14:44 +00:00
windows.rst