评价此页

torch.clip#

torch.clip(input, min=None, max=None, *, out=None) Tensor#

torch.clamp() 的别名。