Skip to content

Commit c6a8e23

Browse files
committed
Fix unittests
1 parent 3f1151a commit c6a8e23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddle/gserver/tests/sequence_layer_group.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ lstm = lstmemory_group(
4848
size=hidden_dim,
4949
act=TanhActivation(),
5050
gate_act=SigmoidActivation(),
51-
state_act=TanhActivation(),
52-
lstm_layer_attr=ExtraLayerAttribute(error_clipping_threshold=50))
51+
state_act=TanhActivation())
5352

5453
lstm_last = last_seq(input=lstm)
5554

python/paddle/trainer_config_helpers/tests/configs/protostr/projections.protostr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ layers {
320320
}
321321
}
322322
drop_rate: 0.5
323+
error_clipping_threshold: 40.0
323324
}
324325
parameters {
325326
name: "___embedding_0__.w0"

0 commit comments

Comments
 (0)