BHMliang

Results 1 comments of BHMliang

double d = embedding.get(i) * sqrtNorm; 改为double d = embedding.get(i) * norm;之后结果一致,但不明白为什么要*norm。 根据原公式: ![image](https://user-images.githubusercontent.com/13899460/66997218-a14f4200-f104-11e9-948a-e62ee3576698.png) v*x 翻译过来应该是embedding.get(i) * sqrtNorm * 1。 不明白这里为什么却是embedding.get(i) * norm * 1