| 1739 | } |
| 1740 | |
| 1741 | struct ggml_tensor * ggml_new_tensor( |
| 1742 | struct ggml_context * ctx, |
| 1743 | enum ggml_type type, |
| 1744 | int n_dims, |
| 1745 | const int64_t * ne) { |
| 1746 | return ggml_new_tensor_impl(ctx, type, n_dims, ne, NULL, 0); |
| 1747 | } |
| 1748 | |
| 1749 | struct ggml_tensor * ggml_new_tensor_1d( |
| 1750 | struct ggml_context * ctx, |