未验证 提交 9d40621f 编写于 作者: X Xiaodong_Wang 提交者: GitHub

modify code comment (#288)

上级 f78516e1
...@@ -41,7 +41,7 @@ class ResnetGenerator(nn.Layer): ...@@ -41,7 +41,7 @@ class ResnetGenerator(nn.Layer):
input_nc (int) -- the number of channels in input images input_nc (int) -- the number of channels in input images
output_nc (int) -- the number of channels in output images output_nc (int) -- the number of channels in output images
ngf (int) -- the number of filters in the last conv layer ngf (int) -- the number of filters in the last conv layer
norm_layer -- normalization layer norm_type (str) -- the name of the normalization layer: batch | instance | none
use_dropout (bool) -- if use dropout layers use_dropout (bool) -- if use dropout layers
n_blocks (int) -- the number of ResNet blocks n_blocks (int) -- the number of ResNet blocks
padding_type (str) -- the name of padding layer in conv layers: reflect | replicate | zero padding_type (str) -- the name of padding layer in conv layers: reflect | replicate | zero
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册