def METHOD_NAME(pred_start, pred_end, gt_start, gt_end):
    """Calculate Temporal Evaluation Module Loss.
    This function calculate the binary_logistic_regression_loss for start
    and end respectively and returns the sum of their losses.
    Args:
        pred_start (torch.Tensor): Predicted start score by BMN model.
        pred_end (torch.Tensor): Predicted end score by BMN model.
        gt_start (torch.Tensor): Groundtruth confidence score for start.
        gt_end (torch.Tensor): Groundtruth confidence score for end.
    Returns:
        torch.Tensor: Returned binary logistic loss.
    """
    loss_start = binary_logistic_regression_loss(pred_start, gt_start)
    loss_end = binary_logistic_regression_loss(pred_end, gt_end)
    loss = loss_start + loss_end
    return loss