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

Method rename

src/core/impl/graph/symbol_var.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10using namespace cg;
11
12SymbolVar SymbolVar::rename(const std::string& name) const {
13 m_node->name(name);
14 return *this;
15}
16
17SymbolVar SymbolVar::symshape() const {
18 return opr::GetVarShape::make(*this);

Calls 1

nameMethod · 0.45

Tested by 15

test_graph_load_dumpFunction · 0.64
test_metadataFunction · 0.64
test_serializer_APlusBFunction · 0.64
test_serializer_log_expFunction · 0.64
test_serializer_memshareFunction · 0.64
TESTFunction · 0.64