message: Provides a better example for `StackedRNNCells`. The current example does not demonstrate the use of the class.
diff: @@ -66,14 +66,17 @@ class StackedRNNCells(Layer):
  Examples:
  ```python
  - cells = [
  - keras.layers.LSTMCell(output_dim),
  - keras.layers.LSTMCell(output_dim),
  - keras.layers.LSTMCell(output_dim),
  - ]
  + batch_size = 3
  + sentence_max_length = 5
  + n_features = 2
  + new_shape = (batch_size, sentence_max_length, n_features)
  + x = tf.constant(np.reshape(np.arange(30), new_shape), dtype = tf.float32)
  +
  + rnn_cells = [tf.keras.layers.LSTMCell(128) for _ in range(2)]
  + stacked_lstm = tf.keras.layers.StackedRNNCells(rnn_cells)
  + lstm_layer = tf.keras.layers.RNN(stacked_lstm)
  - inputs = keras.Input((timesteps, input_dim))
  - x = keras.layers.RNN(cells)(inputs)
  + result = lstm_layer(x)
  ```
  """
  