[CPU] Fixed leftovers for ExperimentalDetectronTopKROIs and klocwork issue (#7885)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -45,8 +45,6 @@ private:
|
||||
float coordinates_offset;
|
||||
|
||||
std::vector<int> roi_indices_;
|
||||
|
||||
std::string errorPrefix;
|
||||
};
|
||||
|
||||
} // namespace MKLDNNPlugin
|
||||
|
||||
@@ -36,8 +36,6 @@ private:
|
||||
std::vector<int64_t> pyramid_scales_;
|
||||
int sampling_ratio_ = 0;
|
||||
bool aligned_ = false;
|
||||
|
||||
std::string errorPrefix;
|
||||
};
|
||||
|
||||
} // namespace MKLDNNPlugin
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user