[ 仅参数名不一致 ]torch.Tensor.hsplit

torch.Tensor.hsplit

torch.Tensor.hsplit(split_size_or_sections)

paddle.Tensor.hsplit

paddle.Tensor.hsplit(num_or_indices, name=None)

其中 Paddle 相比 PyTorch 仅参数名不一致,具体如下:

参数映射

PyTorch PaddlePaddle 备注
split_size_or_sections num_or_indices 表示分割的数量或索引,仅参数名不一致。