| 395 | } |
| 396 | |
| 397 | static struct hash_node * hash_get(ggml_gallocr_t galloc, struct ggml_tensor * t) { |
| 398 | size_t i = ggml_hash_find_or_insert(galloc->hash_set, t); |
| 399 | return &galloc->hash_values[i]; |
| 400 | } |
| 401 | |
| 402 | static bool ggml_are_same_layout(const struct ggml_tensor * a, const struct ggml_tensor * b) { |
| 403 | if (a->type != b->type) { |
no test coverage detected