Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ silu_float
Function
silu_float
smallthinker/tests/test-double-float.cpp:31–33 ·
view source on GitHub ↗
ggml.c::ggml_silu_f32
Source
from the content-addressed store, hash-verified
29
30
// ggml.c::ggml_silu_f32
31
inline static float silu_float(float x) {
32
return x/(1.0f + expf(-x));
33
}
34
35
int main(void) {
36
uint32_t x = UINT32_MAX;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected