1 #ifndef CAFFE2_NET_ASYNC_TASK_H 2 #define CAFFE2_NET_ASYNC_TASK_H 4 #include "caffe2/core/net_async_base.h" 5 #include "caffe2/core/net_async_task_future.h" 6 #include "caffe2/core/operator.h" 15 AsyncTask(
const std::vector<OperatorBase*>& ops);
21 DeviceOption GetDeviceOption()
const;
27 void handleChainError(
30 bool save_exception =
false);
32 std::vector<OperatorBase*> ops_;
33 DeviceOption device_option_;
39 #endif // CAFFE2_NET_ASYNC_TASK_H A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...