作用:限幅,将input的值限制在[min, max]之间,并返回结果。out (Tensor, optional) – 输出张量,一般用不到该参数。
torch.clamp(input, min, max, out=None)