class_docstr: Keras layer for filtering detections using score threshold and NMS.
      
class_docstr_tok: ["Keras","layer","for","filtering","detections","using","score","threshold","and","NMS","."]
docstr: This is required in Keras when there is more than 1 output.
          
docstr_tok: ["This","is","required","in","Keras","when","there","is","more","than","1","output","."]
code: def compute_mask(self, inputs, mask=None):
      """This is required in Keras when there is more than 1 output."""
      return (len(inputs) + 1) * [None]
  
file_path: ImageAI/imageai_tf_deprecated/Detection/keras_retinanet/layers/filter_detections.py
imports: import tensorflow
  from tensorflow import keras
  from ..None import backend
label_desc: Use image node_id 4 for calling the FilterDetections obj's underlying member method code with example usage: obj.compute_mask(inputs, mask) and returns: unknown