feat: Add squared Euclidean distance (l2_squared) as a similarity function#13866
feat: Add squared Euclidean distance (l2_squared) as a similarity function#13866zhichenxu-meta wants to merge 1 commit intofacebookincubator:mainfrom
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
✅ Deploy Preview for meta-velox canceled.
|
b416c88 to
6813302
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
6813302 to
8ea5f48
Compare
8ea5f48 to
9057d6a
Compare
9057d6a to
72b3b54
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
72b3b54 to
8cbf3c8
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
8cbf3c8 to
0f1d85a
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
0f1d85a to
b2c42b8
Compare
a917d98 to
f6f6e6d
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
f6f6e6d to
53fe84f
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
amitkdutta
left a comment
There was a problem hiding this comment.
Thanks @zhichenxu-meta
53fe84f to
43c438f
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
43c438f to
0e13acb
Compare
0e13acb to
60bd50a
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
60bd50a to
a2efaf6
Compare
zacw7
left a comment
There was a problem hiding this comment.
LG. Thanks for implementing the function. Can we add an entry to the doc somewhere like: https://github.com/facebookincubator/velox/blob/main/velox/docs/functions/presto/math.rst ?
There was a problem hiding this comment.
Shall we name the test as l2SquaredFunctionFloatArray to keep the naming convention consistent?
amitkdutta
left a comment
There was a problem hiding this comment.
@zhichenxu-meta As @zacw7 mentioned, lets add documentation about function
Thanks @zacw7 and @amitkdutta Added function documentation and sorry that missed that. |
Summary: Pull Request resolved: facebookincubator#13866 Differential Revision: D77190483
a2efaf6 to
c2f5eb0
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77190483 |
zacw7
left a comment
There was a problem hiding this comment.
LG. Thanks for adding the detailed documentation.
|
This pull request has been merged in 6c819d0. |
Differential Revision: D77190483