1 #ifndef C10_UTIL_BACKTRACE_H_ 2 #define C10_UTIL_BACKTRACE_H_ 8 #include "c10/macros/Macros.h" 11 C10_API std::string get_backtrace(
12 size_t frames_to_skip = 0,
13 size_t maximum_number_of_frames = 64,
14 bool skip_python_frames =
true);
17 #endif // C10_UTIL_BACKTRACE_H_ To register your own kernel for an operator, do in one (!) cpp file: C10_REGISTER_KERNEL(OperatorHand...