Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionXLab/OF-Diff
/ encode
Method
encode
ldm/models/autoencoder.py:214–215 ·
view source on GitHub ↗
(self, x, *args, **kwargs)
Source
from the content-addressed store, hash-verified
212
super().__init__()
213
214
def
encode(self, x, *args, **kwargs):
215
return
x
216
217
def
decode(self, x, *args, **kwargs):
218
return
x
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected