| 76 | } |
| 77 | |
| 78 | static bool ggml_is_view(struct ggml_tensor * t) { |
| 79 | return t->view_src != NULL; |
| 80 | } |
| 81 | |
| 82 | void ggml_tallocr_alloc(ggml_tallocr_t alloc, struct ggml_tensor * tensor) { |
| 83 | GGML_ASSERT(!ggml_is_view(tensor)); // views generally get data pointer from one of their sources |
no outgoing calls
no test coverage detected