ReduceProd - 11 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.
ReduceProd11 → ReduceProd13
RENAMED
@@ -1 +1 @@
|
|
1
|
-
Computes the product of the input tensor's
|
1
|
+
Computes the product of the input tensor's elements along the provided axes. The resulting
|
2
|
-
tensor has the same rank as the input if keepdims equals 1. If keepdims
|
2
|
+
tensor has the same rank as the input if keepdims equals 1. If keepdims equals 0, then
|
3
|
-
the
|
3
|
+
the resulting tensor has the reduced dimension pruned. Input tensors of rank zero are
|
4
|
+
valid. Reduction over an empty set of values yields 1.
|
4
|
-
The above behavior is similar to numpy, with the exception that numpy defaults keepdims
|
5
|
+
The above behavior is similar to numpy, with the exception that numpy defaults keepdims
|
5
|
-
False instead of True.
|
6
|
+
to False instead of True.
|
6
7
|
### Attributes
|
7
8
|
* **axes - INTS** :
|
8
9
|
A list of integers, along which to reduce. The default is to reduce over all the dimensions of the input tensor. Accepted range is [-r, r-1] where r = rank(data).
|
9
10
|
* **keepdims - INT** (default is '1'):
|
10
11
|
Keep the reduced dimension or not, default 1 means keep reduced dimension.
|
11
12
|
### Inputs
|
12
13
|
- **data** (heterogeneous) - **T**:
|
13
14
|
An input tensor.
|
14
15
|
### Outputs
|
15
16
|
- **reduced** (heterogeneous) - **T**:
|
16
17
|
Reduced output tensor.
|
17
18
|
### Type Constraints
|
18
|
-
* **T** in ( tensor(double), tensor(float), tensor(float16), tensor(int32), tensor(int64), tensor(uint32), tensor(uint64) ):
|
19
|
+
* **T** in ( tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(int32), tensor(int64), tensor(uint32), tensor(uint64) ):
|
19
|
-
Constrain input and output types to
|
20
|
+
Constrain input and output types to numeric tensors.
|