Method
__init__
(
self,
do_resize: bool = True,
vae_scale_factor: int = 8,
resample: str = "lanczos",
do_normalize: bool = True,
)
Source from the content-addressed store, hash-verified
| 664 | |
| 665 | @register_to_config |
| 666 | def __init__( |
| 667 | self, |
| 668 | do_resize: bool = True, |
| 669 | vae_scale_factor: int = 8, |
| 670 | resample: str = "lanczos", |
| 671 | do_normalize: bool = True, |
| 672 | ): |
| 673 | super().__init__() |
| 674 | |
| 675 | @staticmethod |
| 676 | def numpy_to_pil(images: np.ndarray) -> List[PIL.Image.Image]: |
Callers
nothing calls this directly
Tested by
no test coverage detected