Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b72762e

Browse files
committedJun 20, 2025·
Merge branch 'bump_to_6d728e82' into bump_to_32ba7210
2 parents 2bb3513 + 6e7a1ff commit b72762e

35 files changed

+2221
-140
lines changed
 

‎docs/Dialects/onnx.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ The operator casts the elements of a given input tensor (the first input) to
10151015
the same data type as the elements of the second input tensor.
10161016
See documentation of the Cast operator for further details.
10171017

1018-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
1018+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
10191019

10201020
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
10211021

@@ -1032,14 +1032,14 @@ Effects: `MemoryEffects::Effect{}`
10321032

10331033
| Operand | Description |
10341034
| :-----: | ----------- |
1035-
| `input` | tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 1-bit signless integer values or tensor of string type values or tensor of bfloat16 type values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values
1036-
| `target_type` | tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 1-bit signless integer values or tensor of string type values or tensor of bfloat16 type values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values
1035+
| `input` | tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of bfloat16 type values or tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of string type values or tensor of 1-bit signless integer values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values or tensor of 4-bit unsigned integer values or tensor of 4-bit signless integer values
1036+
| `target_type` | tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of bfloat16 type values or tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of string type values or tensor of 1-bit signless integer values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values or tensor of 4-bit unsigned integer values or tensor of 4-bit signless integer values
10371037

10381038
#### Results:
10391039

10401040
| Result | Description |
10411041
| :----: | ----------- |
1042-
| `output` | tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 1-bit signless integer values or tensor of string type values or tensor of bfloat16 type values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values
1042+
| `output` | tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of bfloat16 type values or tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of string type values or tensor of 1-bit signless integer values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values or tensor of 4-bit unsigned integer values or tensor of 4-bit signless integer values
10431043

10441044
### `onnx.CastMap` (ONNXCastMapOp)
10451045

@@ -1145,7 +1145,7 @@ The rules then become:
11451145
| [x] < -FLT_MAX | NaN | NaN | -Inf | NaN |
11461146
| else | RNE | RNE | RNE | RNE |
11471147

1148-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
1148+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
11491149

11501150
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ResultTypeInferenceOpInterface`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
11511151

@@ -1623,7 +1623,7 @@ _ONNX ConstantOfShape operation_
16231623

16241624
Generate a tensor with given value and shape.
16251625

1626-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<20>`
1626+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
16271627

16281628
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ResultTypeInferenceOpInterface`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
16291629

@@ -1646,7 +1646,7 @@ Effects: `MemoryEffects::Effect{}`
16461646

16471647
| Result | Description |
16481648
| :----: | ----------- |
1649-
| `output` | tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 1-bit signless integer values or tensor of bfloat16 type values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values
1649+
| `output` | tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 4-bit unsigned integer values or tensor of 4-bit signless integer values or tensor of 1-bit signless integer values or tensor of bfloat16 type values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values
16501650

16511651
### `onnx.Constant` (ONNXConstantOp)
16521652

@@ -1655,7 +1655,7 @@ _ONNX Constant operation_
16551655
This operator produces a constant tensor. Exactly one of the provided attributes, either value, sparse_value,
16561656
or value_* must be specified.
16571657

1658-
Traits: `AlwaysSpeculatableImplTrait`, `ConstantLike`, `OpVersionTrait<19>`
1658+
Traits: `AlwaysSpeculatableImplTrait`, `ConstantLike`, `OpVersionTrait<21>`
16591659

16601660
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ResultTypeInferenceOpInterface`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
16611661

@@ -1679,7 +1679,7 @@ Effects: `MemoryEffects::Effect{}`
16791679

16801680
| Result | Description |
16811681
| :----: | ----------- |
1682-
| `output` | tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of bfloat16 type values or tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of string type values or tensor of 1-bit signless integer values or tensor of complex type with 32-bit float elements values or tensor of complex type with 64-bit float elements values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values
1682+
| `output` | tensor of 8-bit unsigned integer values or tensor of 16-bit unsigned integer values or tensor of 32-bit unsigned integer values or tensor of 64-bit unsigned integer values or tensor of 8-bit signless integer values or tensor of 16-bit signless integer values or tensor of 32-bit signless integer values or tensor of 64-bit signless integer values or tensor of bfloat16 type values or tensor of 16-bit float values or tensor of 32-bit float values or tensor of 64-bit float values or tensor of string type values or tensor of 1-bit signless integer values or tensor of complex type with 32-bit float elements values or tensor of complex type with 64-bit float elements values or tensor of f8E4M3FN type values or tensor of f8E4M3FNUZ type values or tensor of f8E5M2 type values or tensor of f8E5M2FNUZ type values or tensor of 4-bit unsigned integer values or tensor of 4-bit signless integer values
16831683

