[CPU] Fixed leftovers for ExperimentalDetectronTopKROIs and klocwork issue (#7885)

This commit is contained in:
Egor Shulman
2021-12-26 21:25:33 +03:00
committed by GitHub
parent 2262692ce9
commit b454076a56
5 changed files with 2 additions and 10 deletions

View File

@@ -41,8 +41,6 @@ private:
int max_detections_per_image_;
bool class_agnostic_box_regression_;
std::vector<float> deltas_weights_;
std::string errorPrefix;
};
} // namespace MKLDNNPlugin

View File

@@ -45,8 +45,6 @@ private:
float coordinates_offset;
std::vector<int> roi_indices_;
std::string errorPrefix;
};
} // namespace MKLDNNPlugin

View File

@@ -36,8 +36,6 @@ private:
std::vector<int64_t> pyramid_scales_;
int sampling_ratio_ = 0;
bool aligned_ = false;
std::string errorPrefix;
};
} // namespace MKLDNNPlugin

View File

@@ -43,8 +43,8 @@ MKLDNNExperimentalDetectronTopKROIsNode::MKLDNNExperimentalDetectronTopKROIsNode
if (inputShapes.size() != 2 || outputShapes.size() != 1)
IE_THROW() << errorPrefix << " has incorrect number of input/output edges!";
if (getInputShapeAtPort(INPUT_ROIS).getDims().size() != 2 || getInputShapeAtPort(INPUT_PROBS).getDims().size() != 1)
IE_THROW() << errorPrefix << " has nsupported input shape";
if (getInputShapeAtPort(INPUT_ROIS).getRank() != 2 || getInputShapeAtPort(INPUT_PROBS).getRank() != 1)
IE_THROW() << errorPrefix << " has unsupported input shape";
max_rois_num_ = topKROI->get_max_rois();
}

View File

@@ -94,8 +94,6 @@ private:
int dim = 0;
int before_num = 0;
std::string errorPrefix;
#if defined(HAVE_AVX512F)
const int count_vec = 32;
#elif defined(HAVE_SSE) || defined(HAVE_AVX2)