diff --git a/python/paddle/nn/functional/loss.py b/python/paddle/nn/functional/loss.py index c616f7bd221fadc90e23c3beead94e54ca4d0dcd..cfdeb25c249c5de9eef3f9e64f57ea7113e9fc70 100755 --- a/python/paddle/nn/functional/loss.py +++ b/python/paddle/nn/functional/loss.py @@ -1348,7 +1348,7 @@ def sigmoid_focal_loss(logit, fg_label = paddle.greater_equal(label, one) fg_num = paddle.sum(paddle.cast(fg_label, dtype='float32')) output = paddle.nn.functional.sigmoid_focal_loss(logit, label, normalizer=fg_num) - print(output.numpy()) # [0.65782464] + print(output) # [0.65782464] """ if reduction not in ['sum', 'mean', 'none']: