vector
or sparsevec
type.
vector
.vector
data type, use vector_l2_ops
for L2 distance, vector_ip_ops
for
inner product, and vector_cosine_ops
for cosine distance. For the
sparsevec
data type, use sparsevec_l2_ops
for L2 distance,
sparsevec_ip_ops
for inner product, and sparsevec_cosine_ops
for cosine
distance.