MCPcopy Create free account
hub / github.com/KeepTryingTo/Pytorch-GAN / sample

Method sample

PyTorch-VAE/models/base.py:16–17  ·  view source on GitHub ↗
(self, batch_size:int, current_device: int, **kwargs)

Source from the content-addressed store, hash-verified

14 raise NotImplementedError
15
16 def sample(self, batch_size:int, current_device: int, **kwargs) -> Tensor:
17 raise NotImplementedError
18
19 def generate(self, x: Tensor, **kwargs) -> Tensor:
20 raise NotImplementedError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected