Skip to content

Commit 8539be7

Browse files
committed
refine unittest for fp64
1 parent e99f356 commit 8539be7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

python/paddle/fluid/tests/unittests/test_gradient_clip.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,6 @@ def test_gradient_clip(self):
527527
[16, 5], min=-10, max=10).astype('float64')
528528
linear = fluid.dygraph.Linear(5, 5, dtype="float64")
529529
out = linear(fluid.dygraph.to_variable(inputs))
530-
out = linear(fluid.dygraph.to_variable(inputs))
531530
loss = fluid.layers.reduce_mean(out)
532531
loss.backward()
533532
# before clip

0 commit comments

Comments
 (0)