Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionXLab/OF-Diff
/ IdentityEncoder
Class
IdentityEncoder
ldm/modules/encoders/modules.py:19–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
18
19
class
IdentityEncoder(AbstractEncoder):
20
21
def
encode(self, x):
22
return
x
23
24
25
class
ClassEmbedder(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected