mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Update the default opset by running the `update_default_opset_version.py` script. The update is done in a regularly to ensure we are in sync with the onnx updates. All changes are produced by the script. Pull Request resolved: https://github.com/pytorch/pytorch/pull/83284 Approved by: https://github.com/AllenTiTaiWang, https://github.com/malfet, https://github.com/BowenBao
10 lines
325 B
Python
10 lines
325 B
Python
"""Constant values used in ONNX."""
|
|
|
|
ONNX_ARCHIVE_MODEL_PROTO_NAME = "__MODEL_PROTO"
|
|
onnx_default_opset = 14
|
|
onnx_main_opset = 16
|
|
onnx_stable_opsets = tuple(range(7, onnx_main_opset))
|
|
onnx_constant_folding_opsets = tuple(range(9, onnx_main_opset + 1))
|
|
|
|
PYTORCH_GITHUB_ISSUES_URL = "https://github.com/pytorch/pytorch/issues"
|