We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ed0329 commit ac1240cCopy full SHA for ac1240c
nnvm/src/core/symbolic.cc
@@ -346,7 +346,7 @@ void Symbol::Compose(const array_view<const Symbol*>& args,
346
};
347
DFSVisit(this->outputs, find_replace_map);
348
349
- if (nmatched == kwargs.size() && arg_counter < args.size()) {
+ if (nmatched == kwargs.size() && arg_counter <= args.size()) {
350
std::vector<Node*> update_nodes;
351
std::vector<std::pair<NodeEntry*, const NodeEntry*> > replace_plan;
352
auto find_replace_plan = [&replace_map, &replace_plan, &update_nodes]
0 commit comments