MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / silu_orig

Function silu_orig

tests/test-double-float.cpp:21–23  ·  view source on GitHub ↗

ggml.c::ggml_silu_f32

Source from the content-addressed store, hash-verified

19
20// ggml.c::ggml_silu_f32
21inline static float silu_orig(float x) {
22 return x/(1.0 + exp(-x));
23}
24
25#pragma GCC diagnostic pop
26

Callers 1

mainFunction · 0.70

Calls 1

expFunction · 0.85

Tested by

no test coverage detected