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