[ 仅参数名不一致 ]torch.logical_and

torch.logical_and

torch.logical_and(input,
                  other,
                  *,
                  out=None)

paddle.logical_and

paddle.logical_and(x,
                   y,
                   out=None,
                   name=None)

两者功能一致且参数用法一致,仅参数名不同,具体如下:

参数映射

| PyTorch | PaddlePaddle | 备注 | | ————- | ———— | —————————————————— | | input | x | 表示输入的 Tensor ,仅参数名不一致。 | | other | y | 表示输入的 Tensor ,仅参数名不一致。 | | out | out | 输出 Tensor。 |