code: def _load_model(m_def: str) -> ModelProto:
      """Parses a model from a string representation, including checking the model for correctness"""
      m = parser.parse_model(m_def)
      checker.check_model(m)
      return m
  
imports: import unittest
  from typing import Callable, List, Optional, Sequence, Tuple
  import numpy
  from onnx import FunctionProto, GraphProto, ModelProto, NodeProto, SparseTensorProto, TensorProto, ValueInfoProto, checker, compose, helper, parser, version_converter
label_desc: Use image node_id 1 for calling a global function with example usage: _load_model(m_def) and returns: m