Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monalissaa/DisenDiff
/ QuickGELU
Class
QuickGELU
clip/model.py:162–164 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
161
162
class
QuickGELU(nn.Module):
163
def
forward(self, x: torch.Tensor):
164
return
x * torch.sigmoid(1.702 * x)
165
166
167
class
ResidualAttentionBlock(nn.Module):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected