xlnstorch.operators.lns_pad#
- xlnstorch.operators.lns_pad(x, base, pad, mode='constant', value=0.0)#
See docs for
torch.nn.functional.pad()for parameter/return details. Typically, torch.Tensor arguments are the equivalent internal representations of LNStensors.