MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / clip_image_u8_free

Function clip_image_u8_free

examples/llava/clip.cpp:689–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687clip_image_f32 * make_clip_image_f32() { return new clip_image_f32(); }
688
689void clip_image_u8_free(clip_image_u8 * img) { if (img->data) { delete[] img->data; } delete img; }
690void clip_image_f32_free(clip_image_f32 * img) { if (img->data) { delete[] img->data; } delete img; }
691
692static void build_clip_img_from_data(const stbi_uc * data, int nx, int ny, clip_image_u8 * img) {

Callers 2

clip_image_preprocessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected