-
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 error in networks' docstrings . #5622
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3592,10 +3592,9 @@ def lstm_step_layer(input, | |
:type gate_act: BaseActivation | ||
:param state_act: State Activation Type. TanhActivation is the default. | ||
:type state_act: BaseActivation | ||
:param bias_attr: The bias attribute. If the parameter is set to False or an object | ||
whose type is not ParameterAttribute, no bias is defined. If the | ||
parameter is set to True, the bias is initialized to zero. | ||
:type bias_attr: ParameterAttribute | None | bool | Any | ||
:param bias_attr: The bias attribute. If the parameter is set to | ||
True or None, the bias is initialized to zero. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this parameter is set to False, no bias will be defined. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 由于这里的bias是用来计算lstm中 |
||
:type bias_attr: ParameterAttribute | None | True | ||
:param layer_attr: layer's extra attribute. | ||
:type layer_attr: ExtraLayerAttribute | ||
:return: LayerOutput object. | ||
|
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.
The parameter attribute for bias. If this parameter
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.
Done