Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceClear/StableSR
/ forward
Method
forward
ldm/modules/diffusionmodules/util.py:210–211 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
208
# PyTorch 1.7 has SiLU, but we support PyTorch 1.5.
209
class
SiLU(nn.Module):
210
def
forward(self, x):
211
return
x * torch.sigmoid(x)
212
213
214
class
GroupNorm32(nn.GroupNorm):
Callers
4
forward
Method · 0.45
degradation_bsrgan
Function · 0.45
degradation_bsrgan
Function · 0.45
degradation_bsrgan_plus
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected