mtmd: format code

This commit is contained in:
bluebread 2025-12-17 03:26:38 +00:00
parent f629d02ee1
commit 5a741fda55
2 changed files with 80 additions and 82 deletions

View File

@ -3238,8 +3238,7 @@ bool clip_image_preprocess(struct clip_ctx * ctx, const clip_image_u8 * img, str
res_imgs->grid_x = 1;
res_imgs->grid_y = 1;
}
break;
} break;
default:
LOG_ERR("%s: unsupported projector type %d\n", __func__, ctx->proj_type());

View File

@ -91,7 +91,6 @@ static ggml_tensor * get_rel_pos(ggml_context * ctx0,
ggml_cgraph * clip_graph_deepseekocr::build() {
// patch embedding
ggml_tensor * inp_raw = build_inp_raw();
//ggml_tensor * sam_out = build_sam(inp_raw);
ggml_tensor * sam_out;
// Building SAM
@ -247,7 +246,7 @@ ggml_cgraph * clip_graph_deepseekocr::build() {
ggml_build_forward_expand(gf, cur);
sam_out = cur;
}
//ggml_tensor * clip_out = build_dsocr_clip(sam_out);
ggml_tensor * clip_out;
// Building DS-OCR CLIP
{