| 3796 | } |
| 3797 | |
| 3798 | bool clip_is_llava(const struct clip_ctx * ctx) { |
| 3799 | return ctx->model.hparams.has_llava_projector; |
| 3800 | } |
| 3801 | |
| 3802 | bool clip_has_vision_encoder(const struct clip_ctx * ctx) { |
| 3803 | return ctx->model.modality == CLIP_MODALITY_VISION; |