Skip to content

Commit c29432a

Browse files
committed
update
1 parent e42a1a2 commit c29432a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1928,7 +1928,7 @@ def test_spectral_norm(self):
19281928
with self.dynamic_graph():
19291929
with _test_eager_guard():
19301930
spectralNorm = paddle.nn.SpectralNorm(
1931-
shape, dim=1, power_iters=2
1931+
shape, axis=1, power_iters=2
19321932
)
19331933
dy_eager_ret = spectralNorm(base.to_variable(input))
19341934
dy_eager_rlt_value = dy_eager_ret.numpy()

0 commit comments

Comments
 (0)