We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c2d5cd commit a7dce44Copy full SHA for a7dce44
onnxscript/function_libs/torch_lib/ops/core.py
@@ -6726,7 +6726,7 @@ def aten_pixel_unshuffle(self: TReal, downscale_factor: int) -> TReal:
6726
self, op.Concat(op.Constant(value_ints=[-1]), chw_in_dims, axis=0)
6727
)
6728
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])
+ final_dims = op.Slice(op.Shape(space_to_depth), starts=[1], ends=[_INT64_MAX], axes=[0])
6730
output_shape = op.Concat(batch_dims, final_dims, axis=0)
6731
return op.Reshape(space_to_depth, output_shape, allowzero=True)
6732
0 commit comments