Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-bridge/blob/main/evidence/deepinfer/py-verbatim/003_expanded_image_token_len.py # omega-bridge Omega-first language interoperability: checked conversion backends and native language bindings Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-bridge / evidence / deepinfer / py-verbatim / 003_expanded_image_token_len.py` 3 lines · 223 bytes Raw Blame History 1 def expanded_image_token_len(n_llm_h: int, n_llm_w: int) -> int: 2 """图像段展开后的 token 数:IMAGE_START + 每行(n_llm_w 个 IMAGE + 1 个 NEW_LINE)+ IMAGE_END。""" 3 return n_llm_h * (n_llm_w + 1) + 2