1 #include <c10/macros/Macros.h> 2 #include <torch/csrc/jit/backends/backend_debug_info.h> 3 4 namespace torch { 5 namespace jit { 6 namespace backend { 7 namespace { 8 #ifdef BUILD_LITE_INTERPRETER 9 static auto cls = torch::class_<PyTorchBackendDebugInfoDummy>( 10 kBackendUtilsNamespace, 11 kBackendDebugInfoClass) 12 .def(torch::init<>()); 13 #else 14 static auto cls = torch::class_<PyTorchBackendDebugInfo>( 15 kBackendUtilsNamespace, 16 kBackendDebugInfoClass) 17 .def(torch::init<>()); 18 #endif 19 20 } // namespace 21 } // namespace backend 22 } // namespace jit 23 } // namespace torch 24