def eager_serving(self, inputs):
        """
        Method used for serving the model. This method is deprecated, and will be removed.

        Args:
            inputs (`Dict[str, tf.Tensor]`):
                The input of the saved model as a dictionary of tensors.
        """
        warnings.warn(
            "The function `eager_serving` is deprecated and will be removed in version 4.32.0 of Transformers",
            FutureWarning,
        )
        output = self.call(inputs)

        return self.serving_output(output)

        Method used for serving the model. This method is deprecated, and will be removed.

        Args:
            inputs (`Dict[str, tf.Tensor]`):
                The input of the saved model as a dictionary of tensors.
        
dpkd/transformers/src/transformers/modeling_tf_utils.py