| 1763 | } |
| 1764 | |
| 1765 | struct ggml_tensor * ggml_new_tensor_3d( |
| 1766 | struct ggml_context * ctx, |
| 1767 | enum ggml_type type, |
| 1768 | int64_t ne0, |
| 1769 | int64_t ne1, |
| 1770 | int64_t ne2) { |
| 1771 | const int64_t ne[3] = { ne0, ne1, ne2 }; |
| 1772 | return ggml_new_tensor(ctx, type, 3, ne); |
| 1773 | } |
| 1774 | |
| 1775 | struct ggml_tensor * ggml_new_tensor_4d( |
| 1776 | struct ggml_context * ctx, |