Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Trustworthy-AI-Group/TransferAttack
/ functions
Functions
2,264 in github.com/Trustworthy-AI-Group/TransferAttack
⨍
Functions
2,264
◇
Types & classes
551
Method
forward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:152
Method
forward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:178
Method
forward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:211
Method
forward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:238
Method
forward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:352
Method
forward
(self, x: Tensor)
transferattack/model_related/ghost_networks/inc_v3.py:43
Method
forward
(self, x: Tensor)
transferattack/model_related/ghost_networks/resnet.py:96
Method
forward
(self, x: Tensor)
transferattack/model_related/ghost_networks/resnet.py:153
Method
forward
(self, x: Tensor)
transferattack/model_related/ghost_networks/resnet.py:298
Method
forward
(self, x)
transferattack/model_related/setr_networks/vit.py:60
Method
forward
(self, x)
transferattack/model_related/setr_networks/token_transformer.py:26
Method
forward
(self, x)
transferattack/model_related/setr_networks/token_transformer.py:57
Method
forward
(self, x)
transferattack/model_related/setr_networks/token_performer.py:56
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:37
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:75
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:111
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:181
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:33
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:56
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:84
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:154
Method
forward
x : (B, num_patches + 1, D) -> (B, C=num_classes)
transferattack/model_related/setr_networks/deit_ensemble.py:42
Method
forward
(self, x)
transferattack/model_related/setr_networks/deit_ensemble.py:97
Method
forward
(self, x)
transferattack/model_related/setr_networks/tnt.py:59
Method
forward
(self, pixel_embed, patch_embed)
transferattack/model_related/setr_networks/tnt.py:105
Method
forward
(self, x, pixel_pos)
transferattack/model_related/setr_networks/tnt.py:133
Method
forward
(self, x)
transferattack/model_related/setr_networks/tnt.py:224
Method
forward
Args: x: input features with shape of (num_windows*B, N, C) mask: (0/-inf) mask with shape of (num_windows, Wh*Ww, Wh
transferattack/model_related/setr_networks/swin_transformer.py:167
Method
forward
(self, x)
transferattack/model_related/setr_networks/swin_transformer.py:270
Method
forward
x: B, H*W, C
transferattack/model_related/setr_networks/swin_transformer.py:326
Method
forward
(self, x)
transferattack/model_related/setr_networks/swin_transformer.py:403
Method
forward
(self, x)
transferattack/model_related/setr_networks/swin_transformer.py:547
Method
forward
(self, x)
transferattack/model_related/setr_networks/transformer_block.py:24
Method
forward
(self, x)
transferattack/model_related/setr_networks/transformer_block.py:45
Method
forward
(self, x)
transferattack/model_related/setr_networks/transformer_block.py:72
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit.py:83
Method
forward
(self, x, get_average=False)
transferattack/model_related/setr_networks/t2t_vit.py:174
Method
forward
(self, x)
transferattack/model_related/setr_networks/deit.py:57
Method
forward
(self, x, patches=False, only_last=False)
transferattack/model_related/setr_networks/deit.py:114
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:28
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:46
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:74
Method
forward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:157
Method
forward
(self, tensor)
transferattack/model_related/qaa_utils/train.py:103
Method
forward
(self, tensor)
transferattack/model_related/qaa_utils/utils.py:23
Method
forward
(self, x)
transferattack/model_related/qaa_utils/utils.py:103
Method
forward
(ctx, input, alpha)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:106
Method
forward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:180
Method
forward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:224
Method
forward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:237
Method
forward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/resnet.py:57
Method
forward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/resnet.py:96
Method
forward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/resnet.py:202
Method
forward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:61
Method
forward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:132
Method
forward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:196
Method
forward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:230
Method
forward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:305
Method
forward
(self, input)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:64
Method
forward
(self, *operands)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:126
Method
forward
(self, input, num)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:152
Method
forward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/model_related/llta_networks/llta.py:81
Method
forward
(self, x, gammas)
transferattack/model_related/llta_networks/models/decayresnet.py:62
Method
forward
(self, x, gamma)
transferattack/model_related/llta_networks/models/decayresnet.py:101
Method
forward
(self, inputs)
transferattack/model_related/llta_networks/models/decayresnet.py:145
Method
forward
(self, inputs)
transferattack/model_related/llta_networks/models/decayresnet.py:194
Method
forward
(self, x, gammas)
transferattack/model_related/llta_networks/models/decayresnet.py:295
Method
forward
(self, x, gammas)
transferattack/model_related/llta_networks/models/__init__.py:36
Method
forward
(self, x, gammas)
transferattack/model_related/llta_networks/models/__init__.py:52
Method
forward
(self, input)
transferattack/model_related/llta_networks/models/decaydensenet.py:68
Method
forward
(self, input)
transferattack/model_related/llta_networks/models/decaydensenet.py:138
Method
forward
(self, inputs)
transferattack/model_related/llta_networks/models/decaydensenet.py:194
Method
forward
(self, x, gammas)
transferattack/model_related/llta_networks/models/decaydensenet.py:285
Method
forward
(self, x, gamma)
transferattack/model_related/llta_networks/models/decayrelu.py:13
Method
forward
The attack procedure for FGSRA Arguments: data: (N, C, H, W) tensor for input images labels: (N
transferattack/gradient/fgsra.py:154
Method
forward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/pcifgsm.py:38
Method
forward
The general attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for g
transferattack/gradient/gifgsm.py:42
Method
forward
The general attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for g
transferattack/gradient/mifgsm_with_tricks.py:53
Method
forward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/mifgsm_with_tricks.py:134
Method
forward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/mifgsm_with_tricks.py:214
Method
forward
The optimized Foolmix attack procedure
transferattack/gradient/foolmix.py:69
Method
forward
The RAP attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for groun
transferattack/gradient/rap.py:109
Method
forward
The attack procedure for PGN Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for g
transferattack/gradient/pgn.py:79
Method
forward
The attack procedure for AI-FGTM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor f
transferattack/gradient/aifgtm.py:63
Method
forward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/anda.py:75
Method
forward
Overriden for PI-FGSM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for ground-t
transferattack/gradient/pifgsm.py:70
Method
forward
The VA-I-FGSM attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for
transferattack/gradient/vaifgsm.py:78
Method
forward
The attack procedure for GRA Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for g
transferattack/gradient/gra.py:96
Method
forward
(self, data, label, **kwargs)
transferattack/gradient/adamsi_fgm.py:63
Method
forward
The GAA attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for groun
transferattack/gradient/gaa.py:44
Method
forward
The attack procedure for MEF Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for g
transferattack/gradient/mef.py:91
Method
forward
(self, data, label, **kwargs)
transferattack/gradient/liboost.py:82
Method
forward
The attack procedure for VMI-FGSM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor
transferattack/gradient/vmifgsm.py:60
Method
forward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/mumodig.py:54
Method
forward
x: (B, c, H, W) or (C, H, W)
transferattack/gradient/mumodig.py:231
Method
forward
The GNP attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for groun
transferattack/gradient/gnp.py:42
Method
forward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/mig.py:49
Method
forward
The attack procedure for VMI-FGSM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor
transferattack/gradient/dta.py:43
Method
forward
The attack procedure for VMI-FGSM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor
transferattack/gradient/smifgrm.py:75
Method
forward
The IE-FGSM attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/iefgsm.py:37
← previous
next →
1,701–1,800 of 2,264, ranked by callers