| #include "store_handler.h" |
| #include <caffe2/core/operator.h> |
| class StoreSetOp final : public Operator<CPUContext> { |
| StoreSetOp(const OperatorDef& operator_def, Workspace* ws); |
| bool RunOnDevice() override; |
| INPUT_TAGS(HANDLER, DATA); |
| class StoreGetOp final : public Operator<CPUContext> { |
| StoreGetOp(const OperatorDef& operator_def, Workspace* ws); |
| bool RunOnDevice() override; |
| class StoreAddOp final : public Operator<CPUContext> { |
| StoreAddOp(const OperatorDef& operator_def, Workspace* ws); |
| bool RunOnDevice() override; |
| class StoreWaitOp final : public Operator<CPUContext> { |
| StoreWaitOp(const OperatorDef& operator_def, Workspace* ws); |
| bool RunOnDevice() override; |
| std::vector<std::string> blobNames_; |