@@ -447,17 +447,17 @@ def instance_norm(
447
447
epsilon(float, Default 1e-05): A value added to the denominator for
448
448
numerical stability. Default is 1e-5.
449
449
param_attr(ParamAttr|None|bool, optional): The parameter attribute for Parameter `scale`
450
- of instance_norm. If it is set to None or one attribute of ParamAttr, instance_norm
451
- will create ParamAttr as param_attr, the name of scale can be set in ParamAttr.
452
- If the Initializer of the param_attr is not set, the parameter is initialized
453
- with Xavier. If the param_attr is set to False, instance_norm will not create param_attr.
454
- Default: None.
450
+ of instance_norm. If it is set to None or one attribute of ParamAttr, instance_norm
451
+ will create ParamAttr as param_attr, the name of scale can be set in ParamAttr.
452
+ If the Initializer of the param_attr is not set, the parameter is initialized
453
+ with Xavier. If the param_attr is set to False, instance_norm will not create param_attr.
454
+ Default: None.
455
455
bias_attr(ParamAttr|None|bool, optional): The parameter attribute for the bias of instance_norm.
456
- If it is set to None or one attribute of ParamAttr, instance_norm
457
- will create ParamAttr as bias_attr, the name of bias can be set in ParamAttr.
458
- If the Initializer of the bias_attr is not set, the bias is initialized zero.
459
- If the bias_attr is set to False, instance_norm will not create bias_attr.
460
- Default: None.
456
+ If it is set to None or one attribute of ParamAttr, instance_norm
457
+ will create ParamAttr as bias_attr, the name of bias can be set in ParamAttr.
458
+ If the Initializer of the bias_attr is not set, the bias is initialized zero.
459
+ If the bias_attr is set to False, instance_norm will not create bias_attr.
460
+ Default: None.
461
461
name(string, Default None): A name for this layer(optional). If set None, the layer
462
462
will be named automatically.
463
463
@@ -2854,14 +2854,14 @@ def batch_norm(
2854
2854
numerical stability. Default is 1e-5.
2855
2855
param_attr(ParamAttr|None): The parameter attribute for Parameter `scale`
2856
2856
of batch_norm. If it is set to None or one attribute of ParamAttr, batch_norm
2857
- will create ParamAttr as param_attr, the name of scale can be set in ParamAttr.
2858
- If the Initializer of the param_attr is not set, the parameter is initialized
2859
- with Xavier. Default: None.
2857
+ will create ParamAttr as param_attr, the name of scale can be set in ParamAttr.
2858
+ If the Initializer of the param_attr is not set, the parameter is initialized
2859
+ with Xavier. Default: None.
2860
2860
bias_attr(ParamAttr|None): The parameter attribute for the bias of batch_norm.
2861
2861
If it is set to None or one attribute of ParamAttr, batch_norm
2862
- will create ParamAttr as bias_attr, the name of bias can be set in ParamAttr.
2863
- If the Initializer of the bias_attr is not set, the bias is initialized zero.
2864
- Default: None.
2862
+ will create ParamAttr as bias_attr, the name of bias can be set in ParamAttr.
2863
+ If the Initializer of the bias_attr is not set, the bias is initialized zero.
2864
+ Default: None.
2865
2865
data_layout (str, optional): Specify the data format of the input, and the data format of the output
2866
2866
will be consistent with that of the input. An optional string from: `"NCHW"`, `"NHWC"`.
2867
2867
The default is `"NCHW"`. When it is `"NCHW"`, the data is stored in the order of:
0 commit comments