Commit 8c176f2
authored
Trace single op.SplitToSequence (#2817)
This pull request updates several operator registrations in
`onnxscript/function_libs/torch_lib/ops/core.py` to mark them as
`trace_only`, which affects how these ops are handled during tracing and
export. The most important changes are:
Operator registration updates (trace-only):
* Marked the `aten::split` and `aten::split.Tensor` operators as
`trace_only` in the `aten_split` function registration.
* Marked the `aten::split_with_sizes` operator as `trace_only` in the
`aten_split_with_sizes` function registration.
* Marked the `aten::unsafe_split.Tensor` operator as `trace_only` in the
`aten_unsafe_split` function registration.1 parent 0d06d3b commit 8c176f2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9068 | 9068 | | |
9069 | 9069 | | |
9070 | 9070 | | |
9071 | | - | |
| 9071 | + | |
9072 | 9072 | | |
9073 | 9073 | | |
9074 | 9074 | | |
| |||
9081 | 9081 | | |
9082 | 9082 | | |
9083 | 9083 | | |
9084 | | - | |
| 9084 | + | |
9085 | 9085 | | |
9086 | 9086 | | |
9087 | 9087 | | |
| |||
10101 | 10101 | | |
10102 | 10102 | | |
10103 | 10103 | | |
10104 | | - | |
| 10104 | + | |
10105 | 10105 | | |
10106 | 10106 | | |
10107 | 10107 | | |
| |||
0 commit comments