Commit 3e795f2
authored
Introduce OpSignature to IR (#1838)
Introduce OpSignature accessible from the `.op_signature` property of
all OpLike objects (traced function, onnx function and op). The
OpSignature class leverages the IR to represent the signature of an
operator, preserving ordering of all inputs and provides easy to work
with type representations.
The PR also deprecates the ParamSchema class and properties.
Fixes #1697
The next PR will replace param_schemas usage.1 parent 561a600 commit 3e795f2
File tree
4 files changed
+820
-17
lines changed- onnxscript
- _internal
- ir
4 files changed
+820
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
33 | | - | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
37 | | - | |
38 | | - | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
0 commit comments