def run_session(
        self,
        session: Any = None,
        inputs: Union[dict[str, Any], list[Any], tuple[Any, ...]] = None,
        **kwargs: dict[str, Any],
    ) -> Any:
        """Run inference session for Olive model, returns in-memory inference results.

        Derived class should implement its specific logic if needed.
        """
        raise NotImplementedError
Run inference session for Olive model, returns in-memory inference results.

        Derived class should implement its specific logic if needed.
        
olive/model/handler/base.py