Slight rewording in Keras Layers RNN docs: backward compatible reason --> backward compatibility

PiperOrigin-RevId: 358023469
Change-Id: Ic941c08bdee19946fe09c62777d35e614e3b8adc
This commit is contained in:
A. Unique TensorFlower 2021-02-17 13:43:53 -08:00 committed by TensorFlower Gardener
parent 5cdb9a43aa
commit 7716b719e5

View File

@ -236,7 +236,7 @@ class RNN(Layer):
`batch_size` is a scalar tensor that represents the batch size
of the inputs. `dtype` is `tf.DType` that represents the dtype of
the inputs.
For backward compatible reason, if this method is not implemented
For backward compatibility, if this method is not implemented
by the cell, the RNN layer will create a zero filled tensor with the
size of [batch_size, cell.state_size].
In the case that `cell` is a list of RNN cell instances, the cells