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

Context

Conv operators may have optional Bias. In this case, the missing inputs are treated as free available input of the GraphView.

Modified files

  • modified: include/aidge/graph/Node.hpp
  • modified: src/graph/Node.cpp

Detailed major modifications

  • getNbFreeDataInputs : return only the number of available Data and DataOptional (not Params)
  • getFirstFreeDataInput : return the first non assignated Data or DataOptional
  • AddChild : Instead of getting the first node from the GraphView inputnode, it finds the first input node with data available (which should be unique)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading