Shortcuts

File function.h

Parent directory (torch/csrc/autograd)

Definition (torch/csrc/autograd/function.h)

Includes

  • ATen/ATen.h (File ATen.h)

  • ATen/SequenceNumber.h

  • algorithm

  • c10/util/Exception.h (File Exception.h)

  • cstdint

  • initializer_list

  • memory

  • string

  • torch/csrc/autograd/anomaly_mode.h

  • torch/csrc/autograd/edge.h

  • torch/csrc/autograd/grad_mode.h

  • torch/csrc/autograd/input_metadata.h

  • torch/csrc/autograd/profiler.h

  • torch/csrc/autograd/saved_variable.h

  • torch/csrc/autograd/variable.h (File variable.h)

  • torch/csrc/utils/python_stub.h

  • torch/csrc/utils/variadic.h

  • utility

  • vector

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources