We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc792e4 commit d98e3ddCopy full SHA for d98e3dd
onnxscript/function_libs/torch_lib/ops/nn.py
@@ -1503,7 +1503,7 @@ def _process_padding(padding: Sequence[INT64 | int], rank: int) -> INT64:
1503
paddings = [*paddings, *zeros]
1504
# Interleave the padding values
1505
paddings = paddings[-2::-2] + paddings[-1::-2]
1506
- return op.Concat(paddings, axis=0)
+ return op.Concat(*paddings, axis=0)
1507
1508
1509
@torch_op("aten::pad", trace_only=True)
0 commit comments