Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorchSSL/TorchSSL
/ forward
Method
forward
models/nets/wrn.py:21–22 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
19
self.alpha = alpha
20
21
def
forward(self, x):
22
return
super().forward(x) + self.alpha
23
24
25
class
BasicBlock(nn.Module):
Callers
nothing calls this directly
Calls
1
forward
Method · 0.45
Tested by
no test coverage detected