class_docstr: Config object for a `LayeredModel`. See `LayeredModel` documentation for more details.
class_docstr_tok: ["Config","object","for","a","`","LayeredModel","`",".","See","`","LayeredModel","`","documentation","for","more","details","."]
code: def __setattr__(self, key, value):
      if hasattr(self, "model") and hasattr(self.model, "config"):
          base = self.base_model
          if key not in _LAYERED_MEMBERS and (
              _is_detector_attr(base, key)
              or _is_forecaster_attr(base, key)
          ):
              return setattr(base.config, key, value)
      return super().__setattr__(key, value)
  
imports: import copy
  import inspect
  import logging
  from typing import Any, Dict, List, Union
  import pandas
  from merlion.models.base import Config, ModelBase
  from merlion.models.factory import ModelFactory
  from merlion.models.anomaly.base import DetectorBase, DetectorConfig
  from merlion.models.forecast.base import ForecasterBase, ForecasterConfig, ForecasterExogBase, ForecasterExogConfig
  from merlion.models.anomaly.forecast_based.base import ForecastingDetectorBase
  from merlion.transform.base import Identity
  from merlion.transform.resample import TemporalResample
  from merlion.transform.sequence import TransformSequence
  from merlion.utils import TimeSeries
  from merlion.utils.misc import AutodocABCMeta, call_with_accepted_kwargs
label_desc: Use image node_id 9 for calling the LayeredModelConfig obj's underlying member method code with example usage: obj.__setattr__(key, value) and returns: super, setattr