Skip to content

SimilarityFunctionType#

[source]

SimilarityFunctionType#

hsfs.embedding.SimilarityFunctionType()

Enumeration class representing different types of similarity functions.

Attributes

  • L2 (str): Represents L2 norm similarity function.
  • COSINE (str): Represents cosine similarity function.
  • DOT_PRODUCT (str): Represents dot product similarity function.