Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegCC
/ normalize
Method
normalize
compiler/test/kernel/common/cc_proxy.h:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
int start;
15
int end;
16
void normalize(int len) {
17
start = start < 0 ? start + len : start;
18
end = end < 0 ? end + len : end;
19
}
20
};
21
22
} // namespace
Callers
2
fused_elemwise_exec
Method · 0.80
exec
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected