Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ clamp
Function
clamp
tensorflow/lite/experimental/ruy/size_util.h:60–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
inline int clamp(int x, int lo, int hi) {
61
if (x < lo) {
62
return lo;
63
} else if (x > hi) {
64
return hi;
65
} else {
66
return x;
67
}
68
}
69
70
} // namespace ruy
71
Callers
2
GetThreadCount
Function · 0.70
TrMul
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected