Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
torch
csrc
jit
netdef_converter.h
1
#pragma once
2
#include <caffe2/proto/caffe2_pb.h>
3
#include <torch/csrc/jit/ir.h>
4
#include <unordered_map>
5
6
namespace
torch
{
7
namespace
jit {
8
18
void
convertNetDefToIR(
19
const
caffe2::NetDef& net,
20
Graph* graph,
21
std::unordered_map<std::string, Value*>* valueMapPtr =
nullptr
,
22
const
std::string& prefix =
""
);
23
37
void
convertIRToNetDef(
38
caffe2::NetDef* net,
39
const
Graph& graph,
40
const
std::string& prefix =
""
);
41
42
}
// namespace jit
43
}
// namespace torch
torch
Definition:
jit_type.h:17
Generated on Thu Mar 21 2019 13:06:23 for Caffe2 - C++ API by
1.8.11