(x: R.Tensor((1, 3, 10, 10), dtype="float32"))
| 561 | class expected_replicate: |
| 562 | @R.function |
| 563 | def main(x: R.Tensor((1, 3, 10, 10), dtype="float32")) -> R.Tensor( |
| 564 | (1, 3, 14, 12), dtype="float32" |
| 565 | ): |
| 566 | with R.dataflow(): |
| 567 | lv: R.Tensor((1, 3, 14, 12), dtype="float32") = R.nn.pad( |
| 568 | x, |
| 569 | pad_width=[0, 0, 0, 0, 2, 2, 1, 1], |
| 570 | pad_mode="replicate", |
| 571 | pad_value=0.0, |
| 572 | ) |
| 573 | gv: R.Tensor((1, 3, 14, 12), dtype="float32") = lv |
| 574 | R.output(gv) |
| 575 | return gv |
| 576 | |
| 577 | @tvm.script.ir_module |
| 578 | class expected_circular: |