Skip to content

Commit 92b8e6f

Browse files
committed
formatting fix
1 parent 14b5868 commit 92b8e6f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/llava/clip.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ CLIP_API const char * clip_patch_merge_type(const struct clip_ctx * ctx);
5858
CLIP_API const int32_t * clip_image_grid(const struct clip_ctx * ctx);
5959
CLIP_API size_t get_clip_image_grid_size(const struct clip_ctx * ctx);
6060

61-
CLIP_API int clip_n_patches(const struct clip_ctx * ctx);
62-
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_u8 * img);
64-
CLIP_API int clip_n_mmproj_embd(const struct clip_ctx * ctx);
61+
CLIP_API int clip_n_patches (const struct clip_ctx * ctx);
62+
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);
64+
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);
6767
CLIP_API void clip_add_load_image_size(struct clip_ctx * ctx_clip, struct clip_image_size * load_image_size);
@@ -75,10 +75,10 @@ CLIP_API struct clip_image_f32_batch * clip_image_f32_batch_init(); // only used
7575
// nx, ny are the output image dimensions
7676
CLIP_API unsigned char * clip_image_u8_get_data(struct clip_image_u8 * img, uint32_t * nx, uint32_t * ny);
7777

78-
CLIP_API void clip_image_size_free(struct clip_image_size * img_size);
79-
CLIP_API void clip_image_u8_free(struct clip_image_u8 * img);
78+
CLIP_API void clip_image_size_free (struct clip_image_size * img_size);
79+
CLIP_API void clip_image_u8_free (struct clip_image_u8 * img);
8080
CLIP_API void clip_image_f32_free(struct clip_image_f32 * img);
81-
CLIP_API void clip_image_u8_batch_free(struct clip_image_u8_batch * batch);
81+
CLIP_API void clip_image_u8_batch_free (struct clip_image_u8_batch * batch);
8282
CLIP_API void clip_image_f32_batch_free(struct clip_image_f32_batch * batch);
8383

8484
// use for accessing underlay data of clip_image_f32_batch

0 commit comments

Comments
 (0)