Python binding to C++

Hi,
Could someone please shine light in to how current Python and C++ binding works? Are YAML and CWRAP tools still used to do so? Or is JIT used currently do so now? Could you please let me know some details about it?

I need to create C++ backend for functions in torch/distributions? What is the easiest way to get started?

Best wishes,
Amrita Mathuriya

It is better to see following document at first. https://pytorch.org/tutorials/advanced/cpp_extension.html

Also grep “torch._C” in source code will help.