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) {
#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);