xlnstorch.operators.lns_hardsigmoid

xlnstorch.operators.lns_hardsigmoid#

xlnstorch.operators.lns_hardsigmoid(x, base)#

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

Parameters:
Return type:

Tensor