[llvm-branch-commits] [llvm] [IR2Vec] Overloading `operator+` for `Embeddings` (PR #145118)

S. VenkataKeerthy via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jun 24 01:33:30 PDT 2025


================
@@ -106,6 +106,7 @@ struct Embedding {
   const std::vector<double> &getData() const { return Data; }
 
   /// Arithmetic operators
+  Embedding operator+(const Embedding &RHS) const;
----------------
svkeerthy wrote:

Sure. Will add them too! 

https://github.com/llvm/llvm-project/pull/145118


More information about the llvm-branch-commits mailing list