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