code: def load_onnx_neural_network_with_bounds(filename):
      """
      Load a NetworkDefinition with input bounds from an onnx object.
  
      Parameters
      ----------
      filename : str
          the path where the ONNX model and input bounds file are written
  
      Returns
      -------
      NetworkDefinition
      """
      onnx_model = onnx.load(filename)
      input_bounds_filename = Path(f"{filename}.bounds.json")
      input_bounds = None
      if input_bounds_filename.exists:
          input_bounds = load_input_bounds(input_bounds_filename)
  
      return load_onnx_neural_network(
          onnx_model, input_bounds=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 2 for calling a global function with example usage: load_onnx_neural_network_with_bounds(filename) and returns: load_onnx_neural_network