def io_config(self):
        """Get input/output names, shapes, types of the onnx model without creating an ort session.

        This function loads the onnx model and parses the graph to get the io config.
        """
        if self._io_config:
            return self._io_config

        # save io_config
        self._io_config = get_io_config(onnx.load(self.model_path, load_external_data=False))
        return self._io_config
Get input/output names, shapes, types of the onnx model without creating an ort session.

        This function loads the onnx model and parses the graph to get the io config.
        
olive/model/handler/onnx.py