class_docstr: Globals used internally by ONNX exporter.
  
  NOTE: Be very judicious when adding any new variables. Do not create new
  global variables unless they are absolutely necessary.
code: def export_onnx_opset_version(self, value: int):
      supported_versions = range(
          _constants.ONNX_MIN_OPSET, _constants.ONNX_MAX_OPSET + 1
      )
      if value not in supported_versions:
          raise ValueError(f"Unsupported ONNX opset version: {value}")
      self._export_onnx_opset_version = value
  
file_path: pytorch/torch/onnx/_globals.py
imports: import torch._C._onnx
  from torch.onnx import _constants
label_desc: Use image node_id 5 for calling the _InternalGlobals obj's underlying member method code with example usage: obj.export_onnx_opset_version(value) without return types