class_docstr: Base space class of NAS module. Defining space containing all models.
  Please use mutables to define your whole space. Refer to
  `https://nni.readthedocs.io/en/stable/NAS/WriteSearchSpace.html`
  for detailed information.
  
  Parameters
  ----------
  init: bool
      Whether to initialize the whole space. Default: `False`
docstr: Give a unique key if not given
docstr_tok: ["Give","a","unique","key","if","not","given"]
code: def setInputChoice(
      self,
      order,
      n_candidates=None,
      choose_from=None,
      n_chosen=None,
      reduction="sum",
      return_mask=False,
      key=None,
  ):
      """
      Give a unique key if not given
      """
      orikey = key
      if orikey == None:
          key = f"default_key_{self._default_key}"
          self._default_key += 1
          orikey = key
      layer = OrderedInputChoice(
          order,
          n_candidates,
          choose_from,
          n_chosen,
          reduction,
          return_mask,
          orikey,
      )
      return layer
  
imports: from abc import abstractmethod
  import torch.nn
  from nni.nas.pytorch import mutables
  from nni.nas.pytorch.fixed import FixedArchitecture
  import json
  from copy import deepcopy
  import torch
  from ...model import BaseAutoModel
  from ....utils import get_logger
  from ..utils import get_hardware_aware_metric
label_desc: Use image node_id 7 for calling the BaseSpace obj's underlying member method code with example usage: obj.setInputChoice(order, n_candidates, choose_from, n_chosen, reduction, return_mask, key) and returns: layer