class_docstr: This module implements EoT of changes in brightness by addition of uniformly sampled delta.
code: def _check_params(self) -> None:
      # pylint: disable=R0916
      if not isinstance(self.delta, (int, float, tuple)) or (
          isinstance(self.delta, tuple)
          and (
              len(self.delta) != 2
              or not isinstance(self.delta[0], (int, float))
              or not isinstance(self.delta[1], (int, float))
              or self.delta[0] > self.delta[1]
          )
      ):
          raise ValueError(
              "The argument `delta` has to be a float or tuple of two float values as (min, max)."
          )
  
file_path: adversarial-robustness-toolbox/art/preprocessing/expectation_over_transformation/natural_corruptions/brightness/tensorflow.py
imports: import logging
  from typing import Tuple, Union, TYPE_CHECKING, Optional
  import numpy
  from art.preprocessing.expectation_over_transformation.tensorflow import EoTTensorFlowV2
label_desc: Use image node_id 3 for calling the EoTBrightnessTensorFlow obj's underlying member method code with example usage: obj._check_params() without return types