xlnstorch.operators.lns_tanhshrink#
- xlnstorch.operators.lns_tanhshrink(x, base)#
See docs for
torch.nn.functional.tanhshrink()for parameter/return details. Typically, torch.Tensor arguments are the equivalent internal representations of LNStensors.
See docs for torch.nn.functional.tanhshrink() for parameter/return details. Typically, torch.Tensor arguments are the equivalent internal representations of LNStensors.