Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Jan 23, 2025
1 parent 3a121a6 commit 18844ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layer/arm/dequantize_arm_asimdhp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static void dequantize_fp16s(const int* intptr, __fp16* ptr, const Mat& scale_da
}
for (; i < size; i++)
{
*ptr = (__fp16*)(*intptr * scale);
*ptr = (__fp16)(*intptr * scale);
intptr++;
ptr++;
}
Expand Down Expand Up @@ -115,7 +115,7 @@ static void dequantize_fp16s(const int* intptr, __fp16* ptr, const Mat& scale_da
}
for (; i < size; i++)
{
*ptr = (__fp16*)(*intptr * scale + bias);
*ptr = (__fp16)(*intptr * scale + bias);
intptr++;
ptr++;
}
Expand Down

0 comments on commit 18844ce

Please sign in to comment.