Skip to content

Commit a7dce44

Browse files
justinchubyCopilot
andauthored
Update onnxscript/function_libs/torch_lib/ops/core.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9c2d5cd commit a7dce44

File tree

1 file changed

+1
-1
lines changed
  • onnxscript/function_libs/torch_lib/ops

1 file changed

+1
-1
lines changed

onnxscript/function_libs/torch_lib/ops/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6726,7 +6726,7 @@ def aten_pixel_unshuffle(self: TReal, downscale_factor: int) -> TReal:
67266726
self, op.Concat(op.Constant(value_ints=[-1]), chw_in_dims, axis=0)
67276727
)
67286728
space_to_depth = op.SpaceToDepth(reshaped_self, blocksize=downscale_factor)
6729-
final_dims = op.Slice(op.Shape(depth_to_space), starts=[1], ends=[_INT64_MAX], axes=[0])
6729+
final_dims = op.Slice(op.Shape(space_to_depth), starts=[1], ends=[_INT64_MAX], axes=[0])
67306730
output_shape = op.Concat(batch_dims, final_dims, axis=0)
67316731
return op.Reshape(space_to_depth, output_shape, allowzero=True)
67326732

0 commit comments

Comments
 (0)