code: def __build_model_pyramid(name, model, features):
      """Applies a single submodel to each FPN level.
  
      Args
          name     : Name of the submodel.
          model    : The submodel to evaluate.
          features : The FPN features.
  
      Returns
          A tensor containing the response from the submodel on the FPN features.
      """
      return keras.layers.Concatenate(axis=1, name=name)(
          [model(f) for f in features]
      )
  
file_path: ImageAI/imageai_tf_deprecated/Detection/keras_retinanet/models/retinanet.py
imports: from tensorflow import keras
  from ..None import initializers
  from ..None import layers
  from ..utils.anchors import AnchorParameters
  from .None import assert_training_model
label_desc: Use image node_id 5 for calling a global function with example usage: __build_model_pyramid(name, model, features) and returns: keras