MCPcopy 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_convergeFunction · 0.95
test_PoissonRNGFunction · 0.95
test_ShuffleRNGFunction · 0.95
test_ExponentialRNGFunction · 0.95
test_add_remove_outputFunction · 0.95
test_dump_cond_takeFunction · 0.95
test_opdef_loaderFunction · 0.95
test_param_pack_splitFunction · 0.95
test_param_pack_concatFunction · 0.95
_shared_nd_testFunction · 0.95
test_shared_ndFunction · 0.95
test_serializationFunction · 0.95

Calls

no outgoing calls

Tested by 15

test_training_convergeFunction · 0.76
test_PoissonRNGFunction · 0.76
test_ShuffleRNGFunction · 0.76
test_ExponentialRNGFunction · 0.76
test_add_remove_outputFunction · 0.76
test_dump_cond_takeFunction · 0.76
test_opdef_loaderFunction · 0.76
test_param_pack_splitFunction · 0.76
test_param_pack_concatFunction · 0.76
_shared_nd_testFunction · 0.76
test_shared_ndFunction · 0.76
test_serializationFunction · 0.76