powered by
Computes cosine distance of two sets of vectors
cosine_distance(input1, input2)
distance matrix
2-D feature matrix
if (FALSE) dist_matrix <- cosine_distance(embeddings, embeddings)
Run the code above in your browser using DataLab