code: def set_from_config(config_json, init=None, return_class=True):
      _id = config_json["_id"]
      layers = []
      for _i, layer_config in enumerate(config_json["layers"]):
          layer_init = init["layers"][_i] if init is not None else None
          layer = get_layer_by_name(layer_config["name"])
          layers.append(layer.set_from_config(layer_config, layer_init))
      if return_class:
          return LayerCascade(_id, layers)
      else:
          return _id, layers
  
file_path: auptimizer/Examples/cai_eas/eas/models/layer_cascade.py
imports: from models.layers import ConvLayer, FCLayer, PoolLayer, get_layer_by_name
  import tensorflow
label_desc: Use image node_id 11 for calling the LayerCascade obj's underlying member method code with example usage: obj.set_from_config(config_json, init, return_class) and returns: LayerCascade, _id,  layers