mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
Delete redundant Chinese comments (#275)
This commit is contained in:
@@ -20,7 +20,6 @@ namespace utils {
|
||||
|
||||
float CosineSimilarity(const std::vector<float>& a, const std::vector<float>& b,
|
||||
bool normalized) {
|
||||
// 计算余弦相似度
|
||||
FDASSERT((a.size() == b.size()) && (a.size() != 0),
|
||||
"The size of a and b must be equal and >= 1.");
|
||||
size_t num_val = a.size();
|
||||
|
||||
Reference in New Issue
Block a user