code: def multipeak(x: np.ndarray) -> float:
      """Inspired by M. Gallagher's Gaussian peaks function."""
      v = 10000.0
      for a in range(101):
          x_ = np.asarray(
              [np.cos(a + np.sqrt(i)) for i in range(len(x))]
          )
          v = min(v, a / 101.0 + np.exp(sphere(x - x_)))
      return v
  
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 12 for calling a global function with example usage: multipeak(x) and returns: v