| 201 | } |
| 202 | |
| 203 | void assert_shape_4d(struct ggml_tensor * tensor, int64_t ne0, int64_t ne1, int64_t ne2, int64_t ne3) { |
| 204 | GGML_ASSERT(tensor->n_dims == 4); |
| 205 | GGML_ASSERT(tensor->ne[0] == ne0); |
| 206 | GGML_ASSERT(tensor->ne[1] == ne1); |
| 207 | GGML_ASSERT(tensor->ne[2] == ne2); |
| 208 | GGML_ASSERT(tensor->ne[3] == ne3); |
| 209 | } |
| 210 | |
| 211 | int64_t get_example_targets_batch( |
| 212 | struct llama_context * lctx, |
no outgoing calls
no test coverage detected