nemo_automodel.components.datasets.vlm.media
nemo_automodel.components.datasets.vlm.media
Spatial image assembly shared by native and streaming VLM loaders.
Module Contents
Functions
API
Zero-pad processor images to a common spatial size without resizing.
Parameters:
values
Image tensors [images, channels, height, width], with matching
channel counts. Original unpadded sizes travel in image_sizes.
Returns: torch.Tensor
Concatenated images [total_images, channels, max_height, max_width].