Skip to content

Commit 2307baf

Browse files
cjldqingqing01
authored andcommitted
cherry-pick pr15727 (#15833)
* fix group_norm (#15727)
1 parent e5c8a19 commit 2307baf

File tree

1 file changed

+1
-1
lines changed
  • python/paddle/fluid/layers

1 file changed

+1
-1
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3236,7 +3236,7 @@ def group_norm(input,
32363236
# create output
32373237
mean_out = helper.create_variable(dtype=dtype, stop_gradient=True)
32383238
variance_out = helper.create_variable(dtype=dtype, stop_gradient=True)
3239-
group_norm_out = helper.create_variable(dtype)
3239+
group_norm_out = helper.create_variable(dtype=dtype)
32403240

32413241
helper.append_op(
32423242
type="group_norm",

0 commit comments

Comments
 (0)