| 183 | } |
| 184 | |
| 185 | void assert_shape_1d(struct ggml_tensor * tensor, int64_t ne0) { |
| 186 | GGML_ASSERT(tensor->n_dims == 1); |
| 187 | GGML_ASSERT(tensor->ne[0] == ne0); |
| 188 | } |
| 189 | |
| 190 | void assert_shape_2d(struct ggml_tensor * tensor, int64_t ne0, int64_t ne1) { |
| 191 | GGML_ASSERT(tensor->n_dims == 2); |
no outgoing calls
no test coverage detected