| 2027 | } |
| 2028 | |
| 2029 | static inline bool ggml_is_matrix(const struct ggml_tensor * tensor) { |
| 2030 | static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function"); |
| 2031 | |
| 2032 | return tensor->ne[2] == 1 && tensor->ne[3] == 1; |
| 2033 | } |
| 2034 | |
| 2035 | static inline bool ggml_can_mul_mat(const struct ggml_tensor * t0, const struct ggml_tensor * t1) { |
| 2036 | static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function"); |
no outgoing calls
no test coverage detected