mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Re-land - #77142 (diff: https://github.com/pytorch/pytorch/compare/c08b8f0..justinchuby:justinchu/remove-patch2) Fixed: - Delay import symbolic_opsets in the registry. Tested locally with torchvision Pull Request resolved: https://github.com/pytorch/pytorch/pull/77448 Approved by: https://github.com/garymm
7 lines
204 B
Python
7 lines
204 B
Python
"""Constant values used in ONNX."""
|
|
|
|
onnx_default_opset = 13
|
|
onnx_main_opset = 16
|
|
onnx_stable_opsets = tuple(range(7, onnx_main_opset))
|
|
onnx_constant_folding_opsets = tuple(range(9, onnx_main_opset + 1))
|