docstr: Index of the chosen option
docstr_tok: ["Index","of","the","chosen","option"]
code: def index(self) -> int:  # delayed choice
      """Index of the chosen option"""
      inds = self.indices.value
      assert inds.size == 1
      return int(inds[0])
  
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 4 for calling the BaseChoice obj's underlying member method code with example usage: obj.index() and returns: int