Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tdrussell/diffusion-pipe
/ __init__
Method
__init__
models/cosmos_predict2.py:617–620 ·
view source on GitHub ↗
(self, model)
Source
from the content-addressed store, hash-verified
615
616
class
FinalLayer(nn.Module):
617
def
__init__(self, model):
618
super().__init__()
619
self.final_layer = model.final_layer
620
self.model = [model]
621
622
def
__getattr__(self, name):
623
return
getattr(self.model[0], name)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected