Skip to content
Snippets Groups Projects
Commit 1a0d54d5 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed typo

parent f11a11c3
No related branches found
No related tags found
No related merge requests found
...@@ -38,11 +38,11 @@ void Aidge::fuseMulAdd(std::shared_ptr<Aidge::Node> matmulNode, std::shared_ptr< ...@@ -38,11 +38,11 @@ void Aidge::fuseMulAdd(std::shared_ptr<Aidge::Node> matmulNode, std::shared_ptr<
// Fetch the output dimension throught the bias size // Fetch the output dimension throught the bias size
std::shared_ptr<Node> bias = nullptr; std::shared_ptr<Node> bias = nullptr;
if (addNode->getParent(0) == matmulNode) { if (addNode->getParent(0) == matmulNode) {
AIDGE_ASSERT(matmulNode->getParent(1), "No bias detected to produce the fuseMulAdd recipe."); AIDGE_ASSERT(addNode->getParent(1), "No bias detected to produce the fuseMulAdd recipe.");
bias = addNode->getParent(1); bias = addNode->getParent(1);
} }
else if (addNode->getParent(1) == matmulNode) { else if (addNode->getParent(1) == matmulNode) {
AIDGE_ASSERT(matmulNode->getParent(0), "No bias detected to produce the fuseMulAdd recipe."); AIDGE_ASSERT(addNode->getParent(0), "No bias detected to produce the fuseMulAdd recipe.");
bias = addNode->getParent(0); bias = addNode->getParent(0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment