def METHOD_NAME(self) -> None:
    if not (isinstance(self.window_size, int) and self.window_size > 0):
        raise ValueError("Sliding window size must be a positive integer.")
    if self.clip_values is not None and len(self.clip_values) != 2:
        raise ValueError("'clip_values' should be a tuple of 2 floats or arrays containing the allowed data range.")
    if self.clip_values is not None and np.array(self.clip_values[0] >= self.clip_values[1]).any():
        raise ValueError("Invalid 'clip_values': min >= max.")
    if self.channels_first:
        raise ValueError("Only channels last input data is supported (`channels_first=False`)")