Skip to content

Commit 5d6737b

Browse files
authored
Fix bug in affine_channel API (#16373)
1 parent dbc6579 commit 5d6737b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • python/paddle/fluid/layers

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9768,7 +9768,7 @@ def affine_channel(x,
97689768
'Bias': bias},
97699769
attrs={"data_layout": data_layout},
97709770
outputs={"Out": out})
9771-
return helper.append_activation(pre_activation)
9771+
return helper.append_activation(out)
97729772

97739773

97749774
def similarity_focus(input, axis, indexes, name=None):

0 commit comments

Comments
 (0)