Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VisionXLab/OF-Diff
/ forward
Method
forward
ldm/modules/midas/midas/vit.py:14–15 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
12
self.start_index = start_index
13
14
def
forward(self, x):
15
return
x[:, self.start_index :]
16
17
18
class
AddReadout(nn.Module):
Callers
3
degradation_bsrgan
Function · 0.45
degradation_bsrgan
Function · 0.45
degradation_bsrgan_plus
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected