docstr: Must be adapted to each class
  This handles a list of values, not just one
docstr_tok: ["Must","be","adapted","to","each","class","This","handles","a","list","of","values",",","not","just","one"]
code: def _layered_set_value(self, value: tp.List[tp.Any]) -> None:
      """Must be adapted to each class
      This handles a list of values, not just one
      """  # TODO this is currenlty very messy, may need some improvement
      values = [value] if self._repetitions is None else value
      self._check_frozen()
      indices: np.ndarray = -1 * np.ones(len(values), dtype=int)
      # try to find where to put this
      for i, val in enumerate(values):
          for k, choice in enumerate(self.choices):
              try:
                  choice.value = val
                  indices[i] = k
                  break
              except Exception:  # pylint: disable=broad-except
                  pass
          if indices[i] == -1:
              raise ValueError(
                  f"Could not figure out where to put value {value}"
              )
      self.indices.value = indices
  
imports: import numpy
  import nevergrad.common.typing
  from .None import discretization
  from .None import core
  from .None import container
  from .None import _datalayers
  from .data import Array
label_desc: Use image node_id 8 for calling the BaseChoice obj's underlying member method code with example usage: obj._layered_set_value(value) without return types