code: def warn_iterations_exceed_patch_number(
      n_iterations: int, n_patches: int
  ) -> None:
      """
      Warn if the number of non-overlapping patches is lower than the number of iterations specified for this metric.
  
      Parameters
      ----------
      n_iterations: integer
          The number of iterations specified in the metric.
      n_patches: integer
          The number of patches specified in the metric.
  
      Returns
      -------
      None
      """
      if n_patches < n_iterations:
          warnings.warn(
              "The number of non-overlapping patches ({}) for this input and attribution"
              "is lower than the number of iterations specified for this metric ({})."
              "As a result, the number of measurements may vary for each input.".format(
                  n_patches, n_iterations
              )
          )
  
file_path: Quantus/quantus/helpers/warn.py
imports: import time
  import warnings
  import numpy
  from quantus.helpers.utils import get_name
label_desc: Use image node_id 8 for calling a global function with example usage: warn_iterations_exceed_patch_number(n_iterations, n_patches) without return types