You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Changelog.md
+306-1Lines changed: 306 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10497,7 +10497,7 @@ This version of the operator has been available since version 11 of the default
10497
10497
10498
10498
### <aname="Concat-11"></a>**Concat-11**</a>
10499
10499
10500
-
Concatenate a list of tensors into a single tensor
10500
+
Concatenate a list of tensors into a single tensor. All input tensors must have the same shape, except for the dimension size of the axis to concatenate on.
10501
10501
10502
10502
#### Version
10503
10503
@@ -10531,6 +10531,49 @@ This version of the operator has been available since version 11 of the default
10531
10531
<dd>Constrain output types to any tensor type.</dd>
Concatenate a sequence of tensors into a single tensor.
10537
+
All input tensors must have the same shape, except for the dimension size of the axis to concatenate on.
10538
+
By default 'new_axis' is 0, the behavior is similar to numpy.concatenate.
10539
+
When 'new_axis' is 1, the behavior is similar to numpy.stack.
10540
+
10541
+
#### Version
10542
+
10543
+
This version of the operator has been available since version 11 of the default ONNX operator set.
10544
+
10545
+
#### Attributes
10546
+
10547
+
<dl>
10548
+
<dt><tt>axis</tt> : int (required)</dt>
10549
+
<dd>Which axis to concat on. Accepted range in `[-r, r - 1]`, where `r` is the rank of input tensors. When `new_axis` is 1, accepted range is `[-r - 1, r]`. </dd>
10550
+
<dt><tt>new_axis</tt> : int (default is 0)</dt>
10551
+
<dd>Insert and concatenate on a new axis or not, default 0 means do not insert new axis.</dd>
Outputs a tensor copy from the tensor at 'position' in 'input_sequence'.
12528
+
Accepted range for 'position' is in `[-n, n - 1]`, where `n` is the number of tensors in 'input_sequence'.
12529
+
Negative value means counting positions from the back.
12530
+
12531
+
#### Version
12532
+
12533
+
This version of the operator has been available since version 11 of the default ONNX operator set.
12534
+
12535
+
#### Inputs
12536
+
12537
+
<dl>
12538
+
<dt><tt>input_sequence</tt> : S</dt>
12539
+
<dd>Input sequence.</dd>
12540
+
<dt><tt>position</tt> : I</dt>
12541
+
<dd>Position of the tensor in the sequence. Negative value means counting positions from the back. Accepted range in `[-n, n - 1]`, where `n` is the number of tensors in 'input_sequence'. It is an error if any of the index values are out of bounds. It must be a scalar(tensor of empty shape).</dd>
12542
+
</dl>
12543
+
12544
+
#### Outputs
12545
+
12546
+
<dl>
12547
+
<dt><tt>tensor</tt> : T</dt>
12548
+
<dd>Output tensor at the specified position in the input sequence.</dd>
Outputs a tensor sequence that removes the tensor at 'position' from 'input_sequence'.
12629
+
Accepted range for 'position' is in `[-n, n - 1]`, where `n` is the number of tensors in 'input_sequence'.
12630
+
Negative value means counting positions from the back.
12631
+
'position' is optional, by default it erases the last tensor from 'input_sequence'.
12632
+
12633
+
#### Version
12634
+
12635
+
This version of the operator has been available since version 11 of the default ONNX operator set.
12636
+
12637
+
#### Inputs (1 - 2)
12638
+
12639
+
<dl>
12640
+
<dt><tt>input_sequence</tt> : S</dt>
12641
+
<dd>Input sequence.</dd>
12642
+
<dt><tt>position</tt> (optional) : I</dt>
12643
+
<dd>Position of the tensor in the sequence. Negative value means counting positions from the back. Accepted range in `[-n, n - 1]`, where `n` is the number of tensors in 'input_sequence'. It is an error if any of the index values are out of bounds. It must be a scalar(tensor of empty shape).</dd>
12644
+
</dl>
12645
+
12646
+
#### Outputs
12647
+
12648
+
<dl>
12649
+
<dt><tt>output_sequence</tt> : S</dt>
12650
+
<dd>Output sequence that has the tensor at the specified position removed.</dd>
Outputs a tensor sequence that inserts 'tensor' into 'input_sequence' at 'position'.
12665
+
'tensor' must have the same data type as 'input_sequence'.
12666
+
Accepted range for 'position' is in `[-n, n]`, where `n` is the number of tensors in 'input_sequence'.
12667
+
Negative value means counting positions from the back.
12668
+
'position' is optional, by default it inserts 'tensor' to the back of 'input_sequence'.
12669
+
12670
+
#### Version
12671
+
12672
+
This version of the operator has been available since version 11 of the default ONNX operator set.
12673
+
12674
+
#### Inputs (2 - 3)
12675
+
12676
+
<dl>
12677
+
<dt><tt>input_sequence</tt> : S</dt>
12678
+
<dd>Input sequence.</dd>
12679
+
<dt><tt>tensor</tt> : T</dt>
12680
+
<dd>Input tensor to be inserted into the input sequence.</dd>
12681
+
<dt><tt>position</tt> (optional) : I</dt>
12682
+
<dd>Position in the sequence where the new tensor is inserted. It is optional and default is to insert to the back of the sequence. Negative value means counting positions from the back. Accepted range in `[-n, n]`, where `n` is the number of tensors in 'input_sequence'. It is an error if any of the index values are out of bounds. It must be a scalar(tensor of empty shape).</dd>
12683
+
</dl>
12684
+
12685
+
#### Outputs
12686
+
12687
+
<dl>
12688
+
<dt><tt>output_sequence</tt> : S</dt>
12689
+
<dd>Output sequence that contains the inserted tensor at given position.</dd>
0 commit comments