MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / ImagePipelineOutput

Class ImagePipelineOutput

diffusers/src/diffusers/pipelines/pipeline_utils.py:104–114  ·  view source on GitHub ↗

Output class for image pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) List of denoised PIL images of length `batch_size` or NumPy array of shape `(batch_size, height, width, num_channels)`.

Source from the content-addressed store, hash-verified

102
103@dataclass
104class ImagePipelineOutput(BaseOutput):
105 """
106 Output class for image pipelines.
107
108 Args:
109 images (`List[PIL.Image.Image]` or `np.ndarray`)
110 List of denoised PIL images of length `batch_size` or NumPy array of shape `(batch_size, height, width,
111 num_channels)`.
112 """
113
114 images: Union[List[PIL.Image.Image], np.ndarray]
115
116
117@dataclass

Callers 15

__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.50
__call__Method · 0.50
__call__Method · 0.50
__call__Method · 0.50
__call__Method · 0.50
__call__Method · 0.50
__call__Method · 0.50
__call__Method · 0.50
__call__Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected