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

Method raw_ptr_not_for_readwrite

imperative/src/impl/physical_tensor.cpp:551–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551void* OwnedBlob::raw_ptr_not_for_readwrite() {
552 return m_storage.get();
553}
554
555BorrowedBlob::BorrowedBlob(CompNode cn, std::shared_ptr<OwnedBlob> owner)
556 : Blob(cn, owner->size()),

Callers 2

TESTFunction · 0.45
produce_tensorMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 1

TESTFunction · 0.36