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