For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python function
vision_merge_inputs
vision_merge_inputs()
max.pipelines.lib.interfaces.vision_merge_inputs(device_refs, dtype, hidden_size, *, rows_dim)
Returns the per-device vision embeddings and where they merge.
-
Parameters:
-
Returns:
-
The embedding types under
image_embeddingsand the positions in the token stream that their rows replace underimage_token_indices, one of each per device. -
Return type: