def __init__(
        self, device: Union[Device, str], execution_provider: Union[ExecutionProvider, str], node: FootprintNode
    ):
        """Initialize a ModelOutput instance.

        Args:
            device: The hardware device used for this model
            execution_provider: The execution provider used (e.g., 'CPUExecutionProvider')
            node: The FootprintNode object containing model information and metrics

        """
        if not node:
            raise ValueError("FootprintNode cannot be None.")

        self._model_node = node
        self._device = device
        self._execution_provider = execution_provider
        self._init_with_model_config(self._model_node.model_config)
Initialize a ModelOutput instance.

        Args:
            device: The hardware device used for this model
            execution_provider: The execution provider used (e.g., 'CPUExecutionProvider')
            node: The FootprintNode object containing model information and metrics

        
olive/engine/output.py