MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ModelParser

Method ModelParser

lite/src/parse_model/model_parser.h:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15class ModelParser {
16public:
17 ModelParser(std::shared_ptr<void> model_ptr, size_t model_length)
18 : m_model(model_ptr), m_total_length(model_length) {
19 //! parse the header
20 parse_header();
21 }
22
23 //! parse the Info part of the model, update the network_config and
24 //! network_io

Callers

nothing calls this directly

Calls 1

parse_headerFunction · 0.50

Tested by

no test coverage detected