(self, batch_size, image_height, image_width)
| 435 | } |
| 436 | |
| 437 | def get_sample_input(self, batch_size, image_height, image_width): |
| 438 | self.check_dims(batch_size, image_height, image_width) |
| 439 | return torch.randn(batch_size, 3, image_height, image_width, dtype=torch.float32, device=self.device) |
| 440 | |
| 441 | def make_VAEEncoder(version, hf_token, device, verbose, max_batch_size, inpaint=False): |
| 442 | return VAEEncoder(hf_token=hf_token, device=device, verbose=verbose, path=get_path(version, inpaint=inpaint), |
nothing calls this directly
no test coverage detected