MCPcopy Create free account
hub / github.com/AMAP-ML/Eevee / __init__

Method __init__

models/dit.py:213–214  ·  view source on GitHub ↗
(self,)

Source from the content-addressed store, hash-verified

211
212class GateModule(nn.Module):
213 def __init__(self,):
214 super().__init__()
215
216 def forward(self, x, gate, residual):
217 return x + gate * residual

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected