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

Method _get_result

imperative/python/src/graph_rt.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 : m_comp_graph{cg}, m_profiler{m_comp_graph.get()} {}
37
38 std::string _get_result() {
39 auto json = m_profiler.to_json_full(m_comp_graph->current_comp_seq());
40 return json->to_string();
41 }
42};
43
44struct WeakRendezvousArray : public std::vector<std::weak_ptr<RendezvousBase>>,

Callers 1

init_graph_rtFunction · 0.80

Calls 3

to_json_fullMethod · 0.80
current_comp_seqMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected