class_docstr: Base NAS algorithm class
  
  Parameters
  ----------
  device: str or torch.device
      The device of the whole process
docstr: Change the device of the whole NAS search process
  
  Parameters
  ----------
  device: str or torch.device
docstr_tok: ["Change","the","device","of","the","whole","NAS","search","process","Parameters","--","--","--","--","--","device",":","str","or","torch.device"]
code: def to(self, device):
      """
      Change the device of the whole NAS search process
  
      Parameters
      ----------
      device: str or torch.device
      """
      self.device = get_device(device)
  
file_path: AutoGL/autogl/module/nas/algorithm/base.py
imports: from ...model import BaseAutoModel
  import torch
  from abc import abstractmethod
  from ....utils import get_device
label_desc: Use image node_id 2 for calling the BaseNAS obj's underlying member method code with example usage: obj.to(device) without return types