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

Method get_ref_ptr

src/core/include/megbrain/tensor.h:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266 }
267
268 std::shared_ptr<void*> get_ref_ptr() const {
269 ptr();
270 return m_ref_ptr;
271 }
272
273private:
274 template <class T>

Callers 2

copy_fromMethod · 0.45
as_megdnnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected