class_docstr: The base class for class BaseModel,
  designed to implement some basic functionality of BaseModel.
  --  Designed by ZiXin Sun
class_docstr_tok: ["The","base","class","for","class","BaseModel",",","designed","to","implement","some","basic","functionality","of","BaseModel",".","--","Designed","by","ZiXin","Sun"]
code: def model(self, _model: torch.nn.Module) -> None:
      if not isinstance(_model, torch.nn.Module):
          raise TypeError(
              "the property of model MUST be an instance of "
              "torch.nn.Module"
          )
      self._model = _model
  
imports: import copy
  import logging
  import typing
  import torch
  import torch.nn.functional
  from copy import deepcopy
  from autogl.module.hpo.auto_module import AutoModule
label_desc: Use image node_id 5 for calling the _BaseBaseModel obj's underlying member method code with example usage: obj.model(_model) without return types