[ 仅参数名不一致 ]torch.broadcast_to
torch.broadcast_to
torch.broadcast_to(input,
size)
参数映射
| PyTorch | PaddlePaddle | 备注 |
|---|---|---|
| input | x | 表示输入的 Tensor ,仅参数名不一致。 |
| size | shape | 表示扩展后 Tensor 的 shape,仅参数名不一致。 |
torch.broadcast_to(input,
size)
| PyTorch | PaddlePaddle | 备注 |
|---|---|---|
| input | x | 表示输入的 Tensor ,仅参数名不一致。 |
| size | shape | 表示扩展后 Tensor 的 shape,仅参数名不一致。 |