#include #include #include #include namespace py = pybind11; namespace torch { namespace autograd { void initEnumTag(PyObject* module) { auto m = py::handle(module).cast(); py::enum_(m, "Tag") ${enum_of_valid_tags}; m.doc() = "An Enum that contains tags that can be assigned to an operator registered in C++."; } }}