(self, p: StableDiffusionProcessing, index)
| 554 | def decode_latent_batch(model, batch, target_device=None): |
| 555 | samples = DecodedSamples() |
| 556 | samples_pytorch = sd_samplers_common.decode_first_stage(model, batch).to(target_device) |
| 557 | |
| 558 | for x in samples_pytorch: |
| 559 | samples.append(x) |
| 560 |
no test coverage detected