dotProductScore

Dot product score computed over signed bytes, scaled to be in 0, 1.

Return

the value of the similarity function applied to the two vectors

Parameters

a

bytes containing a vector

b

bytes containing another vector, of the same dimension