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

Function ggml_new_tensor_1d

ggml.c:2530–2535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2528}
2529
2530struct ggml_tensor * ggml_new_tensor_1d(
2531 struct ggml_context * ctx,
2532 enum ggml_type type,
2533 int64_t ne0) {
2534 return ggml_new_tensor(ctx, type, 1, &ne0);
2535}
2536
2537struct ggml_tensor * ggml_new_tensor_2d(
2538 struct ggml_context * ctx,

Callers 15

ggml_new_i32Function · 0.70
ggml_new_f32Function · 0.70
ggml_sumFunction · 0.70
ggml_flash_attn_backFunction · 0.70
ggml_cross_entropy_lossFunction · 0.70
ggml_graph_importFunction · 0.70
ggml_opt_initFunction · 0.70
gguf_init_from_fileFunction · 0.70
llama_kv_cache_initFunction · 0.70
offload_ffn_splitMethod · 0.70
llm_build_inp_embdFunction · 0.70

Calls 1

ggml_new_tensorFunction · 0.70

Tested by 2

mainFunction · 0.40
mainFunction · 0.40