File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -750,9 +750,7 @@ class RetinaNetBoxLoss(tf.losses.Loss):
750750 """Implements Smooth L1 loss"""
751751
752752 def __init__ (self , delta ):
753- super ().__init__ (
754- reduction = "none" , name = "RetinaNetBoxLoss"
755- )
753+ super ().__init__ (reduction = "none" , name = "RetinaNetBoxLoss" )
756754 self ._delta = delta
757755
758756 def call (self , y_true , y_pred ):
@@ -771,9 +769,7 @@ class RetinaNetClassificationLoss(tf.losses.Loss):
771769 """Implements Focal loss"""
772770
773771 def __init__ (self , alpha , gamma ):
774- super ().__init__ (
775- reduction = "none" , name = "RetinaNetClassificationLoss"
776- )
772+ super ().__init__ (reduction = "none" , name = "RetinaNetClassificationLoss" )
777773 self ._alpha = alpha
778774 self ._gamma = gamma
779775
You can’t perform that action at this time.
0 commit comments