class_docstr: This is the base estimator for gluoncv.auto.Estimators.
  
  Parameters
  ----------
  config : dict
      Config in nested dict.
  logger : logging.Logger
      Optional logger for this estimator, can be `None` when default setting is used.
  reporter : callable
      The reporter for metric checkpointing.
  name : str
      Optional name for the estimator.
  
  Attributes
  ----------
  _logger : logging.Logger
      The customized/default logger for this estimator.
  _logdir : str
      The temporary dir for logs.
  _cfg : autocfg.dataclass
      The configurations.
class_docstr_tok: ["This","is","the","base","estimator","for","gluoncv.auto.Estimators",".","Parameters","--","--","--","--","--","config",":","dict","Config","in","nested","dict",".","logger",":","logging.Logger","Optional","logger","for","this","estimator",",","can","be","`","None","`","when","default","setting","is","used",".","reporter",":","callable","The","reporter","for","metric","checkpointing",".","name",":","str","Optional","name","for","the","estimator",".","Attributes","--","--","--","--","--","_logger",":","logging.Logger","The","customized\/default","logger","for","this","estimator",".","_logdir",":","str","The","temporary","dir","for","logs",".","_cfg",":","autocfg.dataclass","The","configurations","."]
code: def __setstate__(self, state):
      self.__dict__.update(state)
      # logger
      self._logger = logging.getLogger(
          state.get("_name", self.__class__.__name__)
      )
      self._logger.setLevel(logging.ERROR)
      try:
          fh = logging.FileHandler(self._log_file)
          self._logger.addHandler(fh)
      # pylint: disable=bare-except
      except:
          pass
      try:
          import mxnet as _
  
          net_params = state["net"]
          self._init_network(load_only=True)
          with temporary_filename() as tfile:
              with open(tfile, "wb") as fo:
                  fo.write(net_params)
              self.net.load_parameters(tfile, ignore_extra=True)
          trainer_state = state["trainer"]
          self._init_trainer()
          with temporary_filename() as tfile:
              with open(tfile, "wb") as fo:
                  fo.write(trainer_state)
              self.trainer.load_states(tfile)
      except ImportError:
          pass
      self._logger.setLevel(logging.INFO)
  
imports: import os
  import math
  import pickle
  import io
  import logging
  from datetime import datetime
  import numpy
  import pandas
  from ...utils import random
  from ...utils.filesystem import temporary_filename
  from .utils import _suggest_load_context
label_desc: Use image node_id 20 for calling the BaseEstimator obj's underlying member method code with example usage: obj.__setstate__(state) without return types