1 #pragma once 2 3 #include <torch/csrc/python_headers.h> 4 5 // This file contains utilities used for handling PyObject preservation 6 7 void clear_slots(PyTypeObject* type, PyObject* self); 8