Skip to content

Commit 54d6ae0

Browse files
authored
Merge pull request #695 from huningxin/fix_reduce
Bugfix: Add missing 64-bit integers support for some reduction operators
2 parents 093be92 + 7352e6c commit 54d6ae0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8096,7 +8096,7 @@ partial dictionary MLOpSupportLimits {
80968096
</summary>
80978097
<div algorithm>
80988098
The <dfn method for=MLGraphBuilder>reduceL1(|input|, |options|)</dfn> method steps are:
8099-
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceL1", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}} ».
8099+
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceL1", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}} ».
81008100
1. If that [=exception/throws=] an error, then re-[=exception/throw=] the error.
81018101
1. Return |output|.
81028102
</div>
@@ -8145,21 +8145,21 @@ partial dictionary MLOpSupportLimits {
81458145

81468146
<div algorithm>
81478147
The <dfn method for=MLGraphBuilder>reduceProduct(|input|, |options|)</dfn> method steps are:
8148-
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceProduct", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}} ».
8148+
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceProduct", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}} ».
81498149
1. If that [=exception/throws=] an error, then re-[=exception/throw=] the error.
81508150
1. Return |output|.
81518151
</div>
81528152

81538153
<div algorithm>
81548154
The <dfn method for=MLGraphBuilder>reduceSum(|input|, |options|)</dfn> method steps are:
8155-
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceSum", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}} ».
8155+
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceSum", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}} ».
81568156
1. If that [=exception/throws=] an error, then re-[=exception/throw=] the error.
81578157
1. Return |output|.
81588158
</div>
81598159

81608160
<div algorithm>
81618161
The <dfn method for=MLGraphBuilder>reduceSumSquare(|input|, |options|)</dfn> method steps are:
8162-
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceSumSquare", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}} ».
8162+
1. Let |output| be the result of [=MLGraphBuilder/creating reduction operation=] given "reduceSumSquare", |input|, |options|, and « {{MLOperandDataType/"float32"}}, {{MLOperandDataType/"float16"}}, {{MLOperandDataType/"int32"}}, {{MLOperandDataType/"uint32"}}, {{MLOperandDataType/"int64"}}, {{MLOperandDataType/"uint64"}} ».
81638163
1. If that [=exception/throws=] an error, then re-[=exception/throw=] the error.
81648164
1. Return |output|.
81658165
</div>

0 commit comments

Comments
 (0)