Skip to content

Commit 941efbc

Browse files
committed
Fix type in clip_n_patches_by_img_u8
1 parent 92b8e6f commit 941efbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llava/clip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ CLIP_API size_t get_clip_image_grid_size(const struct clip_ctx * ctx);
6060

6161
CLIP_API int clip_n_patches (const struct clip_ctx * ctx);
6262
CLIP_API int clip_n_patches_by_img (const struct clip_ctx * ctx, struct clip_image_f32 * img);
63-
CLIP_API int clip_n_patches_by_img_u8 (const struct clip_ctx * ctx, struct clip_image_f32 * img);
63+
CLIP_API int clip_n_patches_by_img_u8 (const struct clip_ctx * ctx, struct clip_image_u8 * img);
6464
CLIP_API int clip_n_mmproj_embd (const struct clip_ctx * ctx);
6565

6666
CLIP_API int clip_uhd_num_image_embeds_col(struct clip_ctx * ctx_clip);

0 commit comments

Comments
 (0)