code: def replace_upside_down_intensity(
      aug_p: float, aug_max: int, granularity: str, **kwargs
  ) -> float:
      return (
          100.0
          if granularity == "all"
          else replace_intensity_helper(aug_p, aug_max)
      )
  
imports: from typing import Any, Dict, List, Optional, Union
label_desc: Use image node_id 15 for calling a global function with example usage: replace_upside_down_intensity(aug_p, aug_max, granularity) and returns: unknown