評價此頁

torch.clip#

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

torch.clamp() 的別名。