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
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8662,7 +8662,7 @@ This version of the operator has been available since version 9 of the default O
8662
8662
8663
8663
<dl>
8664
8664
<dt><tt>Y</tt> : tensor(int64)</dt>
8665
-
<dd>output (always 2D tensor)</dd>
8665
+
<dd>output</dd>
8666
8666
</dl>
8667
8667
8668
8668
#### Type Constraints
@@ -13398,11 +13398,13 @@ This version of the operator has been available since version 11 of the default
13398
13398
Slices uses `starts`, `ends`, `axes` and `steps` inputs to specify the start and end
13399
13399
dimension and step for each axis in the list of axes, it uses this information to
13400
13400
slice the input `data` tensor. If a negative value is passed for any of the
13401
-
start or end indices, it represent number of elements before the end of that
13401
+
start or end indices, it represents number of elements before the end of that
13402
13402
dimension. If the value passed to start or end is larger than the `n` (the
13403
13403
number of elements in this dimension), it represents `n`. For slicing to the
13404
-
end of a dimension with unknown size, it is recommended to pass in `INT_MAX`.
13405
-
If a negative value is passed for step, it represents slicing backward.
13404
+
end of a dimension with unknown size, it is recommended to pass in `INT_MAX`
13405
+
when sclicing forward and 'INT_MIN' when slicing backward.
13406
+
If a negative value is passed for step, it represents slicing backward.
13407
+
However step value cannot be 0.
13406
13408
If `axes` are omitted, they are set to `[0, ..., ndim-1]`.
13407
13409
If `steps` are omitted, they are set to `[1, ..., 1]` of length `len(starts)`
13408
13410
Example 1:
@@ -13444,7 +13446,7 @@ This version of the operator has been available since version 11 of the default
13444
13446
<dt><tt>axes</tt> (optional) : Tind</dt>
13445
13447
<dd>1-D tensor of axes that `starts` and `ends` apply to. Negative value means counting dimensions from the back. Accepted range is [-r, r-1] where r = rank(data).</dd>
13446
13448
<dt><tt>steps</tt> (optional) : Tind</dt>
13447
-
<dd>1-D tensor of slice step of corresponding axis in `axes`. Default to 1.</dd>
13449
+
<dd>1-D tensor of slice step of corresponding axis in `axes`. Negative value means slicing backward. 'steps' cannot be 0. Defaults to 1.</dd>
Slices uses `starts`, `ends`, `axes` and `steps` inputs to specify the start and end
16192
16192
dimension and step for each axis in the list of axes, it uses this information to
16193
16193
slice the input `data` tensor. If a negative value is passed for any of the
16194
-
start or end indices, it represent number of elements before the end of that
16194
+
start or end indices, it represents number of elements before the end of that
16195
16195
dimension. If the value passed to start or end is larger than the `n` (the
16196
16196
number of elements in this dimension), it represents `n`. For slicing to the
16197
-
end of a dimension with unknown size, it is recommended to pass in `INT_MAX`.
16198
-
If a negative value is passed for step, it represents slicing backward.
16197
+
end of a dimension with unknown size, it is recommended to pass in `INT_MAX`
16198
+
when sclicing forward and 'INT_MIN' when slicing backward.
16199
+
If a negative value is passed for step, it represents slicing backward.
16200
+
However step value cannot be 0.
16199
16201
If `axes` are omitted, they are set to `[0, ..., ndim-1]`.
16200
16202
If `steps` are omitted, they are set to `[1, ..., 1]` of length `len(starts)`
16201
16203
Example 1:
@@ -16239,7 +16241,7 @@ Other versions of this operator: <a href="Changelog.md#Slice-1">Slice-1</a>, <a
16239
16241
<dt><tt>axes</tt> (optional) : Tind</dt>
16240
16242
<dd>1-D tensor of axes that `starts` and `ends` apply to. Negative value means counting dimensions from the back. Accepted range is [-r, r-1] where r = rank(data).</dd>
16241
16243
<dt><tt>steps</tt> (optional) : Tind</dt>
16242
-
<dd>1-D tensor of slice step of corresponding axis in `axes`. Default to 1.</dd>
16244
+
<dd>1-D tensor of slice step of corresponding axis in `axes`. Negative value means slicing backward. 'steps' cannot be 0. Defaults to 1.</dd>
0 commit comments