code: def __init__(self, n: int = 50) -> None:
      super().__init__(
          self._simulate_to,
          p.Array(shape=(n, n), lower=-1.0, upper=1.0).set_name(
              f"array{n}x{n}"
          ),
      )
      self.n = n
      self.idx = self.parametrization.random_state.randint(50000)
  
file_path: nevergrad/nevergrad/functions/topology_optimization/core.py
imports: import numpy
  from nevergrad.parametrization import parameter
  from ..base import ExperimentFunction
  from scipy.ndimage import gaussian_filter
label_desc: Use image node_id 1 to create a new TO object from inherited base classes: ExperimentFunction with example: obj = TO(n)