code: def genzcornerpeak(y: np.ndarray) -> float:
      """One of the Genz functions, originally used in integration,
  
      tested in optim because why not."""
      value = float(1 + np.mean(np.tanh(y)))
      if value == 0:
          return float("inf")
      return value ** (-len(y) - 1)
  
imports: from math import exp, sqrt, tanh
  import numpy
  import nevergrad.common.typing
  from nevergrad.common.decorators import Registry
label_desc: Use image node_id 30 for calling a global function with example usage: genzcornerpeak(y) and returns: unknown, float