src/transformers/pipelines/image_classification.py/ImageClassificationPipeline/_sanitize_parameters
class ImageClassificationPipeline:    def _sanitize_parameters(self, top_k=None):
        postprocess_params = {}
        if top_k is not None:
            postprocess_params["top_k"] = top_k
        return {}, {}, postprocess_params