mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Rename constants to make them more clear. Fix styles to upper case. Removed `onnx_stable_opsets` because it can be computed from `ONNX_MIN_OPSET` and `ONNX_MAX_OPSET`. Fixes #84643 Pull Request resolved: https://github.com/pytorch/pytorch/pull/84645 Approved by: https://github.com/BowenBao
12 lines
335 B
Python
12 lines
335 B
Python
"""Constant values used in ONNX."""
|
|
|
|
ONNX_ARCHIVE_MODEL_PROTO_NAME = "__MODEL_PROTO"
|
|
|
|
ONNX_MIN_OPSET = 7
|
|
ONNX_MAX_OPSET = 17
|
|
# 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"
|