Clip - 6 vs 11

Files changed (1) hide show
  1. Clip6 → Clip11 +10 -9
Clip6 → Clip11 RENAMED
@@ -1 +1 @@
1
1
  Clip operator limits the given input within an interval. The interval is
2
- specified with arguments 'min' and 'max'. They default to
2
+ specified by the inputs 'min' and 'max'. They default to
3
- numeric_limits::lowest() and numeric_limits::max() respectively.
3
+ numeric_limits::lowest() and numeric_limits::max(), respectively.
4
-
5
- **Attributes**
6
-
7
- * **max**:
8
- Maximum value, above which element is replaced by max
9
- * **min**:
10
- Minimum value, under which element is replaced by min
11
4
  **Inputs**
5
+ Between 1 and 3 inputs.
6
+
12
7
  * **input** (heterogeneous) - **T**:
13
8
  Input tensor whose elements to be clipped
9
+ * **min** (optional, heterogeneous) - **T**:
10
+ Minimum value, under which element is replaced by min. It must be a
11
+ scalar(tensor of empty shape).
12
+ * **max** (optional, heterogeneous) - **T**:
13
+ Maximum value, above which element is replaced by max. It must be a
14
+ scalar(tensor of empty shape).
14
15
  **Outputs**
15
16
  * **output** (heterogeneous) - **T**:
16
17
  Output tensor with clipped input elements
17
18
  **Type Constraints**
18
19
  * **T** in (
19
20
  tensor(double),
20
21
  tensor(float),
21
22
  tensor(float16)
22
23
  ):
23
24
  Constrain input and output types to float tensors.