d67eba0f31
* add: utility for image grid. * add: return type. * change necessary places. * add to utility page.
27 lines
438 B
Markdown
27 lines
438 B
Markdown
# Utilities
|
|
|
|
Utility and helper functions for working with 🤗 Diffusers.
|
|
|
|
## randn_tensor
|
|
|
|
[[autodoc]] diffusers.utils.randn_tensor
|
|
|
|
## numpy_to_pil
|
|
|
|
[[autodoc]] utils.pil_utils.numpy_to_pil
|
|
|
|
## pt_to_pil
|
|
|
|
[[autodoc]] utils.pil_utils.pt_to_pil
|
|
|
|
## load_image
|
|
|
|
[[autodoc]] utils.testing_utils.load_image
|
|
|
|
## export_to_video
|
|
|
|
[[autodoc]] utils.testing_utils.export_to_video
|
|
|
|
## make_image_grid
|
|
|
|
[[autodoc]] utils.pil_utils.make_image_grid |