MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / AbstractEncoder

Class AbstractEncoder

ldm/modules/encoders/modules.py:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10
11class AbstractEncoder(nn.Module):
12 def __init__(self):
13 super().__init__()
14
15 def encode(self, *args, **kwargs):
16 raise NotImplementedError
17
18
19class IdentityEncoder(AbstractEncoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected