Skip to content

Commit 22f80cc

Browse files
committed
code sytle
1 parent 451bc3a commit 22f80cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/paddle/fluid/tests/book/test_label_semantic_roles.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ def db_lstm(word, predicate, ctx_n2, ctx_n1, ctx_0, ctx_p1, ctx_p2, mark,
7676
emb_layers.append(mark_embedding)
7777

7878
hidden_0_layers = [
79-
fluid.layers.fc(input=emb, size=hidden_dim)
80-
for emb in emb_layers
79+
fluid.layers.fc(input=emb, size=hidden_dim) for emb in emb_layers
8180
]
8281

8382
hidden_0 = fluid.layers.sums(input=hidden_0_layers)

0 commit comments

Comments
 (0)