Skip to content

Commit 0203af0

Browse files
committed
trace_only
Signed-off-by: Justin Chu <[email protected]>
1 parent 42b03c0 commit 0203af0

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
@@ -6711,7 +6711,7 @@ def aten_pixel_shuffle(self: TReal, upscale_factor: int) -> TReal:
67116711
return op.Reshape(depth_to_space, output_shape, allowzero=True)
67126712

67136713

6714-
@torch_op("aten::pixel_unshuffle")
6714+
@torch_op("aten::pixel_unshuffle" trace_only=True)
67156715
def aten_pixel_unshuffle(self: TReal, downscale_factor: int) -> TReal:
67166716
"""pixel_unshuffle(Tensor self, int downscale_factor) -> Tensor"""
67176717
if len(self.shape) == 4:

0 commit comments

Comments
 (0)