3 #include <caffe2/distributed/store_handler.h> 9 explicit FileStoreHandler(
const std::string& path,
const std::string& prefix);
12 virtual void set(
const std::string& name,
const std::string& data)
override;
14 virtual std::string
get(
15 const std::string& name,
16 const std::chrono::milliseconds& timeout = kDefaultTimeout)
override;
18 virtual int64_t add(
const std::string& name, int64_t value)
override;
20 virtual bool check(
const std::vector<std::string>& names)
override;
23 const std::vector<std::string>& names,
24 const std::chrono::milliseconds& timeout = kDefaultTimeout)
override;
27 std::string basePath_;
29 std::string realPath(
const std::string& path);
31 std::string tmpPath(
const std::string& name);
33 std::string objectPath(
const std::string& name);
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...