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

Method release

src/serialization/test/extern_c_opr.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 static void release(MGBOprDesc* self) {
47 delete user_data(self);
48 delete self;
49 --nr_inst;
50 }
51
52 static size_t hash(const MGBOprDesc* self) {
53 return mgb::hash<float>(user_data(self)->bias);

Callers 4

makeMethod · 0.45
check_execMethod · 0.45
write_fileMethod · 0.45
DoAllocBuffersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected