[torch 参数更多 ]torch.cross¶
torch.cross¶
torch.cross(input,
other,
dim=None,
*,
out=None)
参数映射¶
| PyTorch | PaddlePaddle | 备注 | | ————- | ———— | —————————————————— | | input | x | 输入的 Tensor ,仅参数名不同。 | | other | y | 输入的 Tensor ,仅参数名不同。 | | dim | axis | 沿着此维进行向量积操作,仅参数名不同。 | | out | - | 表示输出的 Tensor ,Paddle 无此参数,需要进行转写。 |