We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 386a028 commit 98a6b85Copy full SHA for 98a6b85
python/paddle/trainer_config_helpers/layers.py
@@ -3680,9 +3680,10 @@ def gru_step_naive_layer(input,
3680
size = input.size / 3
3681
3682
if bias_attr and bias_attr.attr.get("parameter_name", None) is not None:
3683
- raise ValueError("You should not specify the name of bias parameters. "
3684
- "Otherwise, the three bias will share the same "
3685
- "parameter matrix.")
+ raise ValueError("You should not specify the field `name` in bias_attr."
+ " Otherwise, the three biases, which correponding to "
+ " the two gates and the mixed layer for computing Wx+b"
3686
+ ", will share the same parameter matrix unexpectedly.")
3687
3688
def __gate__(gate_name, offset):
3689
with mixed_layer(
0 commit comments