#define TORCH_ASSERT_ONLY_METHOD_OPERATORS #include "torch/csrc/jit/frontend/tracer.h" #include #include "torch/csrc/autograd/function.h" #include "ATen/quantized/Quantizer.h" // ${generated_comment} // See the `Tracer` section in `torch/csrc/jit/OVERVIEW.md`. // NOTE See [Sharded File] comment in VariableType #ifndef AT_PER_OPERATOR_HEADERS #include #else $ops_headers #endif using namespace at; namespace torch { namespace TraceType { namespace { ${trace_method_definitions} } // namespace } // namespace TraceType namespace { TORCH_LIBRARY_IMPL(aten, Tracer, m) { ${trace_wrapper_registrations}; } } // namespace } // namespace torch