src/transformers/pipelines/zero_shot_image_classification.py/ZeroShotImageClassificationPipeline/__init__
class ZeroShotImageClassificationPipeline:    def __init__(self, **kwargs):
        super().__init__(**kwargs)

        requires_backends(self, "vision")
        self.check_model_type(
            TF_MODEL_FOR_ZERO_SHOT_IMAGE_CLASSIFICATION_MAPPING
            if self.framework == "tf"
            else MODEL_FOR_ZERO_SHOT_IMAGE_CLASSIFICATION_MAPPING
        )