We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b57875b commit c8471a5Copy full SHA for c8471a5
1 file changed
onnxscript/function_libs/torch_lib/ops/core.py
@@ -9201,8 +9201,6 @@ def aten_unbind(self: TTensor, dim: int = 0) -> Sequence[TTensor]:
9201
"""unbind.int(Tensor(a -> *) self, int dim=0) -> Tensor(a)[]"""
9202
9203
if isinstance(self.shape[dim], int) and not version_utils.torch_older_than("2.7"):
9204
- # For torch>=2.7 with static shapes, use explicit Slice operations
9205
- # to avoid issues with Split returning a non-iterable SymbolicTensor
9206
num_outputs = self.shape[dim]
9207
results = []
9208
for i in range(num_outputs):
0 commit comments