We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42a1a2 commit c29432aCopy full SHA for c29432a
python/paddle/fluid/tests/unittests/test_layers.py
@@ -1928,7 +1928,7 @@ def test_spectral_norm(self):
1928
with self.dynamic_graph():
1929
with _test_eager_guard():
1930
spectralNorm = paddle.nn.SpectralNorm(
1931
- shape, dim=1, power_iters=2
+ shape, axis=1, power_iters=2
1932
)
1933
dy_eager_ret = spectralNorm(base.to_variable(input))
1934
dy_eager_rlt_value = dy_eager_ret.numpy()
0 commit comments