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

Function ggml_relu

ggml.c:3845–3849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3843// ggml_relu
3844
3845struct ggml_tensor * ggml_relu(
3846 struct ggml_context * ctx,
3847 struct ggml_tensor * a) {
3848 return ggml_unary(ctx, a, GGML_UNARY_OP_RELU);
3849}
3850
3851struct ggml_tensor * ggml_relu_inplace(
3852 struct ggml_context * ctx,

Callers 3

llm_build_ffnFunction · 0.70
llm_build_ffn_sparseFunction · 0.70
mainFunction · 0.50

Calls 1

ggml_unaryFunction · 0.70

Tested by 1

mainFunction · 0.40