xlnstorch.operators.lns_threshold

Contents

xlnstorch.operators.lns_threshold#

xlnstorch.operators.lns_threshold(x, threshold, value, base)#

See docs for torch.nn.functional._threshold() for parameter/return details. Typically, torch.Tensor arguments are the equivalent internal representations of LNStensors.

Parameters:
Return type:

Tensor