code: def get_object_config(o):
      if o is None:
          return None
  
      config = {
          "class_name": o.__class__.__name__,
          "config": o.get_config(),
      }
      return config
  
imports: import numpy
  from keras.models import model_from_config, Sequential, Model, model_from_config
  import keras.optimizers
  import keras.backend
label_desc: Use image node_id 4 for calling a global function with example usage: get_object_config(o) and returns: config, None