MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / ggml_div_impl

Function ggml_div_impl

external/ggml/src/ggml.c:2258–2272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2256
2257 int32_t params[] = { nb1, nb2, nb3, offset, inplace ? 1 : 0 };
2258 ggml_set_op_params(result, params, sizeof(params));
2259
2260 result->op = GGML_OP_ACC;
2261 result->src[0] = a;
2262 result->src[1] = b;
2263
2264 return result;
2265}
2266
2267struct ggml_tensor * ggml_acc(
2268 struct ggml_context * ctx,
2269 struct ggml_tensor * a,
2270 struct ggml_tensor * b,
2271 size_t nb1,
2272 size_t nb2,
2273 size_t nb3,
2274 size_t offset) {
2275 return ggml_acc_impl(ctx, a, b, nb1, nb2, nb3, offset, false);

Callers 2

ggml_divFunction · 0.85
ggml_div_inplaceFunction · 0.85

Calls 3

ggml_can_repeatFunction · 0.85
ggml_view_tensorFunction · 0.85
ggml_dup_tensorFunction · 0.85

Tested by

no test coverage detected