| 595 | } |
| 596 | |
| 597 | void LoadParamNaive(const std::string &path, |
| 598 | lite::Scope *scope, |
| 599 | const std::string &name) { |
| 600 | // Load param |
| 601 | naive_buffer::BinaryTable table; |
| 602 | table.LoadFromFile(path); |
| 603 | naive_buffer::proto::ParamDesc pt_desc(&table); |
| 604 | pt_desc.Load(); |
| 605 | naive_buffer::ParamDesc desc(&pt_desc); |
| 606 | GetParamInfoNaive(desc, scope, name); |
| 607 | } |
| 608 | |
| 609 | void LoadCombinedParamsNaive(const std::string &path, |
| 610 | const uint64_t &offset, |