src/transformers/modeling_tf_utils.py/TFPreTrainedModel/serving_output
class TFPreTrainedModel:    def serving_output(self, output):
        """
        Prepare the output of the saved model. Each model must implement this function.

        Args:
            output ([`TFBaseModelOutput`]):
                The output returned by the model.
        """
        raise NotImplementedError