Skip to content
Snippets Groups Projects
Commit 6ab5353e authored by Maxence Naud's avatar Maxence Naud Committed by Maxence Naud
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 1671c0a4
No related branches found
No related tags found
No related merge requests found
...@@ -408,7 +408,7 @@ bool Aidge::GraphView::forwardDims(const std::vector<std::vector<Aidge::DimSize_ ...@@ -408,7 +408,7 @@ bool Aidge::GraphView::forwardDims(const std::vector<std::vector<Aidge::DimSize_
for (IOIndex_t i = 0; i < nodePtr->nbInputs(); ++i) { for (IOIndex_t i = 0; i < nodePtr->nbInputs(); ++i) {
std::pair<std::shared_ptr<Node>, IOIndex_t> inputI = nodePtr->input(i); std::pair<std::shared_ptr<Node>, IOIndex_t> inputI = nodePtr->input(i);
if (inputI.first) { if (inputI.first) {
// Check that tensors are properly connected... // Check that associated Data are properly connected...
AIDGE_ASSERT(nodePtr->getOperator()->getRawInput(i) == inputI.first->getOperator()->getRawOutput(inputI.second), AIDGE_ASSERT(nodePtr->getOperator()->getRawInput(i) == inputI.first->getOperator()->getRawOutput(inputI.second),
"Input#{} for node {} ({}) is not properly connected to output#{} of node {} ({}): Data or Tensor mismatch!", "Input#{} for node {} ({}) is not properly connected to output#{} of node {} ({}): Data or Tensor mismatch!",
i, nodePtr->name(), nodePtr->type(), inputI.second, inputI.first->name(), inputI.first->type()); i, nodePtr->name(), nodePtr->type(), inputI.second, inputI.first->name(), inputI.first->type());
......
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