DispatchKeyNativeFunctions.h 384 B

12345678910111213141516171819
  1. #pragma once
  2. // an external backend might generate file within its code tree
  3. // and check all the source files within the tree with clang-format.
  4. // so, disable it since the backend might have a different config.
  5. // clang-format off
  6. // ${generated_comment}
  7. #include <ATen/Tensor.h>
  8. ${namespace_prologue}
  9. struct ${class_name} {
  10. ${dispatch_declarations}
  11. };
  12. ${namespace_epilogue}