Caffe2 - C++ API
A deep learning, cross platform ML framework
Caffe2.h
1 #ifndef NOM_CONVERTERS_CAFFE2_H
2 #define NOM_CONVERTERS_CAFFE2_H
3 
4 #include "nomnigraph/Graph/Graph.h"
5 #include "nomnigraph/Representations/ControlFlow.h"
6 #include "nomnigraph/Representations/NeuralNet.h"
7 #include "caffe2/core/common.h"
8 #include "caffe2/proto/caffe2.pb.h"
9 
10 #include <unordered_map>
11 
12 namespace nom {
13 namespace converters {
14 
15 repr::NNModule convertFromCaffe2Proto(const caffe2::NetDef &net, std::unordered_map<std::string, repr::NNGraph::NodeRef>* blobMapOut = nullptr);
16 caffe2::NetDef convertToCaffe2Proto(repr::NNModule&);
17 
18 } // namespace converters
19 } // namespace nom
20 
21 #endif // NOM_CONVERTERS_CAFFE2_H
Definition: Caffe2.cc:16