Skip to content

Commit b5cd55b

Browse files
ShawnXuanCopilot
andauthored
Update python/oneflow/nn/modules/interpolate.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a1e3368 commit b5cd55b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/oneflow/nn/modules/interpolate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def interpolate_like(
380380
381381
"""
382382
return Interpolate(
383-
size=like.shape[-2:],
383+
size=like.shape[2:],
384384
mode=mode,
385385
align_corners=align_corners,
386386
).forward(input)

0 commit comments

Comments
 (0)