Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/VisionXLab/OF-Diff
/ linear
Function
linear
ldm/modules/diffusionmodules/util.py:234–238 ·
view source on GitHub ↗
Create a linear module.
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
232
233
234
def
linear(*args, **kwargs):
235
""
"
236
Create a linear module.
237
""
"
238
return
nn.Linear(*args, **kwargs)
239
240
241
def
avg_pool_nd(dims, *args, **kwargs):
Callers
3
__init__
Method · 0.90
__init__
Method · 0.90
__init__
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected