code: def _process_jitter_values(self, image_dims):
      if len(self.jitter) == 1:
          self.jitter = np.repeat(self.jitter, len(image_dims))
      if len(self.jitter) != len(image_dims):
          raise RuntimeError(
              "Jitter {}, does not match the number of image dims: {}".format(
                  self.jitter, len(image_dims)
              )
          )
  
      # Convert percentage to absolute values.
      for i, jitter_value in enumerate(self.jitter):
          if jitter_value < 1.0:
              self.jitter[i] = image_dims[i] * jitter_value
  
      # Round to int.
      self.jitter = np.int32(self.jitter)
      self._processed = True
  
file_path: keras-vis/vis/input_modifiers.py
imports: from __future__ import absolute_import
  import numpy
  from scipy.ndimage.interpolation import shift
  from .utils import utils
  from keras import backend
label_desc: Use image node_id 2 for calling the Jitter obj's underlying member method code with example usage: obj._process_jitter_values(image_dims) without return types