Skip to content
Snippets Groups Projects

fix optional inputs in node treated as input for the graph (Fix optional bias in Conv operator)

Closed Charles Villard requested to merge silvanosky/aidge_core:conv_no_bias into dev
2 files
+ 28
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -217,10 +217,10 @@ public:
if ((inputCategory(i) == InputCategory::Data || inputCategory(i) == InputCategory::OptionalData)
&& input(i).second == gk_IODefaultIndex)
{
break;
return i;
}
}
return (i < nbInputs()) ? i : gk_IODefaultIndex;
return gk_IODefaultIndex;
}
@@ -547,3 +547,14 @@ private:
#endif /* AIDGE_CORE_GRAPH_NODE_H_ */
/********************************************************************************
* Copyright (c) 2023 CEA-List
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
********************************************************************************/
Loading