code: def hm(x: np.ndarray) -> float:
      """New multimodal function (proposed for Nevergrad)."""
      return float((x**2).dot(1.1 + np.cos(1.0 / x)))
  
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 21 for calling a global function with example usage: hm(x) and returns: float