[torch 参数更多]torch.Tensor.round_¶
torch.Tensor.round_¶
torch.Tensor.round_(decimals=0)
参数映射¶
| PyTorch | PaddlePaddle | 备注 | | ——– | ——- | ——- | | decimals | - | 舍入小数位数 |
torch.Tensor.round_(decimals=0)
| PyTorch | PaddlePaddle | 备注 | | ——– | ——- | ——- | | decimals | - | 舍入小数位数 |