Clip - 1 vs 6¶
- Clip1 → Clip6 +0 -2
Clip1 → Clip6
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Clip operator limits the given input within an interval. The interval is
|
2
2
|
specified with arguments 'min' and 'max'. They default to
|
3
3
|
numeric_limits::lowest() and numeric_limits::max() respectively.
|
4
4
|
**Attributes**
|
5
|
-
* **consumed_inputs**:
|
6
|
-
legacy optimization attribute.
|
7
5
|
* **max**:
|
8
6
|
Maximum value, above which element is replaced by max
|
9
7
|
* **min**:
|
10
8
|
Minimum value, under which element is replaced by min
|
11
9
|
**Inputs**
|
12
10
|
* **input** (heterogeneous) - **T**:
|
13
11
|
Input tensor whose elements to be clipped
|
14
12
|
**Outputs**
|
15
13
|
* **output** (heterogeneous) - **T**:
|
16
14
|
Output tensor with clipped input elements
|
17
15
|
**Type Constraints**
|
18
16
|
* **T** in (
|
19
17
|
tensor(double),
|
20
18
|
tensor(float),
|
21
19
|
tensor(float16)
|
22
20
|
):
|
23
21
|
Constrain input and output types to float tensors.
|