Skip to content

Commit 911e071

Browse files
authored
Revise CTCLoss parameter mapping in documentation
Updated the parameter mapping for PyTorch and PaddlePaddle in the CTCLoss documentation, including the addition of the 'zero_infinity' parameter for PaddlePaddle.
1 parent 4805fed commit 911e071

File tree

1 file changed

+5
-5
lines changed
  • docs/guides/model_convert/convert_from_pytorch/api_difference/torch_more_args

1 file changed

+5
-5
lines changed

docs/guides/model_convert/convert_from_pytorch/api_difference/torch_more_args/torch.nn.CTCLoss.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ paddle.nn.CTCLoss(blank=0,
1616

1717
### 参数映射
1818

19-
| PyTorch | PaddlePaddle | 备注 |
20-
| ------------- | ------------ | ------------------------------------------------------------ |
21-
| blank | blank | 空格标记的 ID 值。 |
22-
| reduction | reduction | 表示应用于输出结果的计算方式。 |
23-
| zero_infinity | - | 是否将无穷大损失及其梯度置 0,Paddle 无此参数,暂无转写方式。 |
19+
| PyTorch | PaddlePaddle | 备注 |
20+
| ------------- | ------------- | ------------------------------------------------------------ |
21+
| blank | blank | 空格标记的 ID 值。 |
22+
| reduction | reduction | 表示应用于输出结果的计算方式。 |
23+
| zero_infinity | zero_infinity | 是否将无穷大损失及其梯度置 0 。 |

0 commit comments

Comments
 (0)