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

Method name

imperative/python/src/tensor.h:82–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 inline ValueRef data() const { return m_data.unwrap(); }
81 bool is_scalar() { return data().is_scalar(); }
82 inline std::string name() { return m_name; }
83 inline size_t value_id() { return m_data.id(); }
84 inline void set_name(std::string name) {
85 m_name = name;

Callers 15

test_replace_varFunction · 0.45
test_replace_oprFunction · 0.45
test_splice_networkFunction · 0.45
test_make_constFunction · 0.45
test_add_inputFunction · 0.45
test_add_remove_outputFunction · 0.45
test_queryFunction · 0.45
init_graph_rtFunction · 0.45
TensorWrapperMethod · 0.45
init_tensorFunction · 0.45
typeid_nameFunction · 0.45

Calls

no outgoing calls

Tested by 8

test_replace_varFunction · 0.36
test_replace_oprFunction · 0.36
test_splice_networkFunction · 0.36
test_make_constFunction · 0.36
test_add_inputFunction · 0.36
test_add_remove_outputFunction · 0.36
test_queryFunction · 0.36