Index _ | A | B | C | D | E | F | G | I | K | L | M | N | O | P | R | S | T | U | V | W | Z _ _Model (class in trojanzoo.models) _train() (trojanzoo.models.Model method) _validate() (trojanzoo.models.Model method) A ABS (class in trojanvision.defenses) accuracy() (in module trojanzoo.utils.model) (trojanzoo.models.Model method) activate_params() (in module trojanzoo.utils.model) (trojanzoo.models.Model method) ActivationClustering (class in trojanvision.defenses) add_argument() (in module trojanvision.attacks) (in module trojanvision.datasets) (in module trojanvision.defenses) (in module trojanvision.marks) (in module trojanvision.models) (in module trojanzoo.attacks) (in module trojanzoo.datasets) (in module trojanzoo.defenses) (in module trojanzoo.environ) (in module trojanzoo.models) (in module trojanzoo.trainer) (trojanvision.datasets.ImageFolder class method) (trojanvision.datasets.ImageSet class method) (trojanvision.marks.Watermark static method) (trojanvision.models.ImageModel class method) (trojanzoo.attacks.Attack class method) (trojanzoo.datasets.Dataset class method) (trojanzoo.defenses.Defense class method) (trojanzoo.environ.Env class method) (trojanzoo.models.Model static method) (trojanzoo.trainer.Trainer class method) add_mark() (trojanvision.attacks.BackdoorAttack method) (trojanvision.attacks.InputAwareDynamic method) (trojanvision.attacks.Refool method) (trojanvision.marks.Watermark method) add_noise() (in module trojanzoo.utils.tensor) AdvTrain (class in trojanvision.defenses) AlexNet (class in trojanvision.models) analyze_by_distance() (trojanvision.defenses.ActivationClustering method) analyze_by_relative_size() (trojanvision.defenses.ActivationClustering method) analyze_by_silhouette_score() (trojanvision.defenses.ActivationClustering method) analyze_by_size() (trojanvision.defenses.ActivationClustering method) apply() (trojanzoo.models.Model method) atan_func() (in module trojanzoo.utils.tensor) Attack (class in trojanzoo.attacks) attack() (trojanzoo.attacks.Attack method) AverageMeter (class in trojanzoo.utils.logger) B BackdoorAttack (class in trojanvision.attacks) BackdoorDefense (class in trojanvision.defenses) BadNet (class in trojanvision.attacks) BaseKFAC (class in trojanzoo.utils.fim) BaseState (class in trojanzoo.utils.fim) BasicObject (class in trojanzoo.utils.module) C check_early_stop() (trojanvision.defenses.ModelInspection method) check_files() (trojanzoo.datasets.Dataset method) children() (trojanzoo.models.Model method) CIFAR10 (class in trojanvision.datasets) CIFAR100 (class in trojanvision.datasets) CleanLabelBackdoor (class in trojanvision.attacks) clear() (trojanzoo.utils.module.Module method) (trojanzoo.utils.module.Param method) Config (class in trojanzoo.configs) copy() (trojanzoo.utils.module.Module method) cpu() (trojanzoo.models.Model method) create() (in module trojanvision.attacks) (in module trojanvision.datasets) (in module trojanvision.defenses) (in module trojanvision.marks) (in module trojanvision.models) (in module trojanzoo.attacks) (in module trojanzoo.datasets) (in module trojanzoo.defenses) (in module trojanzoo.environ) (in module trojanzoo.models) (in module trojanzoo.trainer) create_meters() (trojanzoo.utils.logger.MetricLogger method) CUB200 (class in trojanvision.datasets) CUB200_2011 (class in trojanvision.datasets) cuda() (trojanzoo.models.Model method) D DARTS (class in trojanvision.models) Dataset (class in trojanzoo.datasets) dataset_to_tensor() (in module trojanzoo.utils.data) DeepInspect (class in trojanvision.defenses) Defense (class in trojanzoo.defenses) define_classifier() (trojanzoo.models._Model static method) define_criterion() (trojanzoo.models.Model method) define_features() (trojanzoo.models._Model static method) define_generator() (trojanvision.attacks.InputAwareDynamic static method) define_optimizer() (trojanzoo.models.Model method) define_preprocess() (trojanzoo.models._Model class method) denoise() (trojanvision.attacks.TrojanNN static method) DenseNet (class in trojanvision.models) detect() (trojanzoo.defenses.Defense method) disable() (trojanzoo.utils.lock.Lock method) DynamicBackdoor (class in trojanvision.attacks) E early_stop_check() (trojanzoo.optim.Optimizer method) EfficientNet (class in trojanvision.models) EKFAC (class in trojanzoo.utils.fim) empty_cache() (in module trojanzoo.utils.memory) enable() (trojanzoo.utils.lock.Lock method) ENAS (class in trojanvision.models) Env (class in trojanzoo.environ) eval() (trojanzoo.models.Model method) ExponentialMovingAverage (class in trojanzoo.utils.model) F FinePruning (class in trojanvision.defenses) forward() (trojanzoo.models._Model method) G gen_seed_data() (trojanvision.defenses.ABS method) generate_target() (in module trojanzoo.utils.model) (trojanzoo.attacks.Attack method) (trojanzoo.models.Model method) get_all_layer() (in module trojanzoo.utils.model) (trojanzoo.models.Model method) get_avg_target_feats() (trojanvision.attacks.LatentBackdoor method) get_class() (trojanzoo.models.Model method) get_class_subset() (in module trojanzoo.utils.data) (trojanzoo.datasets.Dataset static method) get_cls_diff() (trojanvision.defenses.Neo method) get_config() (trojanzoo.configs.Config method) get_data() (trojanvision.attacks.BackdoorAttack method) (trojanvision.attacks.InputAwareDynamic method) (trojanvision.datasets.ImageSet static method) (trojanvision.models.ImageModel method) (trojanzoo.datasets.Dataset method) (trojanzoo.models.Model method) get_dataloader() (trojanzoo.datasets.Dataset method) get_dataset() (trojanzoo.datasets.Dataset method) get_datasets() (trojanvision.defenses.TrainingFiltering method) get_dominant_color() (trojanvision.defenses.Neo method) get_filename() (trojanvision.attacks.BackdoorAttack method) (trojanvision.attacks.InputAwareDynamic method) (trojanvision.defenses.BackdoorDefense method) get_final_fm() (trojanzoo.models._Model method) (trojanzoo.models.Model method) get_fm() (trojanzoo.models._Model method) (trojanzoo.models.Model method) get_heatmap() (trojanvision.models.ImageModel method) get_layer() (in module trojanzoo.utils.model) (trojanzoo.models.Model method) get_layer_name() (in module trojanzoo.utils.model) (trojanzoo.models.Model method) get_logits() (trojanzoo.models.Model method) get_loss_weights() (trojanzoo.datasets.Dataset method) get_mark() (trojanvision.attacks.InputAwareDynamic method) get_mark_loss_list() (trojanvision.defenses.ModelInspection method) get_mask() (trojanvision.attacks.InputAwareDynamic method) get_name() (trojanvision.models.ImageModel class method) get_neuron_idx() (trojanvision.attacks.TrojanNN method) get_neuron_jaccard() (trojanvision.attacks.BackdoorAttack method) get_neuron_value() (trojanvision.attacks.TrojanNN method) get_official_weights() (trojanzoo.models.Model method) get_org_dataset() (trojanzoo.datasets.Dataset method) get_output() (trojanzoo.utils.module.Process method) get_output_int() (trojanzoo.utils.module.Process class method) get_parallel_model() (trojanzoo.models.Model static method) get_poison_dataset() (trojanvision.attacks.BackdoorAttack method) (trojanvision.attacks.CleanLabelBackdoor method) get_pred_label() (trojanvision.defenses.Neo method) get_pred_labels() (trojanvision.defenses.InputFiltering method) (trojanvision.defenses.Strip method) (trojanvision.defenses.TrainingFiltering method) get_prob() (trojanzoo.models.Model method) get_seed_data() (trojanvision.defenses.ABS method) get_str() (trojanzoo.utils.logger.MetricLogger method) get_target_prob() (trojanzoo.models.Model method) get_test_data() (trojanvision.defenses.InputFiltering method) get_transform() (trojanvision.datasets.ImageSet method) (trojanvision.datasets.STL10 method) (trojanzoo.datasets.Dataset method) get_true_labels() (trojanvision.defenses.InputFiltering method) (trojanvision.defenses.TrainingFiltering method) GTSRB (class in trojanvision.datasets) I ImageFolder (class in trojanvision.datasets) ImageModel (class in trojanvision.models) ImageNet (class in trojanvision.datasets) ImageNet16 (class in trojanvision.datasets) ImageNet32 (class in trojanvision.datasets) ImageSet (class in trojanvision.datasets) IMC (class in trojanvision.attacks) init_weights() (in module trojanzoo.utils.model) initialize() (trojanvision.datasets.ImageFolder method) (trojanzoo.datasets.Dataset method) InputAwareDynamic (class in trojanvision.attacks) InputFiltering (class in trojanvision.defenses) InvisiblePoison (class in trojanvision.attacks) ISIC2018 (class in trojanvision.datasets) items() (trojanzoo.utils.module.Module method) K keys() (trojanzoo.trainer.Trainer method) (trojanzoo.utils.module.Module method) KFAC (class in trojanzoo.utils.fim) KFACState (class in trojanzoo.utils.fim) L LatentBackdoor (class in trojanvision.attacks) load() (trojanvision.attacks.BackdoorAttack method) (trojanvision.attacks.InputAwareDynamic method) (trojanvision.defenses.ModelInspection method) (trojanzoo.models.Model method) load_config() (trojanzoo.configs.Config static method) load_mark() (trojanvision.marks.Watermark method) load_state_dict() (trojanzoo.models.Model method) Lock (class in trojanzoo.utils.lock) log_every() (trojanzoo.utils.logger.MetricLogger method) loss() (trojanvision.defenses.ModelInspection method) (trojanzoo.models.Model method) M MagNet (class in trojanvision.defenses) (class in trojanvision.models) make_folder() (trojanvision.datasets.ImageSet method) merge() (trojanzoo.configs.Config method) MetricLogger (class in trojanzoo.utils.logger) MNASNet (class in trojanvision.models) MNIST (class in trojanvision.datasets) MobileNet (class in trojanvision.models) Model (class in trojanzoo.models) ModelInspection (class in trojanvision.defenses) ModelProcess (class in trojanzoo.utils.module) module trojanvision.configs trojanvision.environ trojanvision.trainer trojanzoo.configs Module (class in trojanzoo.utils.module) modules() (trojanzoo.models.Model method) N named_children() (trojanzoo.models.Model method) named_modules() (trojanzoo.models.Model method) named_parameters() (trojanzoo.models.Model method) NATSbench (class in trojanvision.models) Neo (class in trojanvision.defenses) NeuralCleanse (class in trojanvision.defenses) NeuronInspect (class in trojanvision.defenses) O optimize() (trojanzoo.optim.Optimizer method) optimize_mark() (trojanvision.attacks.IMC method) (trojanvision.defenses.DeepInspect method) (trojanvision.defenses.ModelInspection method) Optimizer (class in trojanzoo.optim) output_available_models() (in module trojanvision.models) (in module trojanzoo.models) output_info() (trojanzoo.optim.Optimizer method) output_iter() (trojanzoo.utils.module.Process static method) output_memory() (in module trojanzoo.utils.memory) P Param (class in trojanzoo.utils.module) parameters() (trojanzoo.models.Model method) PNASNet (class in trojanvision.models) preprocess_input() (trojanzoo.optim.Optimizer method) preprocess_mark() (trojanvision.attacks.LatentBackdoor method) (trojanvision.attacks.TrojanNN method) Process (class in trojanzoo.utils.module) ProxylessNAS (class in trojanvision.models) R RandomizedSmooth (class in trojanvision.defenses) Recompress (class in trojanvision.defenses) Refool (class in trojanvision.attacks) remove_misclassify() (trojanzoo.models.Model method) remove_none() (trojanzoo.utils.module.Module method) (trojanzoo.utils.module.Param method) repeat_to_batch() (in module trojanzoo.utils.tensor) requires_grad_() (trojanzoo.models.Model method) reset() (trojanzoo.utils.logger.MetricLogger method) (trojanzoo.utils.logger.SmoothedValue method) ResNet (class in trojanvision.models) S sample() (trojanvision.datasets.ImageFolder method) sample_batch() (in module trojanzoo.utils.data) sample_data() (trojanvision.attacks.LatentBackdoor method) save() (trojanvision.attacks.BackdoorAttack method) (trojanvision.attacks.InputAwareDynamic method) (trojanzoo.models.Model method) scatter_mark() (trojanvision.marks.Watermark static method) ShuffleNetV2 (class in trojanvision.models) SmoothedValue (class in trojanzoo.utils.logger) split_dataset() (in module trojanzoo.utils.data) (trojanzoo.datasets.Dataset static method) state_dict() (trojanzoo.models.Model method) STL10 (class in trojanvision.datasets) Strip (class in trojanvision.defenses) summary() (in module trojanzoo.utils.model) (trojanzoo.configs.Config method) (trojanzoo.models.Model method) (trojanzoo.utils.module.BasicObject method) (trojanzoo.utils.module.Module method) syn_random_noises() (trojanvision.attacks.TrojanNet method) syn_trigger_candidates() (trojanvision.attacks.TrojanNet method) synchronize_between_processes() (trojanzoo.utils.logger.SmoothedValue method) T Tabor (class in trojanvision.defenses) tanh_func() (in module trojanzoo.utils.tensor) TensorListDataset (class in trojanzoo.utils.data) train() (in module trojanzoo.utils.train) (trojanzoo.models.Model method) train_mask_generator() (trojanvision.attacks.InputAwareDynamic method) Trainer (class in trojanzoo.trainer) TrainingFiltering (class in trojanvision.defenses) TrojanNet (class in trojanvision.attacks) TrojanNN (class in trojanvision.attacks) trojanvision.configs module trojanvision.environ module trojanvision.trainer module trojanzoo.configs module U update() (trojanzoo.utils.logger.MetricLogger method) (trojanzoo.utils.logger.SmoothedValue method) (trojanzoo.utils.module.Module method) (trojanzoo.utils.module.Param method) update_input() (trojanzoo.optim.Optimizer method) update_list() (trojanzoo.utils.logger.MetricLogger method) (trojanzoo.utils.logger.SmoothedValue method) V validate() (in module trojanzoo.utils.train) validate_confidence() (trojanvision.attacks.BackdoorAttack method) VGG (class in trojanvision.models) VGGface2 (class in trojanvision.datasets) W Watermark (class in trojanvision.marks) Z zero_grad() (trojanzoo.models.Model method)