Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/openai/guided-diffusion
/ __init__
Method
__init__
guided_diffusion/unet.py:333–335 ·
view source on GitHub ↗
(self, n_heads)
Source
from the content-addressed store, hash-verified
331
""
"
332
333
def
__init__(self, n_heads):
334
super().__init__()
335
self.n_heads = n_heads
336
337
def
forward(self, qkv):
338
""
"
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected