Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ rep
Function
rep
dnn/src/fallback/resize/opr_impl.cpp:33–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
int osize) {
32
std::vector<std::tuple<float, int, float, int>> table;
33
rep(i, osize) {
34
table.push_back(get_nearest_linear_coord(imode, scale, isize, i));
35
}
36
return table;
37
};
38
Callers
nothing calls this directly
Calls
2
get_nearest_linear_coord
Function · 0.85
push_back
Method · 0.45
Tested by
no test coverage detected