I’m trying to figure out how the python bindings are generated as I see that pybind is used in some cases but it also seems like some python bindings are generated by custom files: https://github.com/pytorch/pytorch/blob/master/tools/setup_helpers/generate_code.py 18
Understanding how and why this works will be super helpful to me as I am trying to create C# bindings for libtorch.