Split - 1 vs 13#
Next section compares an older to a newer version of the same operator after both definition are converted into markdown text. Green means an addition to the newer version, red means a deletion. Anything else is unchanged.
- Split1 → Split13 +11 -24
Split1 → Split13
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Split a tensor into a list of tensors, along the specified
|
2
|
-
'axis'.
|
2
|
+
'axis'. The lengths of the split can be specified using argument 'axis' or
|
3
|
+
optional second input blob to the operator. Otherwise, the tensor is split
|
3
|
-
|
4
|
+
to equal sized parts.
|
4
5
|
**Attributes**
|
5
6
|
* **axis**:
|
6
|
-
Which axis to split on
|
7
|
+
Which axis to split on
|
7
|
-
from the back. Accepted range is [-rank, rank-1] where r =
|
8
|
-
|
8
|
+
* **split**:
|
9
|
+
length of each output
|
9
10
|
**Inputs**
|
10
11
|
Between 1 and 2 inputs.
|
11
12
|
* **input** (heterogeneous) - **T**:
|
12
13
|
The tensor to split
|
13
|
-
* **split** (optional, heterogeneous) - **
|
14
|
+
* **split** (optional, heterogeneous) - **T**:
|
15
|
+
Optional list of output lengths (see also arg 'split')
|
14
|
-
Optional length of each output. Values should be >= 0.Sum of the
|
15
|
-
values must be equal to the dim value at 'axis' specified.
|
16
16
|
**Outputs**
|
17
17
|
Between 1 and 2147483647 outputs.
|
18
|
-
* **outputs
|
18
|
+
* **outputs...** (variadic, heterogeneous) - **T**:
|
19
19
|
One or more outputs forming list of tensors after splitting
|
20
20
|
**Type Constraints**
|
21
21
|
* **T** in (
|
22
|
-
tensor(bfloat16),
|
23
|
-
tensor(bool),
|
24
|
-
tensor(complex128),
|
25
|
-
tensor(complex64),
|
26
22
|
tensor(double),
|
27
23
|
tensor(float),
|
28
|
-
tensor(float16)
|
24
|
+
tensor(float16)
|
29
|
-
tensor(int16),
|
30
|
-
tensor(int32),
|
31
|
-
tensor(int64),
|
32
|
-
tensor(int8),
|
33
|
-
tensor(string),
|
34
|
-
tensor(uint16),
|
35
|
-
tensor(uint32),
|
36
|
-
tensor(uint64),
|
37
|
-
tensor(uint8)
|
38
25
|
):
|
39
|
-
Constrain input
|
26
|
+
Constrain input types to float tensors.? +++ ^
|