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

Function ggml_set_2d

ggml.c:4330–4337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4328}
4329
4330struct ggml_tensor * ggml_set_2d(
4331 struct ggml_context * ctx,
4332 struct ggml_tensor * a,
4333 struct ggml_tensor * b,
4334 size_t nb1,
4335 size_t offset) {
4336 return ggml_set_impl(ctx, a, b, nb1, a->nb[2], a->nb[3], offset, false);
4337}
4338
4339struct ggml_tensor * ggml_set_2d_inplace(
4340 struct ggml_context * ctx,

Callers 4

mainFunction · 0.50
forwardFunction · 0.50
forward_batchFunction · 0.50
forward_loraFunction · 0.50

Calls 1

ggml_set_implFunction · 0.70

Tested by 1

mainFunction · 0.40