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

Function clip_image_f32_free

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

Source from the content-addressed store, hash-verified

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) {
693 img->nx = nx;

Callers 1

encode_image_with_clipFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected