src/transformers/models/groupvit/modeling_tf_groupvit.py/TFGroupViTModel/serving_output
class TFGroupViTModel:    def serving_output(self, output: TFGroupViTModelOutput) -> TFGroupViTModelOutput:
        # TODO: As is this currently fails with saved_model=True, because
        # TensorFlow cannot trace through nested dataclasses. Reference:
        # https://github.com/huggingface/transformers/pull/16886
        return output