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

Method encode

ldm/modules/encoders/modules.py:21–22  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

19class IdentityEncoder(AbstractEncoder):
20
21 def encode(self, x):
22 return x
23
24
25class ClassEmbedder(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected