| 8 | static const int kSlotIDmax = 4096; |
| 9 | |
| 10 | class 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 |
nothing calls this directly
no outgoing calls
no test coverage detected