Fixed klockwork (#3119)

This commit is contained in:
Ilya Lavrenov 2020-11-16 12:50:03 +03:00 committed by GitHub
parent 74f8b86e8c
commit 0a230f829e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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);