def __call__(self, *dp):
        """
        Call the predictor on some inputs.

        Example:
            When you have a predictor defined with two inputs, call it with:

            .. code-block:: python

                predictor(e1, e2)

        Returns:
            list[array]: list of outputs
        """
        output = self._do_call(dp)
        if self.return_input:
            return (dp, output)
        else:
            return output

        Call the predictor on some inputs.

        Example:
            When you have a predictor defined with two inputs, call it with:

            .. code-block:: python

                predictor(e1, e2)

        Returns:
            list[array]: list of outputs
        
tensorpack/predict/base.py