Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Trustworthy-AI-Group/TransferAttack
/ forward
Method
forward
transferattack/utils.py:78–79 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
76
self.normalize = transforms.Normalize(mean, std)
77
78
def
forward(self, x):
79
return
self.normalize(self.resize(x))
80
81
82
class
EnsembleModel(torch.nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected