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

Function ggml_view_1d

ggml.c:4633–4642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4631// ggml_view_1d
4632
4633struct ggml_tensor * ggml_view_1d(
4634 struct ggml_context * ctx,
4635 struct ggml_tensor * a,
4636 int64_t ne0,
4637 size_t offset) {
4638
4639 struct ggml_tensor * result = ggml_view_impl(ctx, a, 1, &ne0, offset);
4640
4641 return result;
4642}
4643
4644// ggml_view_2d
4645

Callers 7

ggml_compute_backwardFunction · 0.70
llm_build_kv_storeFunction · 0.70
mainFunction · 0.50
forwardFunction · 0.50
forward_loraFunction · 0.50
sample_softmax_batchFunction · 0.50

Calls 1

ggml_view_implFunction · 0.70

Tested by 1

mainFunction · 0.40