Closed MBkkt closed 3 months ago
Examples under Apache 2.0: https://github.com/ydb-platform/ydb/blob/main/library/cpp/dot_product/dot_product.h#L51
The L2 norm would be equal to the sqrt(l2sq(vec, 0)), so it should be quite easy to do that with existing squared-euclidean distance functionality.
sqrt(l2sq(vec, 0))
Examples under Apache 2.0: https://github.com/ydb-platform/ydb/blob/main/library/cpp/dot_product/dot_product.h#L51