keras/src/layers/preprocessing/random_zoom.py/RandomZoom/_check_factor_range
class RandomZoom:    def _check_factor_range(self, input_number):
        if input_number > 1.0 or input_number < -1.0:
            raise ValueError(
                self._FACTOR_VALIDATION_ERROR
                + f"Received: input_number={input_number}"
            )