Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ numpy
Method
numpy
imperative/python/src/tensor.h:73–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
}
72
}
73
inline HostValue::ref_t numpy() { return data().numpy(); }
74
inline void reset(ValueRef value) {
75
m_data = value;
76
if (!m_name.empty()) {
Callers
15
test_training_converge
Function · 0.95
test_PoissonRNG
Function · 0.95
test_ShuffleRNG
Function · 0.95
test_ExponentialRNG
Function · 0.95
test_add_remove_output
Function · 0.95
test_dump_cond_take
Function · 0.95
test_opdef_loader
Function · 0.95
test_param_pack_split
Function · 0.95
test_param_pack_concat
Function · 0.95
_shared_nd_test
Function · 0.95
test_shared_nd
Function · 0.95
test_serialization
Function · 0.95
Calls
no outgoing calls
Tested by
15
test_training_converge
Function · 0.76
test_PoissonRNG
Function · 0.76
test_ShuffleRNG
Function · 0.76
test_ExponentialRNG
Function · 0.76
test_add_remove_output
Function · 0.76
test_dump_cond_take
Function · 0.76
test_opdef_loader
Function · 0.76
test_param_pack_split
Function · 0.76
test_param_pack_concat
Function · 0.76
_shared_nd_test
Function · 0.76
test_shared_nd
Function · 0.76
test_serialization
Function · 0.76