Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ forward
Method
forward
inference/models/mpt.py:230–231 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
228
self.down_proj._is_residual = True
229
230
def
forward(self, x):
231
return
self.down_proj(self.act(self.up_proj(x)))
232
233
234
class
MPTBlock(nn.Module):
Callers
2
forward
Method · 0.45
forward
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected