1 #pragma once 2 3 #include <torch/csrc/jit/ir/ir.h> 4 #include <torch/csrc/onnx/onnx.h> 5 6 namespace torch::autograd { 7 8 struct SymbolicContext { 9 jit::Block* block; 10 }; 11 12 struct symbolic_unconvertible : public std::runtime_error { 13 using std::runtime_error::runtime_error; 14 }; 15 16 } // namespace torch::autograd 17