Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/VisionXLab/OF-Diff
/ __init__
Method
__init__
ldm/modules/diffusionmodules/openaimodel.py:385–387 ·
view source on GitHub ↗
(self, n_heads)
Source
from the content-addressed store, hash-verified
383
""
"
384
385
def
__init__(self, n_heads):
386
super().__init__()
387
self.n_heads = n_heads
388
389
def
forward(self, qkv):
390
""
"
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected