Skip to content

Commit b87b656

Browse files
committed
Revert the redirection of the internal function
1 parent 3c193de commit b87b656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5651,7 +5651,7 @@ def categorical_focal_crossentropy(
56515651
)
56525652

56535653
if from_logits:
5654-
output = softmax(output, axis=axis)
5654+
output = tf.nn.softmax(output, axis=axis)
56555655

56565656
# Adjust the predictions so that the probability of
56575657
# each class for every sample adds up to 1

0 commit comments

Comments
 (0)