Skip to content

Fix the docs of api convert #5921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ torch.nn.MaxUnpool1d(kernel_size,
padding=0)
```

### [paddle.nn.MaxUnpool1d](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxUnPool1D_cn.html#maxunpool1d)
### [paddle.nn.MaxUnPool1D](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxUnPool1D_cn.html)

```python
paddle.nn.MaxUnpool1d(kernel_size,
paddle.nn.MaxUnPool1D(kernel_size,
stride=None,
padding=0,
data_format='NCL',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ torch.nn.MaxUnpool2d(kernel_size,
padding=0)
```

### [paddle.nn.MaxUnpool2d](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxUnPool2D_cn.html#maxunpool2d)
### [paddle.nn.MaxUnPool2D](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxUnPool2D_cn.html)

```python
paddle.nn.MaxUnpool2d(kernel_size,
paddle.nn.MaxUnPool2D(kernel_size,
stride=None,
padding=0,
data_format='NCHW',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ torch.nn.MaxUnpool3d(kernel_size,
padding=0)
```

### [paddle.nn.MaxUnpool3d](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxUnPool3D_cn.html#maxunpool3d)
### [paddle.nn.MaxUnPool3D](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxUnPool3D_cn.html)

```python
paddle.nn.MaxUnpool3d(kernel_size,
paddle.nn.MaxUnPool3D(kernel_size,
stride=None,
padding=0,
data_format='NCDHW',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [ 仅参数名不一致 ]torch.fliplr
## [ 仅 paddle 参数更多 ]torch.fliplr
### [torch.fliplr](https://pytorch.org/docs/stable/generated/torch.fliplr.html?highlight=fliplr#torch.fliplr)

```python
Expand All @@ -18,4 +18,4 @@ paddle.flip(x,
| PyTorch | PaddlePaddle | 备注 |
| ------------- | ------------ | ------------------------------------------------------ |
| <font color='red'> input </font> | <font color='red'> x </font> | 表示输入的 Tensor ,仅参数名不一致。 |
| <font color='red'> dim </font> | <font color='red'> axis </font> | 表示进行运算的轴,仅参数名不一致。 |
| - | <font color='red'> axis </font> | 表示进行运算的轴,PyTorch 无此参数,Paddle 需设置为 1 。 |