Created
June 8, 2020 04:35
-
-
Save eustin/634a2a3d5cee68f425946518af4301fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loss = tf.keras.losses.KLDivergence() | |
batch_loss = loss(relevance_grades_prob_dist, scores_prob_dist) | |
print(batch_loss) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment