[torch 参数更多]torch.special.round¶
torch.special.round¶
# torch.special.round 为 torch.round 别名,参数和 torch.round 相同
torch.special.round(input, *, decimals=0, out=None)
参数映射¶
| PyTorch | PaddlePaddle | 备注 |
|---|---|---|
| input | x | 输入的 Tensor,仅参数名不一致。 |
| decimals | - | 舍入到的小数位数,PaddlePaddle 无此参数,需要转写。 |
| out | - | 表示输出的 Tensor,Paddle 无此参数,需要转写。 |