| 1754 | } |
| 1755 | |
| 1756 | struct ggml_tensor * ggml_new_tensor_2d( |
| 1757 | struct ggml_context * ctx, |
| 1758 | enum ggml_type type, |
| 1759 | int64_t ne0, |
| 1760 | int64_t ne1) { |
| 1761 | const int64_t ne[2] = { ne0, ne1 }; |
| 1762 | return ggml_new_tensor(ctx, type, 2, ne); |
| 1763 | } |
| 1764 | |
| 1765 | struct ggml_tensor * ggml_new_tensor_3d( |
| 1766 | struct ggml_context * ctx, |