| 8160 | |
| 8161 | |
| 8162 | static void ggml_compute_forward_sum( |
| 8163 | const struct ggml_compute_params * params, |
| 8164 | const struct ggml_tensor * src0, |
| 8165 | struct ggml_tensor * dst) { |
| 8166 | switch (src0->type) { |
| 8167 | case GGML_TYPE_F32: |
| 8168 | { |
| 8169 | ggml_compute_forward_sum_f32(params, src0, dst); |
| 8170 | } break; |
| 8171 | case GGML_TYPE_F16: |
| 8172 | { |
| 8173 | ggml_compute_forward_sum_f16(params, src0, dst); |
| 8174 | } break; |
| 8175 | case GGML_TYPE_I32: |
| 8176 | { |
| 8177 | ggml_compute_forward_sum_i32(params, src0, dst); |
| 8178 | } break; |
| 8179 | default: |
| 8180 | { |
| 8181 | GGML_ASSERT(false); |
| 8182 | } break; |
| 8183 | } |
| 8184 | } |
| 8185 | |
| 8186 | // ggml_compute_forward_sum_rows |
| 8187 |
no test coverage detected