Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionXLab/OF-Diff
/ encode
Method
encode
ldm/modules/encoders/modules.py:130–131 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
128
return
z
129
130
def
encode(self, text):
131
return
self(text)
132
133
134
class
FrozenOpenCLIPEmbedder(AbstractEncoder):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected