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.

Files changed (1) hide show
  1. Split1 → Split13 +11 -24
Split1 → Split13 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 input '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**:
6
- Which axis to split on. A negative value means counting dimensions
7
+ Which axis to split on
7
- from the back. Accepted range is [-rank, rank-1] where r =
8
- rank(input).
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) - **tensor(int64)**:
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** (variadic, heterogeneous) - **T**:
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 and output types to all tensor types.? ----------- ^^ -----
26
+ Constrain input types to float tensors.? +++ ^