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