Skip to content

Commit 6e2eb8d

Browse files
committed
fix unittest
1 parent d87c579 commit 6e2eb8d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

python/paddle/fluid/contrib/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ def bilateral_slice(x, guide, grid, has_offset, name=None):
15431543
inputs = {'X': x, 'Guide': guide, 'Grid': grid}
15441544
if paddle.fluid.in_dygraph_mode():
15451545
attrs = ('has_offset', has_offset)
1546-
return getattr(core.ops, "bilateral_slice")(x, guide, grid, *attrs)
1546+
return getattr(core.ops, "bilateral_slice")(x, grid, guide, *attrs)
15471547
helper.append_op(
15481548
type='bilateral_slice',
15491549
inputs=inputs,

0 commit comments

Comments
 (0)