[输入参数类型不一致]torch.cartesian_prod¶
torch.cartesian_prod¶
torch.cartesian_prod(*tensors)
参数映射¶
PyTorch | PaddlePaddle | 备注 |
---|---|---|
*tensors | x | 一组输入 Tensor , PyTorch 参数 tensors 为可变参, Paddle 参数 x 为 list(Tensor) 或 tuple(Tensor) 的形式。 |
torch.cartesian_prod(*tensors)
PyTorch | PaddlePaddle | 备注 |
---|---|---|
*tensors | x | 一组输入 Tensor , PyTorch 参数 tensors 为可变参, Paddle 参数 x 为 list(Tensor) 或 tuple(Tensor) 的形式。 |