| 5026 | // ggml_pad_ext_circular |
| 5027 | |
| 5028 | struct ggml_tensor * ggml_pad_ext_circular( |
| 5029 | struct ggml_context * ctx, |
| 5030 | struct ggml_tensor * a, |
| 5031 | int lp0, |
| 5032 | int rp0, |
| 5033 | int lp1, |
| 5034 | int rp1, |
| 5035 | int lp2, |
| 5036 | int rp2, |
| 5037 | int lp3, |
| 5038 | int rp3 |
| 5039 | ) { |
| 5040 | struct ggml_tensor * result = ggml_pad_ext(ctx, a, lp0, rp0, lp1, rp1, lp2, rp2, lp3, rp3); |
| 5041 | ggml_set_op_params_i32(result, 8, 1); // circular |
| 5042 | return result; |
| 5043 | } |
| 5044 | |
| 5045 | // ggml_pad_reflect_1d |
| 5046 |