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 {
|
||||
IE_SUPPRESS_DEPRECATED_START
|
||||
|
||||
std::unordered_set<CNNLayer*> visited;
|
||||
std::list<CNNLayerPtr> nextLayersToVisit;
|
||||
InferenceEngine::CNNLayerPtr currentLayer;
|
||||
std::unordered_set<CNNLayer*> visited {};
|
||||
std::list<CNNLayerPtr> nextLayersToVisit {};
|
||||
InferenceEngine::CNNLayerPtr currentLayer = nullptr;
|
||||
const ICNNNetwork* network = nullptr;
|
||||
|
||||
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)
|
||||
|
||||
LayerValidators::LayerValidators() {
|
||||
LayerValidators::LayerValidators() : _validators() {
|
||||
REG_LAYER_VALIDATOR_FOR_TYPE(ActivationValidator, Activation);
|
||||
REG_LAYER_VALIDATOR_FOR_TYPE(ArgMaxValidator, ArgMax);
|
||||
REG_LAYER_VALIDATOR_FOR_TYPE(BatchNormalizationValidator, BatchNormalization);
|
||||
|
Loading…
Reference in New Issue
Block a user