Skip to content

add sq8uniform for hgraph#236

Merged
LHT129 merged 1 commit into
antgroup:mainfrom
LHT129:sq8_uniform
Dec 20, 2024
Merged

add sq8uniform for hgraph#236
LHT129 merged 1 commit into
antgroup:mainfrom
LHT129:sq8_uniform

Conversation

@LHT129

@LHT129 LHT129 commented Dec 19, 2024

Copy link
Copy Markdown
Collaborator

#40

@LHT129 LHT129 added the kind/feature Brand-new functionality or capabilities 引入全新的功能、新特性或新能力 label Dec 19, 2024
@LHT129 LHT129 self-assigned this Dec 19, 2024
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>

@wxyucs wxyucs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

if constexpr (metric == MetricType::METRIC_TYPE_COSINE) {
norm_data.resize(this->dim_);
Normalize(data, norm_data.data(), this->dim_);
new_data = norm_data.data();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not data = norm_data.data()?

@LHT129
LHT129 merged commit b44fff1 into antgroup:main Dec 20, 2024
@LHT129
LHT129 deleted the sq8_uniform branch December 20, 2024 03:24
Roxanne0321 pushed a commit to Roxanne0321/vsag that referenced this pull request Mar 3, 2025
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
jiacai2050 pushed a commit to jiacai2050/vsag that referenced this pull request Mar 6, 2025
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
LHT129 added a commit that referenced this pull request May 11, 2026
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
Sia-Sheerland pushed a commit to Sia-Sheerland/vsag that referenced this pull request Jun 26, 2026
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
Signed-off-by: Sia Sheerland <x1075956441x@163.com>

Signed-off-by: Sia Sheerland <x1075956441x@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature Brand-new functionality or capabilities 引入全新的功能、新特性或新能力 size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants