code: def f1(y_true, y_pred):
      """
  
      Args:
          y_true:
          y_pred:
  
      Returns:
  
      """
      K = tf.keras.backend
      precision = precision_score(y_true, y_pred)
      recall = recall_score(y_true, y_pred)
      return 2 * (
          (precision * recall) / (precision + recall + K.epsilon())
      )
  
file_path: nlp-architect/nlp_architect/models/np_semantic_segmentation.py
imports: import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: f1(y_true, y_pred) and returns: unknown