xlnstorch.operators.lns_dropout

Contents

xlnstorch.operators.lns_dropout#

xlnstorch.operators.lns_dropout(x, base, p=0.5)#

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

Parameters:
Return type:

Tensor