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

Function ggml_gelu

ggml.c:3867–3871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3865// ggml_gelu
3866
3867struct ggml_tensor * ggml_gelu(
3868 struct ggml_context * ctx,
3869 struct ggml_tensor * a) {
3870 return ggml_unary(ctx, a, GGML_UNARY_OP_GELU);
3871}
3872
3873struct ggml_tensor * ggml_gelu_inplace(
3874 struct ggml_context * ctx,

Callers 3

llm_build_ffnFunction · 0.70
mainFunction · 0.50
clip_image_build_graphFunction · 0.50

Calls 1

ggml_unaryFunction · 0.70

Tested by 1

mainFunction · 0.40