diffusion_models.utils.batch_processor ====================================== .. py:module:: diffusion_models.utils.batch_processor Module Contents --------------- .. py:class:: BatchData .. py:attribute:: images :type: torch.Tensor .. py:attribute:: labels :type: Optional[torch.Tensor] :value: None .. py:class:: BaseBatchProcessor Helper class that provides a standard way to create an ABC using inheritance. .. py:class:: SimpleBatchProcessor Helper class that provides a standard way to create an ABC using inheritance. .. py:class:: ClipTextEmbedder .. py:attribute:: model .. py:attribute:: tokenizer .. py:method:: embed(text_labels) .. py:class:: ClipBatchProcessor Helper class that provides a standard way to create an ABC using inheritance. .. py:attribute:: clip_text_embedder