Skip to content

Torch : Hacking with C APIs

Prasun Anand edited this page Sep 2, 2019 · 1 revision

Checkout this section: https://pytorch.org/cppdocs/

In addition to the C++ frontend contained in csrc/api/include , torch supports

  1. ATen/ATen.h
  2. torch/csrc/autograd/variable.h torch/csrc/autograd/variable.h
  3. torchscript (explore later)
  4. C++ extensions (explore later)

The C++ frontend APIs are not required to be understood for working with Python bindings(as I suppose). It just abstracts the C++ functionalities offered by Pytorch.