diff --git a/inference-engine/src/readers/ir_reader/ie_ir_parser.cpp b/inference-engine/src/readers/ir_reader/ie_ir_parser.cpp index 4c4b63d542e..05a48664f52 100644 --- a/inference-engine/src/readers/ir_reader/ie_ir_parser.cpp +++ b/inference-engine/src/readers/ir_reader/ie_ir_parser.cpp @@ -663,14 +663,9 @@ std::shared_ptr V10Parser::XmlDeserializer::createNode( const Blob::CPtr& weights, const GenericLayerParams& params) { static const InferenceEngine::details::caseless_unordered_map> creators = { - { "LessEqual", std::make_shared>("LessEqual") }, { "ReorgYolo", std::make_shared>("ReorgYolo") }, { "PSROIPooling", std::make_shared>("PSROIPooling") }, { "VariadicSplit", std::make_shared>("VariadicSplit") }, - { "LogicalAnd", std::make_shared>("LogicalAnd") }, - { "LogicalOr", std::make_shared>("LogicalOr") }, - { "LogicalXor", std::make_shared>("LogicalXor") }, - { "LogicalNot", std::make_shared>("LogicalNot") }, }; // Check that operation in default opsets @@ -833,15 +828,6 @@ std::shared_ptr V10Parser::XmlDeserializer::createNode( } namespace InferenceEngine { -// LessEqual layer -template <> -std::shared_ptr V10Parser::LayerCreator::createLayer( - const ngraph::OutputVector& inputs, const pugi::xml_node& node, const Blob::CPtr& weights, - const GenericLayerParams& layerParsePrms) { - checkParameters(inputs, layerParsePrms, 2); - return std::make_shared(inputs[0], inputs[1]); -} - // VariadicSplit layer template <> std::shared_ptr V10Parser::LayerCreator::createLayer( @@ -903,40 +889,4 @@ std::shared_ptr V10Parser::LayerCreator: spatial_bins_y, mode); } -// LogicalAnd layer -template <> -std::shared_ptr V10Parser::LayerCreator::createLayer( - const ngraph::OutputVector & inputs, const pugi::xml_node& node, const Blob::CPtr& weights, - const GenericLayerParams& layerParsePrms) { - checkParameters(inputs, layerParsePrms, 2); - return std::make_shared(inputs[0], inputs[1]); -} - -// LogicalOr layer -template <> -std::shared_ptr V10Parser::LayerCreator::createLayer( - const ngraph::OutputVector & inputs, const pugi::xml_node& node, const Blob::CPtr& weights, - const GenericLayerParams& layerParsePrms) { - checkParameters(inputs, layerParsePrms, 2); - return std::make_shared(inputs[0], inputs[1]); -} - -// LogicalXor layer -template <> -std::shared_ptr V10Parser::LayerCreator::createLayer( - const ngraph::OutputVector & inputs, const pugi::xml_node& node, const Blob::CPtr& weights, - const GenericLayerParams& layerParsePrms) { - checkParameters(inputs, layerParsePrms, 2); - return std::make_shared(inputs[0], inputs[1]); -} - -// LogicalNot layer -template <> -std::shared_ptr V10Parser::LayerCreator::createLayer( - const ngraph::OutputVector & inputs, const pugi::xml_node& node, const Blob::CPtr& weights, - const GenericLayerParams& layerParsePrms) { - checkParameters(inputs, layerParsePrms, 1); - return std::make_shared(inputs[0]); -} - } // namespace InferenceEngine diff --git a/ngraph/core/include/ngraph/op/util/binary_elementwise_logical.hpp b/ngraph/core/include/ngraph/op/util/binary_elementwise_logical.hpp index 5a8cbe6932f..f1377b6c225 100644 --- a/ngraph/core/include/ngraph/op/util/binary_elementwise_logical.hpp +++ b/ngraph/core/include/ngraph/op/util/binary_elementwise_logical.hpp @@ -74,7 +74,7 @@ namespace ngraph private: void validate_and_infer_elementwise_logical(const op::AutoBroadcastSpec& autob); - AutoBroadcastSpec m_autob; + AutoBroadcastSpec m_autob = AutoBroadcastSpec::NUMPY; }; } }