torch.Tensor.Tensor.tanhshrink_ Tensor.tanhshrink_(): this In-place tanhshrink activation. Returns this See Also PyTorch tensor.tanhshrink_()