Skip to content

Commit

Permalink
Int8 condition for tailC removed
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnick committed May 7, 2021
1 parent 76bb5c3 commit 60097b9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,8 @@ void MKLDNNConcatNode::selectOptimalPrimitiveDescriptor() {
maxCount = it.second;
convertTo = it.first;
} else if (it.second == maxCount) {
if (outputPrecision == Precision::I8 || outputPrecision == Precision::U8) {
if (it.first == PartialBlkDesc::makeTailC(getChildEdgeAt(0)->getDims().ToSizeVector())) {
convertTo = it.first;
}
if (it.first == PartialBlkDesc::makeTailC(getChildEdgeAt(0)->getDims().ToSizeVector())) {
convertTo = it.first;
}
}
}
Expand Down

0 comments on commit 60097b9

Please sign in to comment.