xlnstorch.operators.lns_square

Contents

xlnstorch.operators.lns_square#

xlnstorch.operators.lns_square(x, base)#

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

Parameters:
Return type:

Tensor