Clip - 11 vs 12¶
- Clip11 → Clip12 +10 -2
Clip11 → Clip12
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Clip operator limits the given input within an interval. The interval is
|
2
2
|
specified by the inputs 'min' and 'max'. They default to
|
3
3
|
numeric_limits::lowest() and numeric_limits::max(), respectively.
|
4
4
|
**Inputs**
|
5
5
|
Between 1 and 3 inputs.
|
6
6
|
* **input** (heterogeneous) - **T**:
|
7
7
|
Input tensor whose elements to be clipped
|
8
8
|
* **min** (optional, heterogeneous) - **T**:
|
9
9
|
Minimum value, under which element is replaced by min. It must be a
|
10
10
|
scalar(tensor of empty shape).
|
11
11
|
* **max** (optional, heterogeneous) - **T**:
|
12
12
|
Maximum value, above which element is replaced by max. It must be a
|
13
13
|
scalar(tensor of empty shape).
|
14
14
|
**Outputs**
|
15
15
|
* **output** (heterogeneous) - **T**:
|
16
16
|
Output tensor with clipped input elements
|
17
17
|
**Type Constraints**
|
18
18
|
* **T** in (
|
19
19
|
tensor(double),
|
20
20
|
tensor(float),
|
21
|
-
tensor(float16)
|
21
|
+
tensor(float16),
|
22
|
+
tensor(int16),
|
23
|
+
tensor(int32),
|
24
|
+
tensor(int64),
|
25
|
+
tensor(int8),
|
26
|
+
tensor(uint16),
|
27
|
+
tensor(uint32),
|
28
|
+
tensor(uint64),
|
29
|
+
tensor(uint8)
|
22
30
|
):
|
23
|
-
Constrain input and output types to
|
31
|
+
Constrain input and output types to all numeric tensors.? ^ ^^^^^^^^^
|