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

Function ggml_new_tensor_3d

ggml.c:2546–2554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2544}
2545
2546struct ggml_tensor * ggml_new_tensor_3d(
2547 struct ggml_context * ctx,
2548 enum ggml_type type,
2549 int64_t ne0,
2550 int64_t ne1,
2551 int64_t ne2) {
2552 const int64_t ne[3] = { ne0, ne1, ne2 };
2553 return ggml_new_tensor(ctx, type, 3, ne);
2554}
2555
2556struct ggml_tensor * ggml_new_tensor_4d(
2557 struct ggml_context * ctx,

Callers 15

build_llama_variantsMethod · 0.70
build_optMethod · 0.70
build_baichuanMethod · 0.70
build_falconMethod · 0.70
build_starcoderMethod · 0.70
build_persimmonMethod · 0.70
build_refactMethod · 0.70
build_bloomMethod · 0.70
build_mptMethod · 0.70
build_stablelmMethod · 0.70
llama_set_state_dataFunction · 0.70

Calls 1

ggml_new_tensorFunction · 0.70

Tested by

no test coverage detected