#pragma once // @generated by torchgen/gen.py from DispatchKeyFunctions_inl.h // NB: The implementing C++ file is RegisterDispatchKey.cpp // The only #includes we need are for custom classes that have defaults in the C++ API #include #include #include #if defined(AT_PER_OPERATOR_HEADERS) && defined(TORCH_ASSERT_ONLY_METHOD_OPERATORS) #error This change adds a dependency on all pytorch operators, meaning the \ file will need to be re-compiled every time an operator is changed or added. \ Consider including a specific operator from \ . \ See NOTE [TORCH_ASSERT_ONLY_METHOD_OPERATORS]. #endif #include #include #include #include