Shortcuts

File variable.h

Parent directory (torch/csrc/autograd)

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

Includes

  • ATen/NamedTensorUtils.h

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

  • ATen/core/VariableHooksInterface.h

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

  • cstdint

  • memory

  • mutex

  • string

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