Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CompVis/diff2flow
/ __init__
Method
__init__
diff2flow/models/unet/openaimodel.py:387–389 ·
view source on GitHub ↗
(self, n_heads)
Source
from the content-addressed store, hash-verified
385
""
"
386
387
def
__init__(self, n_heads):
388
super().__init__()
389
self.n_heads = n_heads
390
391
def
forward(self, qkv):
392
""
"
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected