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

Method raw_ptr

src/custom/impl/param_val.cpp:266–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266const void* ParamVal::raw_ptr(void) const {
267 return m_ptr.get();
268}
269
270void* ParamVal::raw_ptr(void) {
271 return m_ptr.get();

Callers 15

ndarray_from_tensorFunction · 0.45
to_dlpackMethod · 0.45
TESTFunction · 0.45
ProfilerPluginMethod · 0.45
create_workspaceMethod · 0.45
TensorMethod · 0.45
make_scalarMethod · 0.45
calcMethod · 0.45
megray_recv_tensorFunction · 0.45
megray_send_tensorFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
dev_ptrFunction · 0.36
test_serializer_memshareFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
create_trt_networkMethod · 0.36
create_trt_networkMethod · 0.36
TESTFunction · 0.36