Skip to content

Commit

Permalink
split config idx fix (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Andronov committed Jul 14, 2021
1 parent a15a55d commit 46e8c85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ void MKLDNNSplitNode::selectOptimalPrimitiveDescriptor() {
auto childEdge = getChildEdgeAt(i);
auto childPtr = childEdge->getChild();
auto& vecChildSpd = childPtr->getSupportedPrimitiveDescriptors();
const auto& outputDesc = supportedPrimitiveDescriptors[indx].getConfig().outConfs[i].desc;
const auto& outputDesc = supportedPrimitiveDescriptors[indx].getConfig().outConfs[childEdge->getInputNum()].desc;

if (!vecChildSpd.empty()) {
int inNum = childEdge->getOutputNum();
Expand Down

0 comments on commit 46e8c85

Please sign in to comment.