|
13 | 13 |
|
14 | 14 | #### Version |
15 | 15 |
|
16 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
17 | | - |
| 16 | +No versioning maintained for experimental ops. |
18 | 17 | #### Inputs (1 - ∞) |
19 | 18 |
|
20 | 19 | <dl> |
@@ -143,8 +142,7 @@ This version of the operator has been available since version 1 of the default O |
143 | 142 |
|
144 | 143 | #### Version |
145 | 144 |
|
146 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
147 | | - |
| 145 | +No versioning maintained for experimental ops. |
148 | 146 | #### Attributes |
149 | 147 |
|
150 | 148 | <dl> |
@@ -646,8 +644,7 @@ This version of the operator has been available since version 1 of the default O |
646 | 644 |
|
647 | 645 | #### Version |
648 | 646 |
|
649 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
650 | | - |
| 647 | +No versioning maintained for experimental ops. |
651 | 648 | #### Attributes |
652 | 649 |
|
653 | 650 | <dl> |
@@ -812,8 +809,7 @@ This version of the operator has been available since version 1 of the default O |
812 | 809 |
|
813 | 810 | #### Version |
814 | 811 |
|
815 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
816 | | - |
| 812 | +No versioning maintained for experimental ops. |
817 | 813 | #### Attributes |
818 | 814 |
|
819 | 815 | <dl> |
@@ -990,6 +986,72 @@ This version of the operator has been available since version 1 of the default O |
990 | 986 | <dd>Constrain input and output types to float tensors.</dd> |
991 | 987 | </dl> |
992 | 988 |
|
| 989 | +### <a name="DynamicSlice-1"></a>**DynamicSlice-1**</a> |
| 990 | + |
| 991 | + Produces a slice of the input tensor along multiple axes. Similar to numpy: |
| 992 | + https://docs.scipy.org/doc/numpy/reference/arrays.indexing.html |
| 993 | + Slices uses `axes`, `starts` and `ends` inputs to specify the start and end |
| 994 | + dimension for each axis in the list of axes, it uses this information to |
| 995 | + slice the input `data` tensor. If a negative value is passed for any of the |
| 996 | + start or end indices, it represent number of elements before the end of that |
| 997 | + dimension. If the value passed to start or end is larger than the `n` (the |
| 998 | + number of elements in this dimension), it represents `n`. For slicing to the |
| 999 | + end of a dimension with unknown size, it is recommended to pass in `INT_MAX`. |
| 1000 | + If `axes` are omitted, they are set to `[0, ..., ndim-1]`. |
| 1001 | + Example 1: |
| 1002 | + data = [ |
| 1003 | + [1, 2, 3, 4], |
| 1004 | + [5, 6, 7, 8], |
| 1005 | + ] |
| 1006 | + axes = [0, 1] |
| 1007 | + starts = [1, 0] |
| 1008 | + ends = [2, 3] |
| 1009 | + result = [ |
| 1010 | + [5, 6, 7], |
| 1011 | + ] |
| 1012 | + Example 2: |
| 1013 | + data = [ |
| 1014 | + [1, 2, 3, 4], |
| 1015 | + [5, 6, 7, 8], |
| 1016 | + ] |
| 1017 | + starts = [0, 1] |
| 1018 | + ends = [-1, 1000] |
| 1019 | + result = [ |
| 1020 | + [2, 3, 4], |
| 1021 | + ] |
| 1022 | + |
| 1023 | +#### Version |
| 1024 | + |
| 1025 | +No versioning maintained for experimental ops. |
| 1026 | +#### Inputs (3 - 4) |
| 1027 | + |
| 1028 | +<dl> |
| 1029 | +<dt><tt>data</tt> : T</dt> |
| 1030 | +<dd>Tensor of data to extract slices from.</dd> |
| 1031 | +<dt><tt>starts</tt> : Tind</dt> |
| 1032 | +<dd>1-D tensor of starting indices of corresponding axis in `axes`</dd> |
| 1033 | +<dt><tt>ends</tt> : Tind</dt> |
| 1034 | +<dd>1-D tensor of ending indices (exclusive) of corresponding axis in axes</dd> |
| 1035 | +<dt><tt>axes</tt> (optional) : Tind</dt> |
| 1036 | +<dd>1-D tensor of axes that `starts` and `ends` apply to.</dd> |
| 1037 | +</dl> |
| 1038 | + |
| 1039 | +#### Outputs |
| 1040 | + |
| 1041 | +<dl> |
| 1042 | +<dt><tt>output</tt> : T</dt> |
| 1043 | +<dd>Sliced data tensor.</dd> |
| 1044 | +</dl> |
| 1045 | + |
| 1046 | +#### Type Constraints |
| 1047 | + |
| 1048 | +<dl> |
| 1049 | +<dt><tt>T</tt> : tensor(uint8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(int8), tensor(int16), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double), tensor(string), tensor(bool), tensor(complex64), tensor(complex128)</dt> |
| 1050 | +<dd>Constrain input and output types to all tensor types.</dd> |
| 1051 | +<dt><tt>Tind</tt> : tensor(int32), tensor(int64)</dt> |
| 1052 | +<dd>Constrain indices to integer types</dd> |
| 1053 | +</dl> |
| 1054 | + |
993 | 1055 | ### <a name="Elu-1"></a>**Elu-1**</a> |
994 | 1056 |
|
995 | 1057 | Elu takes one input data (Tensor<T>) and produces one output data |
@@ -1334,8 +1396,7 @@ This version of the operator has been available since version 1 of the default O |
1334 | 1396 |
|
1335 | 1397 | #### Version |
1336 | 1398 |
|
1337 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
1338 | | - |
| 1399 | +No versioning maintained for experimental ops. |
1339 | 1400 | #### Attributes |
1340 | 1401 |
|
1341 | 1402 | <dl> |
@@ -1508,8 +1569,7 @@ This version of the operator has been available since version 1 of the default O |
1508 | 1569 |
|
1509 | 1570 | #### Version |
1510 | 1571 |
|
1511 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
1512 | | - |
| 1572 | +No versioning maintained for experimental ops. |
1513 | 1573 | #### Attributes |
1514 | 1574 |
|
1515 | 1575 | <dl> |
@@ -1859,8 +1919,7 @@ This version of the operator has been available since version 1 of the default O |
1859 | 1919 |
|
1860 | 1920 | #### Version |
1861 | 1921 |
|
1862 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
1863 | | - |
| 1922 | +No versioning maintained for experimental ops. |
1864 | 1923 | #### Attributes |
1865 | 1924 |
|
1866 | 1925 | <dl> |
@@ -3082,8 +3141,7 @@ This version of the operator has been available since version 1 of the default O |
3082 | 3141 |
|
3083 | 3142 | #### Version |
3084 | 3143 |
|
3085 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
3086 | | - |
| 3144 | +No versioning maintained for experimental ops. |
3087 | 3145 | #### Attributes |
3088 | 3146 |
|
3089 | 3147 | <dl> |
@@ -4043,8 +4101,7 @@ This version of the operator has been available since version 1 of the default O |
4043 | 4101 |
|
4044 | 4102 | #### Version |
4045 | 4103 |
|
4046 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
4047 | | - |
| 4104 | +No versioning maintained for experimental ops. |
4048 | 4105 | #### Attributes |
4049 | 4106 |
|
4050 | 4107 | <dl> |
@@ -4081,8 +4138,7 @@ This version of the operator has been available since version 1 of the default O |
4081 | 4138 |
|
4082 | 4139 | #### Version |
4083 | 4140 |
|
4084 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
4085 | | - |
| 4141 | +No versioning maintained for experimental ops. |
4086 | 4142 | #### Attributes |
4087 | 4143 |
|
4088 | 4144 | <dl> |
@@ -4736,8 +4792,7 @@ This version of the operator has been available since version 1 of the default O |
4736 | 4792 |
|
4737 | 4793 | #### Version |
4738 | 4794 |
|
4739 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
4740 | | - |
| 4795 | +No versioning maintained for experimental ops. |
4741 | 4796 | #### Attributes |
4742 | 4797 |
|
4743 | 4798 | <dl> |
@@ -4955,8 +5010,7 @@ This version of the operator has been available since version 1 of the default O |
4955 | 5010 |
|
4956 | 5011 | #### Version |
4957 | 5012 |
|
4958 | | -This version of the operator has been available since version 1 of the default ONNX operator set. |
4959 | | - |
| 5013 | +No versioning maintained for experimental ops. |
4960 | 5014 | #### Attributes |
4961 | 5015 |
|
4962 | 5016 | <dl> |
@@ -8581,73 +8635,6 @@ This version of the operator has been available since version 9 of the default O |
8581 | 8635 | <dd>Constrain input and output types to float tensors.</dd> |
8582 | 8636 | </dl> |
8583 | 8637 |
|
8584 | | -### <a name="DynamicSlice-9"></a>**DynamicSlice-9**</a> |
8585 | | - |
8586 | | - Produces a slice of the input tensor along multiple axes. Similar to numpy: |
8587 | | - https://docs.scipy.org/doc/numpy/reference/arrays.indexing.html |
8588 | | - Slices uses `axes`, `starts` and `ends` inputs to specify the start and end |
8589 | | - dimension for each axis in the list of axes, it uses this information to |
8590 | | - slice the input `data` tensor. If a negative value is passed for any of the |
8591 | | - start or end indices, it represent number of elements before the end of that |
8592 | | - dimension. If the value passed to start or end is larger than the `n` (the |
8593 | | - number of elements in this dimension), it represents `n`. For slicing to the |
8594 | | - end of a dimension with unknown size, it is recommended to pass in `INT_MAX`. |
8595 | | - If `axes` are omitted, they are set to `[0, ..., ndim-1]`. |
8596 | | - Example 1: |
8597 | | - data = [ |
8598 | | - [1, 2, 3, 4], |
8599 | | - [5, 6, 7, 8], |
8600 | | - ] |
8601 | | - axes = [0, 1] |
8602 | | - starts = [1, 0] |
8603 | | - ends = [2, 3] |
8604 | | - result = [ |
8605 | | - [5, 6, 7], |
8606 | | - ] |
8607 | | - Example 2: |
8608 | | - data = [ |
8609 | | - [1, 2, 3, 4], |
8610 | | - [5, 6, 7, 8], |
8611 | | - ] |
8612 | | - starts = [0, 1] |
8613 | | - ends = [-1, 1000] |
8614 | | - result = [ |
8615 | | - [2, 3, 4], |
8616 | | - ] |
8617 | | - |
8618 | | -#### Version |
8619 | | - |
8620 | | -This version of the operator has been available since version 9 of the default ONNX operator set. |
8621 | | - |
8622 | | -#### Inputs (3 - 4) |
8623 | | - |
8624 | | -<dl> |
8625 | | -<dt><tt>data</tt> : T</dt> |
8626 | | -<dd>Tensor of data to extract slices from.</dd> |
8627 | | -<dt><tt>starts</tt> : Tind</dt> |
8628 | | -<dd>1-D tensor of starting indices of corresponding axis in `axes`</dd> |
8629 | | -<dt><tt>ends</tt> : Tind</dt> |
8630 | | -<dd>1-D tensor of ending indices (exclusive) of corresponding axis in axes</dd> |
8631 | | -<dt><tt>axes</tt> (optional) : Tind</dt> |
8632 | | -<dd>1-D tensor of axes that `starts` and `ends` apply to.</dd> |
8633 | | -</dl> |
8634 | | - |
8635 | | -#### Outputs |
8636 | | - |
8637 | | -<dl> |
8638 | | -<dt><tt>output</tt> : T</dt> |
8639 | | -<dd>Sliced data tensor.</dd> |
8640 | | -</dl> |
8641 | | - |
8642 | | -#### Type Constraints |
8643 | | - |
8644 | | -<dl> |
8645 | | -<dt><tt>T</tt> : tensor(uint8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(int8), tensor(int16), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double), tensor(string), tensor(bool), tensor(complex64), tensor(complex128)</dt> |
8646 | | -<dd>Constrain input and output types to all tensor types.</dd> |
8647 | | -<dt><tt>Tind</tt> : tensor(int32), tensor(int64)</dt> |
8648 | | -<dd>Constrain indices to integer types</dd> |
8649 | | -</dl> |
8650 | | - |
8651 | 8638 | ### <a name="Erf-9"></a>**Erf-9**</a> |
8652 | 8639 |
|
8653 | 8640 | Computes the error function of the given input tensor element-wise. |
|
0 commit comments