1 #ifndef __STDC_FORMAT_MACROS 2 #define __STDC_FORMAT_MACROS 3 #endif 4 5 // Order of these includes matters, which should be fixed. 6 // clang-format off 7 #include <torch/csrc/python_headers.h> 8 #include <structmember.h> 9 10 #include <torch/csrc/cuda/THCP.h> 11 12 #include <torch/csrc/utils/tensor_numpy.h> 13 #include <torch/csrc/copy_utils.h> 14 #include <torch/csrc/DynamicTypes.h> 15 // clang-format on 16