mindspore.Tensor.clip

Tensor.clip(min=None, max=None) Tensor

Alias for mindspore.Tensor.clamp().