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

Function ggml_compute_forward_map_custom3

ggml.c:13604–13617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13602// ggml_compute_forward_map_custom3
13603
13604static 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

Callers 1

ggml_compute_forwardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected