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

Function ggml_new_tensor

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

Source from the content-addressed store, hash-verified

1739}
1740
1741struct ggml_tensor * ggml_new_tensor(
1742 struct ggml_context * ctx,
1743 enum ggml_type type,
1744 int n_dims,
1745 const int64_t * ne) {
1746 return ggml_new_tensor_impl(ctx, type, n_dims, ne, NULL, 0);
1747}
1748
1749struct ggml_tensor * ggml_new_tensor_1d(
1750 struct ggml_context * ctx,

Callers 15

run_mergeMethod · 0.85
merge_tensorMethod · 0.85
get_random_tensor_f32Function · 0.85
ggml_new_tensorMethod · 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
build_graphMethod · 0.85
build_graphMethod · 0.85

Calls 1

ggml_new_tensor_implFunction · 0.85

Tested by 15

get_random_tensor_f32Function · 0.68
ggml_new_tensorMethod · 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