code: def warn_perturbation_caused_no_change(
      x: np.ndarray, x_perturbed: np.ndarray
  ) -> None:
      """
      Warn that perturbation applied to input caused no change so that input and perturbed input is the same.
  
      Parameters
      ----------
      x: np.ndarray
           The original input that is considered unperturbed.
      x_perturbed: np.ndarray
           The perturbed input.
  
      Returns
      -------
      None
      """
      if np.allclose(x, x_perturbed, equal_nan=True):
          warnings.warn(
              "The settings for perturbing input e.g., 'perturb_func' "
              "didn't cause change in input. "
              "Reconsider the parameter settings."
          )
  
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 11 for calling a global function with example usage: warn_perturbation_caused_no_change(x, x_perturbed) without return types