Fix trivialmerge considering also weight attributes
All checks were successful
Validate Operations / validate-operations (push) Successful in 2h8m9s

This commit is contained in:
ilgeco
2026-04-14 16:45:14 +02:00
parent a7dee5b840
commit 2151e322ca
2 changed files with 36 additions and 7 deletions

View File

@@ -219,7 +219,6 @@ private:
auto weightMutableIter = toCompute.getWeightsMutable();
for (auto weight : fromCompute.getWeights()) {
// TODO non clonare weight gia' presenti e poi vanno rimappate le nuove OP con i nuovi weight
auto founded = llvm::find(toCompute.getWeights(), weight);
if (founded == toCompute.getWeights().end()) {
size_t sizeW = toCompute.getWeights().size();