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

Function ggml_new_tensor_1d

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

Source from the content-addressed store, hash-verified

1747}
1748
1749struct ggml_tensor * ggml_new_tensor_1d(
1750 struct ggml_context * ctx,
1751 enum ggml_type type,
1752 int64_t ne0) {
1753 return ggml_new_tensor(ctx, type, 1, &ne0);
1754}
1755
1756struct ggml_tensor * ggml_new_tensor_2d(
1757 struct ggml_context * ctx,

Callers 15

train_contextMethod · 0.85
pca_modelMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85
buildMethod · 0.85

Calls 1

ggml_new_tensorFunction · 0.85

Tested by 15

mainFunction · 0.68
test_barrierFunction · 0.68
test_activeFunction · 0.68
test_multi_graphFunction · 0.68
helper_get_ctx_dataFunction · 0.68
test_regressionFunction · 0.68
mainFunction · 0.68
make_input_1dFunction · 0.68
add_sentinelMethod · 0.68
ggml_new_tensor_1dMethod · 0.68
build_graphMethod · 0.68
build_graphMethod · 0.68