Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Trustworthy-AI-Group/TransferAttack
/ types & classes
Types & classes
551 in github.com/Trustworthy-AI-Group/TransferAttack
⨍
Functions
2,264
◇
Types & classes
551
↓ 43 callers
Class
BasicConv2d
defense/hgd/inception.py:182
↓ 38 callers
Class
BasicConv2d
defense/hgd/inceptionresnetv2.py:5
↓ 38 callers
Class
BasicConv2d
defense/hgd/inceptionresnet.py:7
↓ 38 callers
Class
BasicConv2d
transferattack/model_related/ghost_networks/inc_res_v2.py:57
↓ 33 callers
Class
LambdaMap
defense/hgd/resnext_features/resnext101_64x4d_features.py:21
↓ 33 callers
Class
LambdaMap
defense/hgd/resnext_features/resnext101_32x4d_features.py:21
↓ 33 callers
Class
LambdaReduce
defense/hgd/resnext_features/resnext101_64x4d_features.py:25
↓ 33 callers
Class
LambdaReduce
defense/hgd/resnext_features/resnext101_32x4d_features.py:25
↓ 32 callers
Class
ResidualBlock
defense/diffpure/score_sde/models/layers.py:453
↓ 29 callers
Class
Lambda
defense/hgd/resnext_features/resnext101_64x4d_features.py:17
↓ 29 callers
Class
Lambda
defense/hgd/resnext_features/resnext101_32x4d_features.py:17
↓ 20 callers
Class
Block17
defense/hgd/inceptionresnetv2.py:105
↓ 20 callers
Class
Block17
defense/hgd/inceptionresnet.py:107
↓ 20 callers
Class
GhostBlock17
transferattack/model_related/ghost_networks/inc_res_v2.py:160
↓ 15 callers
Class
RefineBlock
defense/diffpure/score_sde/models/layers.py:277
↓ 14 callers
Class
ResnetBlock
defense/diffpure/ddpm/unet_ddpm.py:85
↓ 11 callers
Class
T2T_ViT
transferattack/model_related/setr_networks/t2t_vit.py:106
↓ 10 callers
Class
Block35
defense/hgd/inceptionresnetv2.py:50
↓ 10 callers
Class
Block35
defense/hgd/inceptionresnet.py:52
↓ 10 callers
Class
Block8
defense/hgd/inceptionresnetv2.py:163
↓ 10 callers
Class
Block8
defense/hgd/inceptionresnet.py:165
↓ 10 callers
Class
ConditionalResidualBlock
defense/diffpure/score_sde/models/layers.py:397
↓ 10 callers
Class
GhostBlock35
transferattack/model_related/ghost_networks/inc_res_v2.py:103
↓ 10 callers
Class
GhostBlock8
transferattack/model_related/ghost_networks/inc_res_v2.py:220
↓ 10 callers
Class
NIN
defense/diffpure/score_sde/models/layers.py:546
↓ 10 callers
Class
ResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels:
defense/diffpure/guided_diffusion/unet.py:151
↓ 10 callers
Class
admix
transferattack/input_transformation/l2t.py:160
↓ 10 callers
Class
blockshuffle
transferattack/input_transformation/l2t.py:130
↓ 10 callers
Class
dim
transferattack/input_transformation/ops.py:178
↓ 10 callers
Class
dim
transferattack/input_transformation/l2t.py:96
↓ 10 callers
Class
ide
transferattack/input_transformation/l2t.py:170
↓ 10 callers
Class
masked
transferattack/input_transformation/l2t.py:197
↓ 10 callers
Class
rotate
transferattack/input_transformation/l2t.py:79
↓ 10 callers
Class
sim
transferattack/input_transformation/l2t.py:88
↓ 9 callers
Class
AverageMeter
Computes and stores the average and current value
transferattack/model_related/qaa_utils/train.py:160
↓ 9 callers
Class
TimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
defense/diffpure/guided_diffusion/unet.py:74
↓ 9 callers
Class
affine
transferattack/input_transformation/l2t.py:363
↓ 9 callers
Class
crop
transferattack/input_transformation/l2t.py:346
↓ 9 callers
Class
rotate
transferattack/input_transformation/ops.py:214
↓ 9 callers
Class
ssm
transferattack/input_transformation/l2t.py:218
↓ 8 callers
Class
AverageMeter
Computes and stores the average and current value
defense/at/lib/utils.py:11
↓ 7 callers
Class
EnhancedBN
transferattack/generation/aim.py:61
↓ 7 callers
Class
Mlp
transferattack/model_related/setr_networks/transformer_block.py:14
↓ 7 callers
Class
VanillaVisionTransformer
transferattack/model_related/setr_networks/vit.py:37
↓ 7 callers
Class
scaling
transferattack/input_transformation/ops.py:171
↓ 6 callers
Class
AdvDataset
transferattack/utils.py:108
↓ 6 callers
Class
AttnBlock
Channel-wise self-attention block.
defense/diffpure/score_sde/models/layers.py:558
↓ 6 callers
Class
ResidualBlock
transferattack/generation/aim.py:104
↓ 6 callers
Class
ResidualBlock
transferattack/generation/m3d.py:130
↓ 6 callers
Class
ResidualBlock
transferattack/generation/dsva.py:101
↓ 6 callers
Class
ResidualBlock
transferattack/generation/ttp.py:170
↓ 6 callers
Class
ResidualBlock
transferattack/generation/cdtp.py:111
↓ 6 callers
Class
ResidualBlock
Residual block for StableGeneratorResnet Modified to remove ReflectionPad for deterministic behavior
transferattack/generation/nat.py:263
↓ 6 callers
Class
ResidualBlock
transferattack/generation/ltp.py:206
↓ 5 callers
Class
AttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. http
defense/diffpure/guided_diffusion/unet.py:267
↓ 5 callers
Class
Linear
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:207
↓ 5 callers
Class
ResidualBlock
transferattack/input_transformation/stm.py:172
↓ 5 callers
Class
UNetUp
transferattack/generation/ada.py:130
↓ 4 callers
Class
CondRefineBlock
defense/diffpure/score_sde/models/layers.py:313
↓ 4 callers
Class
DecayReLU
forward: out = relu(x) backward: grad = gamma * relu(x)
transferattack/model_related/llta_networks/models/decayrelu.py:5
↓ 4 callers
Class
DistilledVisionTransformer
transferattack/model_related/setr_networks/deit.py:24
↓ 4 callers
Class
Downsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determin
defense/diffpure/guided_diffusion/unet.py:121
↓ 4 callers
Class
Dropout
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:79
↓ 4 callers
Class
InceptionC
defense/hgd/inception.py:59
↓ 4 callers
Class
ResnetBlock
transferattack/generation/ge_advgan.py:11
↓ 4 callers
Class
T2T_module
Tokens-to-Token encoding module
transferattack/model_related/setr_networks/t2t_vit.py:45
↓ 4 callers
Class
UNetDown
transferattack/generation/ada.py:99
↓ 4 callers
Class
VanillaVisionTransformer
transferattack/model_related/setr_networks/deit.py:68
↓ 4 callers
Class
VisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:245
↓ 3 callers
Class
Add
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:97
↓ 3 callers
Class
AttnBlock
defense/diffpure/ddpm/unet_ddpm.py:145
↓ 3 callers
Class
ConvInRelu
transferattack/input_transformation/stm.py:113
↓ 3 callers
Class
ExponentialMovingAverage
Maintains (exponential) moving average of a set of parameters.
defense/diffpure/score_sde/models/ema.py:18
↓ 3 callers
Class
InceptionA
defense/hgd/inception.py:8
↓ 3 callers
Class
LayerNorm
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:76
↓ 3 callers
Class
ResidualDenseBlock_5C
defense/nrp/networks.py:11
↓ 3 callers
Class
TextLabel
transferattack/generation/diffattack.py:759
↓ 3 callers
Class
Upsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
defense/diffpure/guided_diffusion/unet.py:89
↓ 3 callers
Class
UpsampleConvInRelu
transferattack/input_transformation/stm.py:133
↓ 3 callers
Class
VisionTransformer_hierarchical
transferattack/model_related/setr_networks/deit_ensemble.py:62
↓ 2 callers
Class
Attention
Multi-Head Attention
transferattack/model_related/setr_networks/tnt.py:41
↓ 2 callers
Class
Block
TNT Block
transferattack/model_related/setr_networks/tnt.py:75
↓ 2 callers
Class
Clone
transferattack/model_related/ata_vit_utils/Transformer_Explainability/modules/layers_ours.py:151
↓ 2 callers
Class
CondRCUBlock
defense/diffpure/score_sde/models/layers.py:207
↓ 2 callers
Class
ConvMeanPool
defense/diffpure/score_sde/models/layers.py:351
↓ 2 callers
Class
Downsample
defense/diffpure/score_sde/models/layers.py:599
↓ 2 callers
Class
EnsembleModel
transferattack/utils.py:82
↓ 2 callers
Class
Gamma_Wrap_for_DenseNet
transferattack/model_related/llta_networks/models/__init__.py:40
↓ 2 callers
Class
Gamma_Wrap_for_ResNet
transferattack/model_related/llta_networks/models/__init__.py:24
↓ 2 callers
Class
HumanOutputFormat
defense/diffpure/guided_diffusion/logger.py:44
↓ 2 callers
Class
InceptionE
defense/hgd/inception.py:114
↓ 2 callers
Class
Mlp
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:51
↓ 2 callers
Class
NRP_resG
defense/nrp/networks.py:64
↓ 2 callers
Class
NormalizeLayer
Standardize the channels of a batch of images by subtracting the dataset mean and dividing by the dataset standard deviation. In order to
defense/rs/datasets.py:149
↓ 2 callers
Class
PatchEmbed
Image to Patch Embedding
transferattack/model_related/ata_vit_utils/Transformer_Explainability/baselines/ViT/ViT_LRP.py:216
↓ 2 callers
Class
PreprocessingModel
transferattack/utils.py:72
↓ 2 callers
Class
ProgressMeter
transferattack/model_related/qaa_utils/train.py:185
↓ 2 callers
Class
QKVAttention
A module which performs QKV attention and splits in a different order.
defense/diffpure/guided_diffusion/unet.py:369
↓ 2 callers
Class
QuantConv2d
Generates quantized convolutional layers. args: bit(int): bitwidth for the quantization, power(bool): (A)PoT or Uniform quantizat
transferattack/model_related/qaa_utils/archs/apot/quant_layer.py:145
↓ 2 callers
Class
RCUBlock
defense/diffpure/score_sde/models/layers.py:183
next →
1–100 of 551, ranked by callers