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

Function ggml_is_transposed

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

Source from the content-addressed store, hash-verified

1393}
1394
1395bool ggml_is_transposed(const struct ggml_tensor * tensor) {
1396 return tensor->nb[0] > tensor->nb[1];
1397}
1398
1399static bool ggml_is_contiguous_n(const struct ggml_tensor * tensor, int n) {
1400 size_t next_nb = ggml_type_size(tensor->type);

Callers 15

ggml_mul_matFunction · 0.85
ggml_mul_mat_idFunction · 0.85
ggml_out_prodFunction · 0.85
ggml_vk_mul_matFunction · 0.85
ggml_metal_op_mul_matFunction · 0.85
ggml_metal_op_mul_mat_idFunction · 0.85
ggml_cl_mul_matFunction · 0.85
ggml_sycl_mul_mat_vec_ncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected