3 #include <torch/csrc/jit/ir.h> 4 #include <torch/csrc/onnx/onnx.h> 9 TORCH_API std::shared_ptr<Graph> ToONNX(
10 std::shared_ptr<Graph>& state,
11 ::torch::onnx::OperatorExportTypes operator_export_type);
12 TORCH_API
void BlockToONNX(
15 ::torch::onnx::OperatorExportTypes operator_export_type,
16 std::unordered_map<Value*, Value*> env);