code: def __init__(self, index: int, M: int = 100, N: int = 100) -> None:
      self.N = N
      self.M = M
      self.A = np.random.RandomState(index).rand(M, N)
      self.y = np.random.RandomState(index + 1).rand(M) * N / 2
  
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 1 to create a new BonnansFunction object  with example: obj = BonnansFunction(index, M, N)