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

Function ggml_pad

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

Source from the content-addressed store, hash-verified

4967// ggml_pad
4968
4969struct ggml_tensor * ggml_pad(
4970 struct ggml_context * ctx,
4971 struct ggml_tensor * a,
4972 int p0,
4973 int p1,
4974 int p2,
4975 int p3) {
4976 return ggml_pad_ext(ctx, a, 0, p0, 0, p1, 0, p2, 0, p3);
4977}
4978
4979// ggml_pad_circular
4980

Callers 12

build_stackMethod · 0.85
buildMethod · 0.85
build_inp_embdMethod · 0.85
build_samplingMethod · 0.85
cpy_vMethod · 0.85
test_fill_leftover_spaceFunction · 0.85
test_reuse_and_freeFunction · 0.85
test_merge_free_blockFunction · 0.85
build_graphMethod · 0.85

Calls 1

ggml_pad_extFunction · 0.85

Tested by 5

test_fill_leftover_spaceFunction · 0.68
test_reuse_and_freeFunction · 0.68
test_merge_free_blockFunction · 0.68
build_graphMethod · 0.68