code: def load_onnx_neural_network(
      onnx, scaling_object=None, input_bounds=None
  ):
      """
      Load a NetworkDefinition from an onnx object.
  
      Parameters
      ----------
      onnx :
          onnx model
      scaling_object : instance of object supporting ScalingInterface
      input_bounds : list of tuples
  
      Returns
      -------
      NetworkDefinition
      """
      parser = NetworkParser()
      return parser.parse_network(
          onnx.graph, scaling_object, input_bounds
      )
  
imports: import json
  from pathlib import Path
  import onnx
  from omlt.io.input_bounds import load_input_bounds, write_input_bounds
  from omlt.io.onnx_parser import NetworkParser
label_desc: Use image node_id 3 for calling a global function with example usage: load_onnx_neural_network(onnx, scaling_object, input_bounds) and returns: parser