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

Function ggml_compute_forward_gelu

ggml.c:8927–8941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8925}
8926
8927static void ggml_compute_forward_gelu(
8928 const struct ggml_compute_params * params,
8929 const struct ggml_tensor * src0,
8930 struct ggml_tensor * dst) {
8931 switch (src0->type) {
8932 case GGML_TYPE_F32:
8933 {
8934 ggml_compute_forward_gelu_f32(params, src0, dst);
8935 } break;
8936 default:
8937 {
8938 GGML_ASSERT(false);
8939 } break;
8940 }
8941}
8942
8943// ggml_compute_forward_gelu_quick
8944

Callers 1

Calls 1

Tested by

no test coverage detected