File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,13 @@ struct clip_image_size {
30
30
int height ;
31
31
};
32
32
33
+ struct clip_image_f32 ;
33
34
struct clip_image_u8_batch ;
34
35
struct clip_image_f32_batch ;
35
36
36
37
struct clip_context_params {
37
38
bool use_gpu ;
38
- ggml_log_level verbosity ;
39
+ enum ggml_log_level verbosity ;
39
40
};
40
41
41
42
// deprecated, use clip_init
@@ -84,7 +85,7 @@ CLIP_API void clip_image_f32_batch_free(struct clip_image_f32_batch * batch);
84
85
CLIP_API size_t clip_image_f32_batch_n_images (const struct clip_image_f32_batch * batch ); // equivalent to batch->size()
85
86
CLIP_API size_t clip_image_f32_batch_nx (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->nx
86
87
CLIP_API size_t clip_image_f32_batch_ny (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->ny
87
- CLIP_API clip_image_f32 * clip_image_f32_get_img (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->data
88
+ CLIP_API struct clip_image_f32 * clip_image_f32_get_img (const struct clip_image_f32_batch * batch , int idx ); // equivalent to batch[idx]->data
88
89
89
90
/**
90
91
* Build image from pixels decoded by other libraries instead of stb_image.h for better performance.
You can’t perform that action at this time.
0 commit comments