MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_sigmoid

Function ggml_sigmoid

subprojects/llama.cpp/ggml/src/ggml.c:2665–2669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2663// ggml_sigmoid
2664
2665struct ggml_tensor * ggml_sigmoid(
2666 struct ggml_context * ctx,
2667 struct ggml_tensor * a) {
2668 return ggml_unary(ctx, a, GGML_UNARY_OP_SIGMOID);
2669}
2670
2671struct ggml_tensor * ggml_sigmoid_inplace(
2672 struct ggml_context * ctx,

Callers 14

buildMethod · 0.85
build_moe_ffnMethod · 0.85
llm_build_afmoeMethod · 0.85
build_rwkv6_time_mixMethod · 0.85
build_rwkv7_time_mixMethod · 0.85
build_layer_attnMethod · 0.85
build_layer_ffnMethod · 0.85
build_graphMethod · 0.85

Calls 1

ggml_unaryFunction · 0.85

Tested by 1

build_graphMethod · 0.68