Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionXLab/OF-Diff
/ __init__
Method
__init__
ldm/modules/midas/midas/vit.py:19–21 ·
view source on GitHub ↗
(self, start_index=1)
Source
from the content-addressed store, hash-verified
17
18
class
AddReadout(nn.Module):
19
def
__init__(self, start_index=1):
20
super(AddReadout, self).__init__()
21
self.start_index = start_index
22
23
def
forward(self, x):
24
if
self.start_index == 2:
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected