Created
June 8, 2020 04:37
-
-
Save eustin/571c3e833845d407d9f16ec4f58db6c6 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
per_example_loss = tf.reduce_sum( | |
relevance_grades_prob_dist * tf.math.log(relevance_grades_prob_dist / scores_prob_dist), | |
axis=-1 | |
) | |
print(per_example_loss) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment