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

Method set_reset_callback

lite/src/mge/tensor_impl.cpp:443–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443void TensorImplDft::set_reset_callback(const std::function<void(TensorImplDft*)>& cb) {
444 m_reset_callback = cb;
445}
446
447void TensorImplDft::set_get_memory_callback(
448 const std::function<void(TensorImplDft*)>& cb) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected