| 1790 | } |
| 1791 | |
| 1792 | struct ggml_tensor * ggml_dup_tensor(struct ggml_context * ctx, const struct ggml_tensor * src) { |
| 1793 | return ggml_new_tensor(ctx, src->type, GGML_MAX_DIMS, src->ne); |
| 1794 | } |
| 1795 | |
| 1796 | void ggml_unravel_index(const struct ggml_tensor * tensor, int64_t i, int64_t * i0, int64_t * i1, int64_t * i2, int64_t * i3) { |
| 1797 | const int64_t ne2 = tensor->ne[2]; |
no test coverage detected