aten_interned_strings.h 805 B

12345678910111213141516171819202122
  1. #pragma once
  2. // ${generated_comment}
  3. #if defined(TORCH_ASSERT_NO_OPERATORS) || defined(TORCH_ASSERT_ONLY_METHOD_OPERATORS)
  4. #error This change adds a dependency on native_functions.yaml, \
  5. meaning the file will need to be re-compiled every time an operator \
  6. is changed or added. Consider if including <ATen/core/symbol.h> for \
  7. the c10::Symbol class would be sufficient, or if your change would be \
  8. better placed in another file.
  9. #endif
  10. // ATen symbols correspond exactly to operators defined in ATen. Every
  11. // symbol here corresponds exactly to an ATen operation defined in
  12. // native_functions.yaml; attributes are in one-to-one correspondence
  13. // with their ATen name.
  14. #define FORALL_ATEN_BASE_SYMBOLS(_) \
  15. ${aten_symbols}
  16. #define FORALL_ATTR_BASE_SYMBOLS(_) \
  17. ${attr_symbols}