Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionXLab/OF-Diff
/ __init__
Method
__init__
ldm/modules/encoders/modules.py:12–13 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
10
11
class
AbstractEncoder(nn.Module):
12
def
__init__(self):
13
super().__init__()
14
15
def
encode(self, *args, **kwargs):
16
raise
NotImplementedError
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected