mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
The PR - Creates an empty symbolic file to house the new ops defined in ONNX 17 - Increments the max version to 17 and fixes the doc for version 16 - Enables tests for opset 17 - Updates the IR version in `export.cpp` Pull Request resolved: https://github.com/pytorch/pytorch/pull/83287 Approved by: https://github.com/thiagocrepaldi, https://github.com/AllenTiTaiWang, 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 = 17
|
|
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"
|