code: def __init__(
      self,
      device: _typing.Union[torch.device, str, int, None] = ...,
      *args,
      **kwargs,
  ):
      super(BaseEncoderMaintainer, self).__init__(
          device, *args, **kwargs
      )
      self._encoder: _typing.Optional[torch.nn.Module] = None
  
file_path: AutoGL/autogl/module/model/encoders/base_encoder.py
imports: import torch
  import typing
  from ...hpo import AutoModule
label_desc: Use image node_id 1 to create a new BaseEncoderMaintainer object from inherited base classes: AutoModule with example: obj = BaseEncoderMaintainer(device)