MCPcopy 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
231def linear(*args, **kwargs):
232 """
233 Create a linear module.
234 """
235 return nn.Linear(*args, **kwargs)
236
237
238def 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