Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceClear/StableSR
/ linear
Function
linear
ldm/modules/diffusionmodules/util.py:231–235 ·
view source on GitHub ↗
Create a linear module.
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
229
230
231
def
linear(*args, **kwargs):
232
""
"
233
Create a linear module.
234
""
"
235
return
nn.Linear(*args, **kwargs)
236
237
238
def
avg_pool_nd(dims, *args, **kwargs):
Callers
5
__init__
Method · 0.90
__init__
Method · 0.90
__init__
Method · 0.90
__init__
Method · 0.90
__init__
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected