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

Method dump_info

src/core/impl/utils/visable_data_set.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void VisableDataSet::dump_info(Content& c) {
72 auto&& content_set = m_file2content[c.file_name()];
73 content_set.insert(c.content_name());
74 auto&& value_list = m_filecontent2value[c.file_name() + "/" + c.content_name()];
75 value_list.push_back(c.to_json());
76}
77
78void VisableDataSet::write_to_file() {
79 for (auto& i : m_file2content) {

Callers 1

dump_to_jsonMethod · 0.80

Calls 3

insertMethod · 0.45
push_backMethod · 0.45
to_jsonMethod · 0.45

Tested by

no test coverage detected