Caffe2 - C++ API
A deep learning, cross platform ML framework
onnx.h
1 #pragma once
2 
3 #include <torch/csrc/jit/ir.h>
4 #include <torch/csrc/onnx/onnx.h>
5 
6 namespace torch {
7 namespace jit {
8 
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(
13  Block* old_block,
14  Block* new_block,
15  ::torch::onnx::OperatorExportTypes operator_export_type,
16  std::unordered_map<Value*, Value*> env);
17 
18 } // namespace jit
19 } // namespace torch
Definition: jit_type.h:17