16841684
### `onnx.ConvInteger` (ONNXConvIntegerOp)
16851685

@@ -2779,7 +2779,7 @@ Flattens the input tensor into a 2D matrix. If input tensor has shape
27792779
(d_0, d_1, ... d_n) then the output will have shape
27802780
(d_0 X d_1 ... d_(axis-1), d_axis X d_(axis+1) ... X dn).
27812781

2782-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<13>`
2782+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
27832783

27842784
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
27852785

@@ -3996,7 +3996,7 @@ _ONNX Identity operation_
39963996

39973997
Identity operator
39983998

3999-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
3999+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
40004000

40014001
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
40024002

@@ -4020,7 +4020,7 @@ _ONNX If operation_
40204020

40214021
If conditional
40224022

4023-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
4023+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
40244024

40254025
Interfaces: `ConditionallySpeculatable`, `HasOnnxSubgraphOpInterface`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ResultTypeInferenceOpInterface`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
40264026

@@ -4853,7 +4853,7 @@ point-wise operators (e.g. dropout, residual connections, linear layer).
48534853

48544854
The input/output of subgraph (produced by loop node) matching is based on order instead of name. The implementation will figure out the names based on this order.
48554855

4856-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
4856+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
48574857

48584858
Interfaces: `ConditionallySpeculatable`, `HasOnnxSubgraphOpInterface`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ResultTypeInferenceOpInterface`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
48594859

@@ -6260,7 +6260,7 @@ output = [
62606260
]
62616261
```
62626262

6263-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
6263+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
62646264

62656265
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
62666266

@@ -8148,7 +8148,7 @@ If the attribute 'allowzero' is set, it is invalid for the specified shape to
81488148
contain both a zero value and -1, as the value of the dimension corresponding
81498149
to -1 cannot be determined uniquely.
81508150

8151-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
8151+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
81528152

81538153
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
81548154

@@ -8837,7 +8837,7 @@ values are computed in the outer graph, they need to be passed in as extra state
88378837
}
88388838

88398839

8840-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
8840+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
88418841

88428842
Interfaces: `ConditionallySpeculatable`, `HasOnnxSubgraphOpInterface`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ResultTypeInferenceOpInterface`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
88438843

@@ -9428,7 +9428,7 @@ end: 2
94289428
Output: [3]
94299429
```
94309430

9431-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
9431+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
94329432

94339433
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
94349434

@@ -9654,7 +9654,7 @@ _ONNX Size operation_
96549654

96559655
Takes a tensor as input and outputs a int64 scalar that equals to the total number of elements of the input tensor.
96569656

9657-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<19>`
9657+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
96589658

96599659
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
96609660

@@ -10183,7 +10183,7 @@ Takes an input `axes` with a list of axes to squeeze.
1018310183
If `axes` is not provided, all the single dimensions will be removed from
1018410184
the shape. If an axis is selected with shape entry not equal to one, an error is raised.
1018510185

10186-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<13>`
10186+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
1018710187

1018810188
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
1018910189

@@ -10563,7 +10563,7 @@ Transpose the input tensor similar to numpy.transpose. For example, when
1056310563
perm=(1, 0, 2), given an input tensor of shape (1, 2, 3), the output shape
1056410564
will be (2, 1, 3).
1056510565

10566-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<13>`
10566+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
1056710567

1056810568
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
1056910569

@@ -10889,7 +10889,7 @@ The rank of the output tensor (`output_rank`) is the rank of the input tensor (`
1088910889
Each value in `axes` should be within the (inclusive) range [-output_rank , output_rank - 1].
1089010890
The order of values in `axes` does not matter and can come in any order.
1089110891

10892-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<13>`
10892+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<21>`
1089310893

1089410894
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
1089510895

@@ -10958,7 +10958,7 @@ Upsample the input tensor.
1095810958
Each dimension value of the output tensor is:
1095910959
output_dimension = floor(input_dimension * scale).
1096010960

10961-
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<9>`
10961+
Traits: `AlwaysSpeculatableImplTrait`, `OpVersionTrait<10>`
1096210962

1096310963
Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `ShapeHelperOpInterface`, `ShapeInferenceOpInterface`
1096410964

0 commit comments

Comments
 (0)
Please sign in to comment.