xlnstorch.operators.lns_tanhshrink

Contents

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.

Parameters:
Return type:

Tensor