MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / encode

Method encode

sat/sgm/models/autoencoder.py:97–98  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

95
96 @abstractmethod
97 def encode(self, *args, **kwargs) -> torch.Tensor:
98 raise NotImplementedError("encode()-method of abstract base class called")
99
100 @abstractmethod
101 def decode(self, *args, **kwargs) -> torch.Tensor:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected