class_docstr: Wrapper class for importing Keras models.
docstr: Use to ensure `KerasClassifier` can be unpickled.
  
  :param state: State dictionary with instance parameters to restore.
docstr_tok: ["Use","to","ensure","`","KerasClassifier","`","can","be","unpickled",".",":","param","state",":","State","dictionary","with","instance","parameters","to","restore","."]
code: def __setstate__(self, state: Dict[str, Any]) -> None:
      """
      Use to ensure `KerasClassifier` can be unpickled.
  
      :param state: State dictionary with instance parameters to restore.
      """
      self.__dict__.update(state)
  
      if self.is_tensorflow:
          from tensorflow.keras.models import (
              load_model,
          )  # pylint: disable=E0611
      else:
          from keras.models import load_model
  
      full_path = os.path.join(
          config.ART_DATA_PATH, state["model_name"]
      )
      model = load_model(str(full_path))
  
      self._model = model
      self._initialize_params(
          model,
          state["_use_logits"],
          state["_input_layer"],
          state["_output_layer"],
      )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import os
  import time
  from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  import six
  from art import config
  from art.estimators.keras import KerasEstimator
  from art.estimators.classification.classifier import ClassifierMixin, ClassGradientsMixin
  from art.utils import check_and_transform_label_format
label_desc: Use image node_id 20 for calling the KerasClassifier obj's underlying member method code with example usage: obj.__setstate__(state) without return types