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)`.
| 102 | |
| 103 | @dataclass |
| 104 | class 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 |
no outgoing calls
no test coverage detected