d_masks = shard(processed_masks)

>>> images = pipeline(
...     prompt_ids, processed_masks, processed_masked_images, params, prng_seed, num_inference_steps, jit=True
... ).images
>>> images = pipeline.numpy_to_pil(np.asarray(images.reshape((num_samples,) + images.shape[-3:])))  FlaxStableDiffusionPipelineOutput  class diffusers.pipelines.stable_diffusion.FlaxStableDiffusionPipelineOutput  < source > ( images: ndarray nsfw_content_detected: Li