[torch 参数更多 ]torch.fmod¶
torch.fmod¶
torch.fmod(input,
other,
*,
out=None)
参数映射¶
| PyTorch | PaddlePaddle | 备注 | | ————- | ———— | —————————————————— | | input | x | 表示输入的被除数 ,仅参数名不一致。 | | other | y | 表示输入的除数, Pytorch 可以为 Tensor 或 scalar,Paddle 只能为 Tensor 。 | | out | - | 表示输出的 Tensor , Paddle 无此参数,需要进行转写。 |