Fixed klockwork (#3119)
This commit is contained in:
parent
74f8b86e8c
commit
0a230f829e
@ -32,9 +32,9 @@ class INFERENCE_ENGINE_INTERNAL("Migrate to IR v10 and work with ngraph::Functio
|
|||||||
CNNNetworkIterator {
|
CNNNetworkIterator {
|
||||||
IE_SUPPRESS_DEPRECATED_START
|
IE_SUPPRESS_DEPRECATED_START
|
||||||
|
|
||||||
std::unordered_set<CNNLayer*> visited;
|
std::unordered_set<CNNLayer*> visited {};
|
||||||
std::list<CNNLayerPtr> nextLayersToVisit;
|
std::list<CNNLayerPtr> nextLayersToVisit {};
|
||||||
InferenceEngine::CNNLayerPtr currentLayer;
|
InferenceEngine::CNNLayerPtr currentLayer = nullptr;
|
||||||
const ICNNNetwork* network = nullptr;
|
const ICNNNetwork* network = nullptr;
|
||||||
|
|
||||||
void init(const ICNNNetwork* net) {
|
void init(const ICNNNetwork* net) {
|
||||||
|
@ -2222,7 +2222,7 @@ void ScatterElementsUpdateValidator::checkShapes(const CNNLayer* layer, const ve
|
|||||||
|
|
||||||
#define REG_LAYER_VALIDATOR_FOR_TYPE(__validator, __type) _validators[#__type] = std::make_shared<__validator>(#__type)
|
#define REG_LAYER_VALIDATOR_FOR_TYPE(__validator, __type) _validators[#__type] = std::make_shared<__validator>(#__type)
|
||||||
|
|
||||||
LayerValidators::LayerValidators() {
|
LayerValidators::LayerValidators() : _validators() {
|
||||||
REG_LAYER_VALIDATOR_FOR_TYPE(ActivationValidator, Activation);
|
REG_LAYER_VALIDATOR_FOR_TYPE(ActivationValidator, Activation);
|
||||||
REG_LAYER_VALIDATOR_FOR_TYPE(ArgMaxValidator, ArgMax);
|
REG_LAYER_VALIDATOR_FOR_TYPE(ArgMaxValidator, ArgMax);
|
||||||
REG_LAYER_VALIDATOR_FOR_TYPE(BatchNormalizationValidator, BatchNormalization);
|
REG_LAYER_VALIDATOR_FOR_TYPE(BatchNormalizationValidator, BatchNormalization);
|
||||||
|
Loading…
Reference in New Issue
Block a user