torch.nn.functional.tanhshrink(input)
paddle.nn.functional.tanhshrink(x, name=None)
两者功能一致,仅参数名不一致,具体如下: