src/transformers/models/deit/modeling_tf_deit.py/TFDeiTPreTrainedModel/serving
class TFDeiTPreTrainedModel:    def serving(self, inputs):
        """
        Method used for serving the model.

        Args:
            inputs (`Dict[str, tf.Tensor]`):
                The input of the saved model as a dictionary of tensors.
        """
        output = self.call(inputs)

        return self.serving_output(output)