Implement backward function of Add operator
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
Filter activity
added Feature 🚀 TopicOperator labels
requested review from @pineapple
assigned to @jeromeh
added 14 commits
-
d167e29b...ab8dd8d8 - 13 commits from branch
eclipse/aidge:dev
- c5433633 - Implement backward function of Add operator
-
d167e29b...ab8dd8d8 - 13 commits from branch
mentioned in issue #30 (closed)
What is the current status on this error ?
Edited by Jerome HueFixed in aidge_core!355 (merged)
added 3 commits
-
c5433633...1563db04 - 2 commits from branch
eclipse/aidge:dev
- 3f4cd6e7 - Implement backward function of Add operator
-
c5433633...1563db04 - 2 commits from branch
enabled an automatic merge when all merge checks for 3f4cd6e7 pass
mentioned in commit 5ea40966
179 std::vector<std::size_t> idxInput1(broadcastedDims1.size()); 180 181 for (std::size_t dimension = 0; dimension < broadcastedDims0.size(); ++dimension) { 182 idxInput0[dimension] = (broadcastedDims0[dimension] == 1) ? 0 : idxOutputGrad[dimension]; 183 } 184 185 for (std::size_t dimension = 0; dimension < broadcastedDims1.size(); ++dimension) { 186 idxInput1[dimension] = (broadcastedDims1[dimension] == 1) ? 0 : idxOutputGrad[dimension]; 187 } 188 189 auto idx0 = getFlattenedIndex(broadcastedDims0, idxInput0); 190 auto idx1 = getFlattenedIndex(broadcastedDims1, idxInput1); 191 192 // For addition: gradient of both inputs is just the output gradient 193 // (unlike multiplication where we need to multiply by the other input, 194 // or subtraction where we need to negate one of them) changed milestone to %aidge v0.6.0
mentioned in merge request !145 (merged)
mentioned in issue #45
Please register or sign in to reply