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

Function ggml_nrows

ggml.c:1950–1954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1948}
1949
1950int64_t ggml_nrows(const struct ggml_tensor * tensor) {
1951 static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");
1952
1953 return tensor->ne[1]*tensor->ne[2]*tensor->ne[3];
1954}
1955
1956size_t ggml_nbytes(const struct ggml_tensor * tensor) {
1957 size_t nbytes;

Calls

no outgoing calls

Tested by 1

mainFunction · 0.40