def _add_meta_data(self, onnx_model: onnx.ModelProto, metadata: dict) -> onnx.ModelProto:
        """Add the meta data to the model proto."""
        new_metadata_props = {entry.key: entry.value for entry in onnx_model.metadata_props}
        # update the metadata properties, this will overwrite the existing ones
        new_metadata_props.update(metadata)
        onnx.helper.set_model_props(onnx_model, new_metadata_props)
        return onnx_model
Add the meta data to the model proto.
olive/passes/onnx/vitis_ai/meta_data.py