MCPcopy Create free account
hub / github.com/dmlc/parameter_server / InfoParser

Class InfoParser

src/data/info_parser.h:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8static const int kSlotIDmax = 4096;
9
10class InfoParser {
11 public:
12 // void init(const DataConfig& conf) { conf_ = conf; }
13 bool add(const Example& ex);
14 void clear();
15 ExampleInfo info();
16 // int maxSlotID() { return conf_.ignore_fea_slot() ? 2 : kSlotIDmax; }
17 private:
18 // DataConfig conf_;
19 size_t num_ex_ = 0;
20 ExampleInfo info_;
21 SlotInfo slot_info_[kSlotIDmax];
22};
23
24} // namespace PS

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected