Caffe2 - C++ API
A deep learning, cross platform ML framework
redis_store_handler_op.cc
1 #include "redis_store_handler_op.h"
2 
3 namespace caffe2 {
4 
5 REGISTER_CPU_OPERATOR(
6  RedisStoreHandlerCreate,
7  RedisStoreHandlerCreateOp<CPUContext>);
8 
9 OPERATOR_SCHEMA(RedisStoreHandlerCreate)
10  .NumInputs(0)
11  .NumOutputs(1)
12  .SetDoc(R"DOC(
13 Creates a unique_ptr<StoreHandler> that uses a Redis server as backing store.
14 )DOC")
15  .Arg("host", "host name of Redis server")
16  .Arg("port", "port number of Redis server")
17  .Arg("prefix", "keys used by this instance are prefixed with this string")
18  .Output(0, "handler", "unique_ptr<StoreHandler>");
19 
20 NO_GRADIENT(RedisStoreHandlerCreateOp);
21 
22 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13