code: def random_noise_intensity(
      mean: float, var: float, **kwargs
  ) -> float:
      assert isinstance(mean, (float, int)), "mean must be a number"
      assert (
          isinstance(var, (float, int)) and var >= 0
      ), "var must be a non-negative number"
  
      max_mean_val = 100
      max_var_val = 10
      # Even if mean or var is 0, we want the intensity to be non-zero if the
      # other one is non-zero, so we add a little jitter away from 0
      mean_intensity = max(abs(mean / max_mean_val), 0.01)
      var_intensity = max(var / max_var_val, 0.01)
      return (mean_intensity * var_intensity) * 100.0
  
imports: from typing import Any, Dict, Optional, Union
  import numpy
  from augly.image import utils
  from PIL import Image
label_desc: Use image node_id 27 for calling a global function with example usage: random_noise_intensity(mean, var) and returns: unknown