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