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

Function ggml_compute_forward_map_custom1

ggml.c:13573–13584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13571// ggml_compute_forward_map_custom1
13572
13573static void ggml_compute_forward_map_custom1(
13574 const struct ggml_compute_params * params,
13575 const struct ggml_tensor * a,
13576 struct ggml_tensor * dst) {
13577 if (params->type == GGML_TASK_INIT || params->type == GGML_TASK_FINALIZE) {
13578 return;
13579 }
13580
13581 struct ggml_map_custom1_op_params * p = (struct ggml_map_custom1_op_params *) dst->op_params;
13582
13583 p->fun(dst, a, params->ith, params->nth, p->userdata);
13584}
13585
13586// ggml_compute_forward_map_custom2
13587

Callers 1

ggml_compute_forwardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected