Skip to content

Commit

Permalink
Update annotations of layers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ranqiu committed Sep 25, 2017
1 parent b2926e3 commit 732c897
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/paddle/trainer_config_helpers/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3668,6 +3668,7 @@ def gru_step_naive_layer(input,
:param param_attr:
:param layer_attr:
:return:
:rtype: LayerOutput
"""
if input.size % 3 != 0:
raise ValueError("GruStep input size must be divided by 3")
Expand Down

0 comments on commit 732c897

Please sign in to comment.