code: def _load_onnx_model(onnx_string_or_file):
      """
      Loads ONNX model from file or string.
      """
      if hasattr(onnx_string_or_file, "seek"):
          onnx_string_or_file.seek(0)
          return onnx.load(onnx_string_or_file)
      return onnx.load_model_from_string(onnx_string_or_file)
  
imports: import copy
  import io
  import onnx
  import torch
  import torch.onnx.symbolic_helper
  import torch.onnx.utils
  from onnx import numpy_helper
  from torch.onnx import OperatorExportTypes
  from .None import module
label_desc: Use image node_id 7 for calling a global function with example usage: _load_onnx_model(onnx_string_or_file) and returns: onnx, onnx