PRelu - 9 vs 16¶
- PRelu9 → PRelu16 +4 -0
PRelu9 → PRelu16
RENAMED
@@ -1 +1 @@
|
|
1
1
|
PRelu takes input data (Tensor<T>) and slope tensor as input, and produces one
|
2
2
|
output data (Tensor<T>) where the function f(x) = slope * x for x < 0,
|
3
3
|
f(x) = x for x >= 0., is applied to the data tensor elementwise.
|
4
|
+
|
5
|
+
**History**
|
6
|
+
- Version 16 adds bfloat16 to the types allowed.
|
4
7
|
This operator supports **unidirectional broadcasting** (tensor slope should be unidirectional broadcastable to input tensor X); for more details please check Broadcasting in ONNX <https://github.com/onnx/onnx/blob/master/docs/Broadcasting.md>_.
|
5
8
|
**Inputs**
|
6
9
|
* **X** (heterogeneous) - **T**:
|
7
10
|
Input tensor
|
8
11
|
* **slope** (heterogeneous) - **T**:
|
9
12
|
Slope tensor. The shape of slope can be smaller then first input X;
|
10
13
|
if so, its shape must be unidirectional broadcastable to X
|
11
14
|
**Outputs**
|
12
15
|
* **Y** (heterogeneous) - **T**:
|
13
16
|
Output tensor (same size as X)
|
14
17
|
**Type Constraints**
|
15
18
|
* **T** in (
|
19
|
+
tensor(bfloat16),
|
16
20
|
tensor(double),
|
17
21
|
tensor(float),
|
18
22
|
tensor(float16),
|
19
23
|
tensor(int32),
|
20
24
|
tensor(int64),
|
21
25
|
tensor(uint32),
|
22
26
|
tensor(uint64)
|
23
27
|
):
|
24
28
|
Constrain input and output types to float/int tensors.
|