-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix en doc for rnn.py. test=document_fix #27835
Conversation
lstmp error message enhancement. sequence_conv error message enhencement. sequence_enumerate error message enhencement. sequence_mask error message enhencement.
… yxp0925 Merge branch 'develop'.
… yxp0925 Merge branch 'develop'.
Thanks for your contribution! |
@@ -160,7 +160,7 @@ def get_initial_states(self, | |||
states. For `batch_ref`'s shape d, `d[batch_dim_idx]` is | |||
treated as batch size. | |||
shape (list|tuple, optional): A (possibly nested structure of) shape[s], | |||
where a shape is a list/tuple of integer). `-1` (for batch size) | |||
where a shape is a list/tuple of integer. `-1` (for batch size) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
157、177前面需要加个空行 不然会有显示bug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -154,13 +154,14 @@ def get_initial_states(self, | |||
r""" | |||
Generate initialized states according to provided shape, data type and | |||
value. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
参数统一为 Parameters
,变量统一为Variables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* Fix en doc for rnn.py. test=document_fix
PR types
Others
PR changes
Docs
Describe
Fix equation and example errors and add example output for en doc in rnn.py.
Preview
http://gzhxy-inf-bce36a39de.gzhxy.baidu.com:8121/documentation/docs/en/api/paddle/nn/GRUCell_en.html
http://gzhxy-inf-bce36a39de.gzhxy.baidu.com:8121/documentation/docs/en/api/paddle/nn/GRU_en.html
http://gzhxy-inf-bce36a39de.gzhxy.baidu.com:8121/documentation/docs/en/api/paddle/nn/LSTM_en.html
http://gzhxy-inf-bce36a39de.gzhxy.baidu.com:8121/documentation/docs/en/api/paddle/nn/LSTMCell_en.html
http://gzhxy-inf-bce36a39de.gzhxy.baidu.com:8121/documentation/docs/en/api/paddle/nn/RNN_en.html
http://gzhxy-inf-bce36a39de.gzhxy.baidu.com:8121/documentation/docs/en/api/paddle/nn/BiRNN_en.html
http://gzhxy-inf-bce36a39de.gzhxy.baidu.com:8121/documentation/docs/en/api/paddle/nn/SimpleRNNCell_en.html