Shortcuts

File python.h

Parent directory (torch/csrc/api/include/torch)

Definition (torch/csrc/api/include/torch/python.h)

Includes

  • iterator (File iterator.h)

  • string

  • torch/csrc/Device.h

  • torch/csrc/Dtype.h

  • torch/csrc/DynamicTypes.h

  • torch/csrc/Exceptions.h

  • torch/csrc/autograd/python_variable.h

  • torch/csrc/python_headers.h

  • torch/csrc/utils/pybind.h

  • torch/csrc/utils/python_numbers.h

  • torch/csrc/utils/python_tuples.h

  • torch/detail/static.h

  • torch/nn/module.h (File module.h)

  • torch/ordered_dict.h (File ordered_dict.h)

  • torch/types.h (File types.h)

  • unordered_map

  • 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