MCPcopy
hub / github.com/openai/improved-diffusion / linear

Function linear

improved_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
35def linear(*args, **kwargs):
36 """
37 Create a linear module.
38 """
39 return nn.Linear(*args, **kwargs)
40
41
42def avg_pool_nd(dims, *args, **kwargs):

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected