MCPcopy Create free account
hub / github.com/TencentARC/AnimeGamer / encode

Method encode

VDM_Decoder/vae_modules/autoencoder.py:113–114  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

111
112 @abstractmethod
113 def encode(self, *args, **kwargs) -> torch.Tensor:
114 raise NotImplementedError("encode()-method of abstract base class called")
115
116 @abstractmethod
117 def decode(self, *args, **kwargs) -> torch.Tensor:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected