code: def _get_scaling_factor(func_name, scale):
      if func_name in SQRT_LIST:
          return gs.sqrt(scale)
  
      if func_name in LINEAR_LIST:
          return scale
  
      if func_name in QUADRATIC_LIST:
          return gs.power(scale, 2)
  
      if func_name in INVERSE_LIST:
          return 1.0 / scale
  
      if func_name in INVERSE_SQRT_LIST:
          return 1.0 / gs.sqrt(scale)
      return None
  
file_path: geomstats/geomstats/geometry/scalar_product_metric.py
imports: from functools import wraps
  import geomstats.backend
  import geomstats.errors
label_desc: Use image node_id 2 for calling a global function with example usage: _get_scaling_factor(func_name, scale) and returns: None, gs, scale, gs, unknown, unknown