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

Function ggml_compute_forward_silu

ggml.c:9045–9059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9043}
9044
9045static void ggml_compute_forward_silu(
9046 const struct ggml_compute_params * params,
9047 const struct ggml_tensor * src0,
9048 struct ggml_tensor * dst) {
9049 switch (src0->type) {
9050 case GGML_TYPE_F32:
9051 {
9052 ggml_compute_forward_silu_f32(params, src0, dst);
9053 } break;
9054 default:
9055 {
9056 GGML_ASSERT(false);
9057 } break;
9058 }
9059}
9060
9061// ggml_compute_forward_leaky
9062

Callers 1

Calls 1

Tested by

no test coverage detected