Shortcuts

File function.h

Parent directory (torch/csrc/autograd)

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

Includes

  • ATen/SequenceNumber.h

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

  • ATen/record_function.h

  • algorithm

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

  • c10/util/irange.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/graph_task.h

  • torch/csrc/autograd/input_metadata.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