MCPcopy Create free account
hub / github.com/Gadersd/stable-diffusion-burn / __call__

Method __call__

python/dump.py:208–210  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

206 self.dim_out = dim_out
207
208 def __call__(self, x):
209 x, gate = self.proj(x).chunk(2, dim=-1)
210 return x * gate.gelu()
211
212class FeedForward:
213 def __init__(self, dim, mult=4):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected