mindspore.Tensor.clip

Tensor.clip(min=None, max=None)[source]

Alias for mindspore.Tensor.clamp().