Skip to content

Commit

Permalink
removed LSTMSequence
Browse files Browse the repository at this point in the history
  • Loading branch information
ndemashov committed Apr 4, 2022
1 parent 6df5098 commit 26765ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions src/common/low_precision_transformations/src/recurrent_cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ RecurrentCellTransformation::RecurrentCellTransformation(const Params& params) :
const auto lstm_cell_with_dequantizations_without_subtract = ngraph::pattern::wrap_type<ngraph::opset5::LSTMCell>(
{dequantization_multiply_without_subtract_X, dequantization_multiply_without_subtract_H, C, fq_W, fq_R, B});

const auto seq_lengths = ngraph::pattern::wrap_type<ngraph::opset1::Constant>();
const auto lstm_sequence = ngraph::pattern::wrap_type<ngraph::opset5::LSTMSequence>(
{fq_X, fq_H, C, seq_lengths, fq_W, fq_R, B});
const auto lstm_sequence_with_dequantizations = ngraph::pattern::wrap_type<ngraph::opset5::LSTMSequence>(
{dequantization_multiply_X, dequantization_multiply_H, C, seq_lengths, fq_W, fq_R, B});
const auto lstm_sequence_with_dequantizations_without_subtract = ngraph::pattern::wrap_type<ngraph::opset5::LSTMSequence>(
{dequantization_multiply_without_subtract_X, dequantization_multiply_without_subtract_H, C, seq_lengths, fq_W, fq_R, B});

const auto gru_cell = ngraph::pattern::wrap_type<ngraph::opset4::GRUCell>({fq_X, fq_H, fq_W, fq_R, B});
const auto gru_cell_with_dequantizations = ngraph::pattern::wrap_type<ngraph::opset4::GRUCell>(
{dequantization_multiply_X, dequantization_multiply_X, fq_W, fq_R, B});
Expand All @@ -91,9 +83,6 @@ RecurrentCellTransformation::RecurrentCellTransformation(const Params& params) :
std::make_shared<pattern::op::Or>(OutputVector{lstm_cell,
lstm_cell_with_dequantizations,
lstm_cell_with_dequantizations_without_subtract,
lstm_sequence,
lstm_sequence_with_dequantizations,
lstm_sequence_with_dequantizations_without_subtract,
gru_cell,
gru_cell_with_dequantizations,
gru_cell_with_dequantizations_without_subtract,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ const std::vector<RecurrentCellTransformationTestValues> testValues = {
},
};
INSTANTIATE_TEST_SUITE_P(
smoke_LPT,
DISABLED_smoke_LPT,
RecurrentCellTransformation,
::testing::Combine(
::testing::ValuesIn(precisions),
Expand Down

0 comments on commit 26765ac

Please sign in to comment.