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

Function ggml_compute_forward_relu

ggml.c:8868–8882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8866}
8867
8868static void ggml_compute_forward_relu(
8869 const struct ggml_compute_params * params,
8870 const struct ggml_tensor * src0,
8871 struct ggml_tensor * dst) {
8872 switch (src0->type) {
8873 case GGML_TYPE_F32:
8874 {
8875 ggml_compute_forward_relu_f32(params, src0, dst);
8876 } break;
8877 default:
8878 {
8879 GGML_ASSERT(false);
8880 } break;
8881 }
8882}
8883
8884// ggml_compute_forward_gelu
8885

Callers 1

Calls 1

Tested by

no test coverage detected