Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ writeback_val
Method
writeback_val
dnn/src/common/roi_align_helper.h:94–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
}
93
}
94
MEGDNN_HOST MEGDNN_DEVICE void writeback_val(T& val) { val = cnt > 0 ? maxval : 0; }
95
MEGDNN_HOST MEGDNN_DEVICE void writeback_idx(int& idx) { idx = maxidx; }
96
};
97
Callers
2
forward_impl
Function · 0.45
forward_impl
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected