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

Function ggml_set_1d

ggml.c:4314–4320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4312}
4313
4314struct ggml_tensor * ggml_set_1d(
4315 struct ggml_context * ctx,
4316 struct ggml_tensor * a,
4317 struct ggml_tensor * b,
4318 size_t offset) {
4319 return ggml_set_impl(ctx, a, b, a->nb[1], a->nb[2], a->nb[3], offset, false);
4320}
4321
4322struct ggml_tensor * ggml_set_1d_inplace(
4323 struct ggml_context * ctx,

Callers 3

mainFunction · 0.50
forwardFunction · 0.50
forward_loraFunction · 0.50

Calls 1

ggml_set_implFunction · 0.70

Tested by 1

mainFunction · 0.40