code: def reduced_focal_loss(
      output: torch.Tensor,
      target: torch.Tensor,
      threshold=0.5,
      gamma=2.0,
      reduction="mean",
  ):
      return focal_loss_with_logits(
          output,
          target,
          alpha=None,
          gamma=gamma,
          reduction=reduction,
          reduced_threshold=threshold,
      )
  
file_path: pytorch-toolbelt/pytorch_toolbelt/losses/functional.py
imports: import math
  from typing import Optional
  import torch
  import torch.nn.functional
  from ..utils import pytorch_toolbelt_deprecated
label_desc: Use image node_id 4 for calling a global function with example usage: reduced_focal_loss(output, target, threshold, gamma, reduction) and returns: focal_loss_with_logits