Shortcuts

File variable.h

Parent directory (torch/csrc/autograd)

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

Includes

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

  • ATen/NamedTensorUtils.h

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

  • cstdint

  • memory

  • mutex

  • stdexcept

  • string

  • torch/csrc/WindowsTorchApiMacro.h

  • torch/csrc/autograd/cpp_hook.h

  • torch/csrc/autograd/edge.h

  • torch/csrc/autograd/forward_grad.h

  • torch/csrc/autograd/function_hook.h

  • torch/csrc/utils/python_stub.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