Skip to content

Commit d6ec963

Browse files
committed
Minor correction.
1 parent f0e797e commit d6ec963

File tree

1 file changed

+1
-1
lines changed
  • python/paddle/v2/fluid/layers

1 file changed

+1
-1
lines changed

python/paddle/v2/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ def lstm_unit(x_t,
12411241

12421242
if x_t.shape[0] != hidden_t_prev.shape[0] or x_t.shape[
12431243
0] != cell_t_prev.shape[0]:
1244-
raise ValueError("The 1s dimensions of x_t, hidden_t_prev and "
1244+
raise ValueError("The 1st dimensions of x_t, hidden_t_prev and "
12451245
"cell_t_prev must be the same.")
12461246

12471247
if hidden_t_prev.shape[1] != cell_t_prev.shape[1]:

0 commit comments

Comments
 (0)