Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/guided-diffusion
/ linear
Function
linear
guided_diffusion/nn.py:35–39 ·
view source on GitHub ↗
Create a linear module.
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
33
34
35
def
linear(*args, **kwargs):
36
""
"
37
Create a linear module.
38
""
"
39
return
nn.Linear(*args, **kwargs)
40
41
42
def
avg_pool_nd(dims, *args, **kwargs):
Callers
3
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected