Skip to content

Instantly share code, notes, and snippets.

@eustin
Created June 8, 2020 04:18
Show Gist options
  • Save eustin/e2291a3bd292d07b40949cf6eb3b0709 to your computer and use it in GitHub Desktop.
Save eustin/e2291a3bd292d07b40949cf6eb3b0709 to your computer and use it in GitHub Desktop.
query_2_embeddings_avg = tf.reduce_mean(query_2_embeddings, axis=1, keepdims=True).numpy()
print(query_2_embeddings_avg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment