mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
* CI Test environment to install onnx and onnx-script. * Add symbolic function for `bitwise_or`, `convert_element_type` and `masked_fill_`. * Update symbolic function for `slice` and `arange`. * Update .pyi signature for `_jit_pass_onnx_graph_shape_type_inference`. Co-authored-by: Wei-Sheng Chin <wschin@outlook.com> Co-authored-by: Ti-Tai Wang <titaiwang@microsoft.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/94564 Approved by: https://github.com/abock
16 lines
411 B
Python
16 lines
411 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
|
|
INT32_MAX = 2147483647
|