src/transformers/pipelines/zero_shot_object_detection.py/ZeroShotObjectDetectionPipeline/_sanitize_parameters
class ZeroShotObjectDetectionPipeline:    def _sanitize_parameters(self, **kwargs):
        postprocess_params = {}
        if "threshold" in kwargs:
            postprocess_params["threshold"] = kwargs["threshold"]
        if "top_k" in kwargs:
            postprocess_params["top_k"] = kwargs["top_k"]
        return {}, {}, postprocess_params