| 2520 | } |
| 2521 | |
| 2522 | struct ggml_tensor * ggml_new_tensor( |
| 2523 | struct ggml_context * ctx, |
| 2524 | enum ggml_type type, |
| 2525 | int n_dims, |
| 2526 | const int64_t * ne) { |
| 2527 | return ggml_new_tensor_impl(ctx, type, n_dims, ne, NULL, 0); |
| 2528 | } |
| 2529 | |
| 2530 | struct ggml_tensor * ggml_new_tensor_1d( |
| 2531 | struct ggml_context * ctx, |