未验证 提交 99c9265f 编写于 作者: W wangna11BD 提交者: GitHub

fix spectral_norm en doc (#42728)

上级 3e7e0af6
......@@ -178,7 +178,7 @@ def spectral_norm(layer,
.. code-block:: python
from paddle.nn import Conv2D
from paddle.nn.utils import Spectralnorm
from paddle.nn.utils import spectral_norm
conv = Conv2D(3, 1, 3)
sn_conv = spectral_norm(conv)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册