Created
May 25, 2020 22:28
-
-
Save eustin/409105b2664fb0a24773d474ca4db048 to your computer and use it in GitHub Desktop.
This file contains 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
snoopy_vec = index_one_hot[0] | |
beagle_vec = index_one_hot[3] | |
snoopy_vs_beagle = tf.sqrt(tf.reduce_sum(tf.square(snoopy_vec - beagle_vec))) | |
print(snoopy_vs_beagle.numpy()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment