tensorly.clip

clip(tensor, a_min=None, a_max=None)