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 __init__(self):
      self._export_onnx_opset_version = _constants.ONNX_DEFAULT_OPSET
      self._training_mode: _C_onnx.TrainingMode = (
          _C_onnx.TrainingMode.EVAL
      )
      self._in_onnx_export: bool = False
      # Whether the user's model is training during export
      self.export_training: bool = False
      self.operator_export_type: _C_onnx.OperatorExportTypes = (
          _C_onnx.OperatorExportTypes.ONNX
      )
      self.onnx_shape_inference: bool = True
      self._autograd_inlining: bool = True
  
file_path: pytorch/torch/onnx/_globals.py
imports: import torch._C._onnx
  from torch.onnx import _constants
label_desc: Use image node_id 1 to create a new _InternalGlobals object  with example: obj = _InternalGlobals()