Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[docs] Align LSTMSequence specification attributes order with constructor (#27559)

Pawel Raasz9705c7e9e2f4
diff --git a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/lstm-sequence-5.rst b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/lstm-sequence-5.rst
index 164033bdd28..abad632e5ae 100644
--- a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/lstm-sequence-5.rst
+++ b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/lstm-sequence-5.rst
@@ -26,13 +26,12 @@ A single cell in the sequence is implemented in the same way as in :doc:`LSTM Ce
* **Type**: ``int``
* **Required**: *yes*
-* *activations*
+* *direction*
- * **Description**: *activations* specifies activation functions for gates, there are three gates, so three activation functions should be specified as a value for this attributes
- * **Range of values**: any combination of *relu*, *sigmoid*, *tanh*
- * **Type**: a list of strings
- * **Default value**: *sigmoid,tanh,tanh*
- * **Required**: *no*
+ * **Description**: Specify if the RNN is forward, reverse, or bidirectional. If it is one of *forward* or *reverse* then ``num_directions = 1``, if it is *bidirectional*, then ``num_directions = 2``. This ``num_directions`` value specifies input/output shape requirements.
+ * **Range of values**: *forward*, *reverse*, *bidirectional*
+ * **Type**: ``string``
+ * **Required**: *yes*
* *activations_alpha, activations_beta*
@@ -42,6 +41,14 @@ A single cell in the sequence is implemented in the same way as in :doc:`LSTM Ce
* **Default value**: None
* **Required**: *no*
+* *activations*
+
+ * **Description**: *activations* specifies activation functions for gates, there are three gates, so three activation functions should be specified as a value for this attributes
+ * **Range of values**: any combination of *relu*, *sigmoid*, *tanh*
+ * **Type**: a list of strings
+ * **Default value**: *sigmoid,tanh,tanh*
+ * **Required**: *no*
+
* *clip*
* **Description**: *clip* specifies bound values *[-C, C]* for tensor clipping. Clipping is performed before activations.
@@ -50,12 +57,6 @@ A single cell in the sequence is implemented in the same way as in :doc:`LSTM Ce
* **Default value**: *infinity* that means that the clipping is not applied
* **Required**: *no*
-* *direction*
-
- * **Description**: Specify if the RNN is forward, reverse, or bidirectional. If it is one of *forward* or *reverse* then ``num_directions = 1``, if it is *bidirectional*, then ``num_directions = 2``. This ``num_directions`` value specifies input/output shape requirements.
- * **Range of values**: *forward*, *reverse*, *bidirectional*
- * **Type**: ``string``
- * **Required**: *yes*
**Inputs**