| 13602 | // ggml_compute_forward_map_custom3 |
| 13603 | |
| 13604 | static void ggml_compute_forward_map_custom3( |
| 13605 | const struct ggml_compute_params * params, |
| 13606 | const struct ggml_tensor * a, |
| 13607 | const struct ggml_tensor * b, |
| 13608 | const struct ggml_tensor * c, |
| 13609 | struct ggml_tensor * dst) { |
| 13610 | if (params->type == GGML_TASK_INIT || params->type == GGML_TASK_FINALIZE) { |
| 13611 | return; |
| 13612 | } |
| 13613 | |
| 13614 | struct ggml_map_custom3_op_params * p = (struct ggml_map_custom3_op_params *) dst->op_params; |
| 13615 | |
| 13616 | p->fun(dst, a, b, c, params->ith, params->nth, p->userdata); |
| 13617 | } |
| 13618 | |
| 13619 | // ggml_compute_forward_cross_entropy_loss |
| 13620 |
no outgoing calls
no test coverage detected