Split - 1 vs 2#
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 → Split2 +11 -18
Split1 → Split2
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
8
|
* **split**:
|
8
9
|
length of each output
|
9
10
|
**Inputs**
|
11
|
+
Between 1 and 2 inputs.
|
12
|
+
|
10
13
|
* **input** (heterogeneous) - **T**:
|
11
14
|
The tensor to split
|
15
|
+
* **split** (optional, heterogeneous) - **T**:
|
16
|
+
Optional list of output lengths (see also arg 'split')
|
12
17
|
**Outputs**
|
13
18
|
Between 1 and 2147483647 outputs.
|
14
|
-
* **outputs
|
19
|
+
* **outputs...** (variadic, heterogeneous) - **T**:
|
15
20
|
One or more outputs forming list of tensors after splitting
|
16
21
|
**Type Constraints**
|
17
22
|
* **T** in (
|
18
|
-
tensor(bool),
|
19
|
-
tensor(complex128),
|
20
|
-
tensor(complex64),
|
21
23
|
tensor(double),
|
22
24
|
tensor(float),
|
23
|
-
tensor(float16)
|
25
|
+
tensor(float16)
|
24
|
-
tensor(int16),
|
25
|
-
tensor(int32),
|
26
|
-
tensor(int64),
|
27
|
-
tensor(int8),
|
28
|
-
tensor(string),
|
29
|
-
tensor(uint16),
|
30
|
-
tensor(uint32),
|
31
|
-
tensor(uint64),
|
32
|
-
tensor(uint8)
|
33
26
|
):
|
34
|
-
Constrain input
|
27
|
+
Constrain input types to float tensors.? +++ ^
|