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

Function ggml_new_tensor_3d

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

Source from the content-addressed store, hash-verified

1763}
1764
1765struct ggml_tensor * ggml_new_tensor_3d(
1766 struct ggml_context * ctx,
1767 enum ggml_type type,
1768 int64_t ne0,
1769 int64_t ne1,
1770 int64_t ne2) {
1771 const int64_t ne[3] = { ne0, ne1, ne2 };
1772 return ggml_new_tensor(ctx, type, 3, ne);
1773}
1774
1775struct ggml_tensor * ggml_new_tensor_4d(
1776 struct ggml_context * ctx,

Callers 15

build_inp_rawMethod · 0.85
buildMethod · 0.85
weight_buft_supportedFunction · 0.85
build_inp_attn_scaleMethod · 0.85
llama_kv_cacheMethod · 0.85
ggml_new_tensor_3dMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85
build_graphMethod · 0.85

Calls 1

ggml_new_tensorFunction · 0.85

Tested by 13

ggml_new_tensor_3dMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68