blob: 9cfae4ef52a8132e8232f16d37161e9faba2e018 [file] [log] [blame]
#pragma once
#include "torch/csrc/jit/ir.h"
namespace torch { namespace jit {
// Exports a graph to ONNX
std::string ExportGraph(std::shared_ptr<Graph>& graph,
const std::unordered_map<void*, Node*>& buffer_map,
const std::vector<at::Tensor> & initializers,
bool verbose=false);
}}