Caffe2 - C++ API
A deep learning, cross platform ML framework
device.h
1 #include "caffe2/core/common.h"
2 #include "nomnigraph/Representations/NeuralNet.h"
3 
4 namespace caffe2 {
5 namespace opt {
6 
7 CAFFE2_API void insertCopies(
9  std::function<bool(nom::repr::NNGraph::NodeRef)> supported,
10  std::function<nom::repr::NNGraph::NodeRef(nom::repr::NNGraph&)> copyToFn,
11  std::function<nom::repr::NNGraph::NodeRef(nom::repr::NNGraph&)> copyFromFn);
12 
13 } // namespace opt
14 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13
A simple graph implementation.
Definition: Graph.h:29