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: Export the searched model from space.
  
  Parameters
  ----------
  selection: Dict
      The dictionary containing all the choices of nni.
  device: str or torch.device
      The device to put model on.
  
  Return
  ------
  model: autogl.module.model.BaseModel
      model to be exported.
docstr_tok: ["Export","the","searched","model","from","space",".","Parameters","--","--","--","--","--","selection",":","Dict","The","dictionary","containing","all","the","choices","of","nni",".","device",":","str","or","torch.device","The","device","to","put","model","on",".","Return","--","--","--","model",":","autogl.module.model.BaseModel","model","to","be","exported","."]
code: def parse_model(self, selection: dict, device) -> BaseAutoModel:
      """
      Export the searched model from space.
  
      Parameters
      ----------
      selection: Dict
          The dictionary containing all the choices of nni.
      device: str or torch.device
          The device to put model on.
  
      Return
      ------
      model: autogl.module.model.BaseModel
          model to be exported.
      """
      raise NotImplementedError()
  
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 4 for calling the BaseSpace obj's underlying member method code with example usage: obj.parse_model(selection, device) without return types