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

Method to_string

src/core/include/megbrain/comp_node.h:424–430  ·  view source on GitHub ↗

get string representation

Source from the content-addressed store, hash-verified

422
423 //! get string representation
424 std::string to_string() const {
425 return m_impl ? mgb::ssprintf(
426 "CompNode(\"%s\" from \"%s\")",
427 to_string_physical().c_str(),
428 to_string_logical().c_str())
429 : "invalid";
430 }
431
432 //! get string representation of physical device
433 std::string to_string_physical() const {

Callers 3

to_string_physicalMethod · 0.45
to_string_logicalMethod · 0.45
log_mem_pool_detailsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected