code: def state_dict(self):
      state = {
          "config": self.config,
          "weights": self.model.get_weights(),
          # "optimizer_weights": self.model.optimizer.get_weights()
      }
      return state
  
imports: from zoo.orca.automl.model.abstract import BaseModel, ModelBuilder
  import numpy
  from zoo.orca.automl.metrics import Evaluator
  import pickle
  import tensorflow
  from tensorflow.keras import backend
label_desc: Use image node_id 7 for calling the KerasBaseModel obj's underlying member method code with example usage: obj.state_dict() and returns: state