From 2b6ad655f01f26da4f17ec9959f0c08884b94d61 Mon Sep 17 00:00:00 2001 From: michal-miotk Date: Mon, 28 Oct 2024 15:17:02 +0000 Subject: [PATCH] only lstmseq decomposition --- .../intel_gpu/src/plugin/transformations_pipeline.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp b/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp index c64e74e6aef3b8..29707bfecb88d5 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp @@ -517,10 +517,7 @@ void TransformationsPipeline::apply(std::shared_ptr func) { } else if (std::dynamic_pointer_cast(node)) { return false; } else if (const auto &lstm_seq = std::dynamic_pointer_cast(node)) { - return lstm_seq->get_clip() == 0.0f && - lstm_seq->get_activations() == std::vector{"sigmoid", "tanh", "tanh"} && - !ov::op::util::is_seq_len_provided(lstm_seq->get_input_node_shared_ptr(0), - lstm_seq->get_input_node_shared_ptr(3)); + return false; } return false; };