[llvm-branch-commits] [llvm] [IR2Vec] Minor vocab changes and exposing weights (PR #143200)
S. VenkataKeerthy via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 9 11:12:09 PDT 2025
================
@@ -83,9 +85,10 @@ void Embedding::scaleAndAdd(const Embedding &Src, float Factor) {
bool Embedding::approximatelyEquals(const Embedding &RHS,
double Tolerance) const {
assert(this->size() == RHS.size() && "Vectors must have the same dimension");
- for (size_t i = 0; i < this->size(); ++i)
+ for (size_t i = 0; i < this->size(); ++i) {
----------------
svkeerthy wrote:
Yes, done
https://github.com/llvm/llvm-project/pull/143200
More information about the llvm-branch-commits
mailing list