3 #include "caffe2/core/net.h" 4 #include "caffe2/core/tensor.h" 10 using TensorVector = std::vector<TensorCPU*>;
14 const NetDef& init_net,
15 const NetDef& run_net,
27 void run(
const TensorVector& inputs, TensorVector* outputs);
29 const NetDef& def()
const {
Workspace is a class that holds all the related objects created during runtime: (1) all blobs...
Simple registry implementation in Caffe2 that uses static variables to register object creators durin...