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

Function ggml_is_transposed

ggml.c:2080–2082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2078}
2079
2080bool ggml_is_transposed(const struct ggml_tensor * tensor) {
2081 return tensor->nb[0] > tensor->nb[1];
2082}
2083
2084bool ggml_is_contiguous(const struct ggml_tensor * tensor) {
2085 static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");

Callers 4

ggml_mul_matFunction · 0.70
ggml_mul_mat_idxFunction · 0.70
ggml_axpyFunction · 0.70
ggml_out_prodFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected