MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_set_2d

Function ggml_set_2d

subprojects/llama.cpp/ggml/src/ggml.c:3387–3394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3385}
3386
3387struct ggml_tensor * ggml_set_2d(
3388 struct ggml_context * ctx,
3389 struct ggml_tensor * a,
3390 struct ggml_tensor * b,
3391 size_t nb1,
3392 size_t offset) {
3393 return ggml_set_impl(ctx, a, b, nb1, a->nb[2], a->nb[3], offset, false);
3394}
3395
3396struct ggml_tensor * ggml_set_2d_inplace(
3397 struct ggml_context * ctx,

Callers

nothing calls this directly

Calls 1

ggml_set_implFunction · 0.85

Tested by

no test coverage detected