Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
551
void* OwnedBlob::raw_ptr_not_for_readwrite() {
552
return m_storage.get();
553
}
554
555
BorrowedBlob::BorrowedBlob(CompNode cn, std::shared_ptr<OwnedBlob> owner)
556
: Blob(cn, owner->size()),
Callers
2
TEST
Function · 0.45
produce_tensor
Method · 0.45
Calls
1
get
Method · 0.45
Tested by
1
TEST
Function · 0.36