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

Method encode

PyTorch-VAE/models/base.py:10–11  ·  view source on GitHub ↗
(self, input: Tensor)

Source from the content-addressed store, hash-verified

8 super(BaseVAE, self).__init__()
9
10 def encode(self, input: Tensor) -> List[Tensor]:
11 raise NotImplementedError
12
13 def decode(self, input: Tensor) -> Any:
14 raise NotImplementedError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected