daft.Expression.embedding.cosine_distance

daft.Expression.embedding.cosine_distance#

Expression.embedding.cosine_distance(other: Expression) Expression[source]#

Compute the cosine distance between two embeddings