MCPcopy Create free account

hub / github.com/Trustworthy-AI-Group/TransferAttack / functions

Functions2,264 in github.com/Trustworthy-AI-Group/TransferAttack

Methodforward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:152
Methodforward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:178
Methodforward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:211
Methodforward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:238
Methodforward
(self, x)
transferattack/model_related/ghost_networks/inc_res_v2.py:352
Methodforward
(self, x: Tensor)
transferattack/model_related/ghost_networks/inc_v3.py:43
Methodforward
(self, x: Tensor)
transferattack/model_related/ghost_networks/resnet.py:96
Methodforward
(self, x: Tensor)
transferattack/model_related/ghost_networks/resnet.py:153
Methodforward
(self, x: Tensor)
transferattack/model_related/ghost_networks/resnet.py:298
Methodforward
(self, x)
transferattack/model_related/setr_networks/vit.py:60
Methodforward
(self, x)
transferattack/model_related/setr_networks/token_transformer.py:26
Methodforward
(self, x)
transferattack/model_related/setr_networks/token_transformer.py:57
Methodforward
(self, x)
transferattack/model_related/setr_networks/token_performer.py:56
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:37
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:75
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:111
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_ghost.py:181
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:33
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:56
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:84
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_se.py:154
Methodforward
x : (B, num_patches + 1, D) -> (B, C=num_classes)
transferattack/model_related/setr_networks/deit_ensemble.py:42
Methodforward
(self, x)
transferattack/model_related/setr_networks/deit_ensemble.py:97
Methodforward
(self, x)
transferattack/model_related/setr_networks/tnt.py:59
Methodforward
(self, pixel_embed, patch_embed)
transferattack/model_related/setr_networks/tnt.py:105
Methodforward
(self, x, pixel_pos)
transferattack/model_related/setr_networks/tnt.py:133
Methodforward
(self, x)
transferattack/model_related/setr_networks/tnt.py:224
Methodforward
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
Methodforward
(self, x)
transferattack/model_related/setr_networks/swin_transformer.py:270
Methodforward
x: B, H*W, C
transferattack/model_related/setr_networks/swin_transformer.py:326
Methodforward
(self, x)
transferattack/model_related/setr_networks/swin_transformer.py:403
Methodforward
(self, x)
transferattack/model_related/setr_networks/swin_transformer.py:547
Methodforward
(self, x)
transferattack/model_related/setr_networks/transformer_block.py:24
Methodforward
(self, x)
transferattack/model_related/setr_networks/transformer_block.py:45
Methodforward
(self, x)
transferattack/model_related/setr_networks/transformer_block.py:72
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit.py:83
Methodforward
(self, x, get_average=False)
transferattack/model_related/setr_networks/t2t_vit.py:174
Methodforward
(self, x)
transferattack/model_related/setr_networks/deit.py:57
Methodforward
(self, x, patches=False, only_last=False)
transferattack/model_related/setr_networks/deit.py:114
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:28
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:46
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:74
Methodforward
(self, x)
transferattack/model_related/setr_networks/t2t_vit_dense.py:157
Methodforward
(self, tensor)
transferattack/model_related/qaa_utils/train.py:103
Methodforward
(self, tensor)
transferattack/model_related/qaa_utils/utils.py:23
Methodforward
(self, x)
transferattack/model_related/qaa_utils/utils.py:103
Methodforward
(ctx, input, alpha)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:106
Methodforward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:180
Methodforward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:224
Methodforward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:237
Methodforward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/resnet.py:57
Methodforward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/resnet.py:96
Methodforward
(self, x)
transferattack/model_related/qaa_utils/archs/apot/resnet.py:202
Methodforward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:61
Methodforward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:132
Methodforward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:196
Methodforward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:230
Methodforward
(self, x)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:305
Methodforward
(self, input)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:64
Methodforward
(self, *operands)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:126
Methodforward
(self, input, num)
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:152
Methodforward
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
Methodforward
(self, x, gammas)
transferattack/model_related/llta_networks/models/decayresnet.py:62
Methodforward
(self, x, gamma)
transferattack/model_related/llta_networks/models/decayresnet.py:101
Methodforward
(self, inputs)
transferattack/model_related/llta_networks/models/decayresnet.py:145
Methodforward
(self, inputs)
transferattack/model_related/llta_networks/models/decayresnet.py:194
Methodforward
(self, x, gammas)
transferattack/model_related/llta_networks/models/decayresnet.py:295
Methodforward
(self, x, gammas)
transferattack/model_related/llta_networks/models/__init__.py:36
Methodforward
(self, x, gammas)
transferattack/model_related/llta_networks/models/__init__.py:52
Methodforward
(self, input)
transferattack/model_related/llta_networks/models/decaydensenet.py:68
Methodforward
(self, input)
transferattack/model_related/llta_networks/models/decaydensenet.py:138
Methodforward
(self, inputs)
transferattack/model_related/llta_networks/models/decaydensenet.py:194
Methodforward
(self, x, gammas)
transferattack/model_related/llta_networks/models/decaydensenet.py:285
Methodforward
(self, x, gamma)
transferattack/model_related/llta_networks/models/decayrelu.py:13
Methodforward
The attack procedure for FGSRA Arguments: data: (N, C, H, W) tensor for input images labels: (N
transferattack/gradient/fgsra.py:154
Methodforward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/pcifgsm.py:38
Methodforward
The general attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for g
transferattack/gradient/gifgsm.py:42
Methodforward
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
Methodforward
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
Methodforward
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
Methodforward
The optimized Foolmix attack procedure
transferattack/gradient/foolmix.py:69
Methodforward
The RAP attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for groun
transferattack/gradient/rap.py:109
Methodforward
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
Methodforward
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
Methodforward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/anda.py:75
Methodforward
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
Methodforward
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
Methodforward
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
Methodforward
(self, data, label, **kwargs)
transferattack/gradient/adamsi_fgm.py:63
Methodforward
The GAA attack procedure Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor for groun
transferattack/gradient/gaa.py:44
Methodforward
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
Methodforward
(self, data, label, **kwargs)
transferattack/gradient/liboost.py:82
Methodforward
The attack procedure for VMI-FGSM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor
transferattack/gradient/vmifgsm.py:60
Methodforward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/mumodig.py:54
Methodforward
x: (B, c, H, W) or (C, H, W)
transferattack/gradient/mumodig.py:231
Methodforward
The GNP attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for groun
transferattack/gradient/gnp.py:42
Methodforward
The general attack procedure Arguments: data (N, C, H, W): tensor for input images labels (N,): tensor for g
transferattack/gradient/mig.py:49
Methodforward
The attack procedure for VMI-FGSM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor
transferattack/gradient/dta.py:43
Methodforward
The attack procedure for VMI-FGSM Arguments: data: (N, C, H, W) tensor for input images labels: (N,) tensor
transferattack/gradient/smifgrm.py:75
Methodforward
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
← previousnext →1,701–1,800 of 2,264, ranked by callers