Split - 1 vs 11#

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.

Files changed (1) hide show
  1. Split1 → Split11 +12 -21
Split1 → Split11 RENAMED
@@ -1 +1 @@
1
1
  Split a tensor into a list of tensors, along the specified
2
- 'axis'. Lengths of the parts can be specified using argument 'split'.
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
- Otherwise, the tensor is split to equal sized parts.
4
+ to equal sized parts.
4
5
  **Attributes**
5
6
  * **axis**:
7
+ Which axis to split on
6
- Which axis to split on. A negative value means counting dimensions
7
- from the back. Accepted range is [-rank, rank-1] where r =
8
- rank(input).
9
8
  * **split**:
10
- length of each output. Values should be >= 0.
9
+ length of each output
11
10
  **Inputs**
11
+ Between 1 and 2 inputs.
12
+
12
13
  * **input** (heterogeneous) - **T**:
13
14
  The tensor to split
15
+ * **split** (optional, heterogeneous) - **T**:
16
+ Optional list of output lengths (see also arg 'split')
14
17
  **Outputs**
15
18
  Between 1 and 2147483647 outputs.
16
- * **outputs** (variadic, heterogeneous) - **T**:
19
+ * **outputs...** (variadic, heterogeneous) - **T**:
17
20
  One or more outputs forming list of tensors after splitting
18
21
  **Type Constraints**
19
22
  * **T** in (
20
- tensor(bool),
21
- tensor(complex128),
22
- tensor(complex64),
23
23
  tensor(double),
24
24
  tensor(float),
25
- tensor(float16),
25
+ tensor(float16)
26
- tensor(int16),
27
- tensor(int32),
28
- tensor(int64),
29
- tensor(int8),
30
- tensor(string),
31
- tensor(uint16),
32
- tensor(uint32),
33
- tensor(uint64),
34
- tensor(uint8)
35
26
  ):
36
- Constrain input and output types to all tensor types.? ----------- ^^ -----
27
+ Constrain input types to float tensors.? +++ ^