@classmethod
def run_model(cls, model, inputs, device=None, **kwargs):
    """
        Compute the prediction.

        :param model: :class:`onnxruntime.InferenceSession` returned
            by function *prepare*
        :param inputs: inputs
        :param device: requested device for the computation,
            None means the default one which depends on
            the compilation settings
        :param kwargs: see :class:`onnxruntime.RunOptions`
        :return: predictions
        """
    rep = cls.prepare(model, device, **kwargs)
    return rep.run(inputs, **kwargs)
