1 #include "python_functions.h" 9 #include "torch/csrc/autograd/python_cpp_function.h" 11 namespace torch {
namespace autograd {
namespace generated {
14 static void addClass(PyTypeObject& type,
const char* name,
15 PyGetSetDef* function_properties=NULL, PyMethodDef* function_methods=NULL)
17 _initFunctionPyTypeObject(type, name, function_properties, function_methods);
19 registerCppFunction(
typeid(
C), &type);
22 void initialize_autogenerated_functions() {
23 ${py_function_initializers}