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

Function ggml_compute_forward_map_unary

ggml.c:13455–13470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13453}
13454
13455static 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

Callers 1

ggml_compute_forwardFunction · 0.85

Calls 1

Tested by

no test coverage detected