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

Method to_string

src/core/impl/graph/cg_impl.cpp:879–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877}
878
879std::string ComputingGraphImpl::VarReceiverInfo::to_string() const {
880 return mgb_ssprintf_log(
881 "VarReceiverInfo("
882 "nr_direct_comp_req=%zu dev_value=%zu, host_value=%zu, shape=%zu, "
883 "allow_empty_value=%zu)",
884 nr_direct_comp_req, dev_value, host_value, shape, allow_empty_value);
885}
886
887std::string ComputingGraphImpl::get_mem_allocation_info() const {
888#if MGB_ENABLE_JSON

Callers 15

var_node.cppFile · 0.45
to_jsonMethod · 0.45
dump_var_infoMethod · 0.45
var_alloc_with_shapeMethod · 0.45
decr_var_mem_refcntMethod · 0.45
init_output_formatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected