code: def __build_pyramid(models, features):
      """Applies all submodels to each FPN level.
  
      Args
          models   : List of submodels to run on each pyramid level (by default only regression, classifcation).
          features : The FPN features.
  
      Returns
          A list of tensors, one for each submodel.
      """
      return [__build_model_pyramid(n, m, features) for n, m in models]
  
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 6 for calling a global function with example usage: __build_pyramid(models, features) and returns: unknown