src/transformers/models/resnet/modeling_tf_resnet.py/TFResNetPreTrainedModel/serving
class TFResNetPreTrainedModel:    def serving(self, inputs):
        output = self.call(inputs)
        return self.serving_output(output)