Commit 2f566e3
authored
Arm backend: Normalize enum signatures in API manifest (pytorch#19361)
Normalize Enum subclass signatures in the Arm public API manifest
generator so the output stays stable across Python versions.
Use a fixed `(*values)` signature for enum entries instead of relying on
`inspect.signature()` for `EnumMeta.__call__`, and update the checked-in
manifest snapshot to match.
Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>1 parent 345977a commit 2f566e3
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- backends/arm
- public_api_manifests
- scripts
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
0 commit comments