code: def flattened_layers(self, include_container=False):
      jlayers = callZooFunc(
          self.bigdl_type,
          "getFlattenSubModules",
          self,
          include_container,
      )
      layers = [Layer.of(jlayer) for jlayer in jlayers]
      return layers
  
imports: import bigdl.dllib.keras.autograd
  from bigdl.dllib.feature.image import ImageSet
  from bigdl.dllib.feature.text import TextSet
  from bigdl.dllib.feature.common import FeatureSet
  from bigdl.dllib.keras.base import ZooKerasLayer
  from bigdl.dllib.keras.utils import *
  from bigdl.dllib.nn.layer import Layer
  from bigdl.dllib.utils.file_utils import callZooFunc
label_desc: Use image node_id 24 for calling the KerasNet obj's underlying member method code with example usage: obj.flattened_layers(include_container) and returns: layers