code: def warn_segmentation(
      inside_attribution: float, total_attribution: float
  ) -> None:
      """
      Warn if the inside explanation is greater than total explanation.
  
      Parameters
      ----------
      inside_attribution: float
          The size of inside attribution.
      total_attribution: float
          The size of total attribution.
  
      Returns
      -------
      None
      """
      warnings.warn(
          "Inside explanation is greater than total explanation"
          f" ({inside_attribution} > {total_attribution}), returning np.nan."
      )
  
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 5 for calling a global function with example usage: warn_segmentation(inside_attribution, total_attribution) without return types