loki.utils.encode_images

loki.utils.encode_images(model: Module, preprocess: callable, image_paths: List[str], device: str | device) Tensor

Batch–encode a list of image file paths into L2‑normalized embeddings. Returns a tensor of shape (N, D).