mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Opset 18 will be used to introduce suport for ONNX's Col2Im-18 and resolve https://github.com/pytorch/pytorch/issues/84408 Depends: https://github.com/pytorch/pytorch/pull/83201 (CI will fail until ONNX submodule is updated) as per Faith recommendation, this PR should be merged post ORT 1.13 only Pull Request resolved: https://github.com/pytorch/pytorch/pull/84594 Approved by: https://github.com/justinchuby, https://github.com/titaiwangms, https://github.com/abock, https://github.com/BowenBao
15 lines
388 B
Python
15 lines
388 B
Python
"""Constant values used in ONNX."""
|
|
|
|
ONNX_ARCHIVE_MODEL_PROTO_NAME = "__MODEL_PROTO"
|
|
|
|
ONNX_BASE_OPSET = 9
|
|
ONNX_MIN_OPSET = 7
|
|
ONNX_MAX_OPSET = 18
|
|
# ONNX_DEFAULT_OPSET generated by tools/onnx/update_default_opset_version.py
|
|
ONNX_DEFAULT_OPSET = 14
|
|
ONNX_CONSTANT_FOLDING_MIN_OPSET = 9
|
|
|
|
PYTORCH_GITHUB_ISSUES_URL = "https://github.com/pytorch/pytorch/issues"
|
|
|
|
INT64_MAX = 9223372036854775807
|