Skip to content

Commit b1adf90

Browse files
[ONNX][Update] Update ONNX Version to 1.13.1 (#1250)
* Update ONNX Verison * Upgrade the ONNX version to 1.13.1 * Support Opset18 * Update Operator Verison * Add support for reduce_min reduce_all reduce_mean reduce_max reduce_any logsumexp when opset version is 18 * When the data type of the input variable is double, the opset version for both reduce_max and reduce_min will be upgraded to version 12 * Divide the reduce.c file into multiple files * Add new Operator * Support the bitwise_and operator (unit tests have not yet been added)
1 parent c398e50 commit b1adf90

33 files changed

+1247
-1131
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[submodule "third_party/onnx"]
22
path = third_party/onnx
33
url = https://github.com/onnx/onnx.git
4-
branch = da889e6b95750350726d149bf447bf0cd1245964
4+
branch = ad834eb73ee0cd9b6fa9ea892caeed5fa17d7dc0
55
[submodule "third_party/optimizer"]
66
path = third_party/optimizer
77
url = https://github.com/onnx/optimizer.git

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif(NOT MSVC)
3131
# if you build from other version of onnx
3232
# this should be modified
3333
# refer to https://github.com/onnx/onnx/blob/main/docs/Versioning.md#released-versions
34-
add_definitions(-DMAX_ONNX_OPSET_VERSION=17)
34+
add_definitions(-DMAX_ONNX_OPSET_VERSION=18)
3535
add_definitions(-DPADDLE2ONNX_LIB)
3636

3737
# Third dependency: onnx

VERSION_NUMBER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.2
1+
1.2.2

0 commit comments

Comments
 (0)