| 13453 | } |
| 13454 | |
| 13455 | static void ggml_compute_forward_map_unary( |
| 13456 | const struct ggml_compute_params * params, |
| 13457 | const struct ggml_tensor * src0, |
| 13458 | struct ggml_tensor * dst, |
| 13459 | const ggml_unary_op_f32_t fun) { |
| 13460 | switch (src0->type) { |
| 13461 | case GGML_TYPE_F32: |
| 13462 | { |
| 13463 | ggml_compute_forward_map_unary_f32(params, src0, dst, fun); |
| 13464 | } break; |
| 13465 | default: |
| 13466 | { |
| 13467 | GGML_ASSERT(false); |
| 13468 | } break; |
| 13469 | } |
| 13470 | } |
| 13471 | |
| 13472 | // ggml_compute_forward_map_binary |
| 13473 |
no test coverage detected