def METHOD_NAME(self) -> None:
    if self.clip_values is not None:
        if len(self.clip_values) != 2:
            raise ValueError("`clip_values` should be a tuple of 2 floats containing the allowed data range.")
        if self.clip_values[0] >= self.clip_values[1]:
            raise ValueError("Invalid `clip_values`: min >= max.")