MCPcopy Index your code

hub / github.com/ashafahi/free_adv_train / functions

Functions33 in github.com/ashafahi/free_adv_train

↓ 7 callersMethod_stride_arr
Map a stride scalar to the stride array for tf.nn.conv2d.
free_model.py:31
↓ 4 callersMethod_batch_norm
Batch normalization.
free_model.py:113
↓ 4 callersMethod_relu
Relu, with optional leaky support.
free_model.py:169
↓ 3 callersMethod_conv
Convolution.
free_model.py:159
↓ 3 callersMethodget_next_batch
(self, batch_size, multiple_passes=False, reshuffle_after_pass=True)
cifar10_input.py:133
↓ 2 callersMethod_load_datafile
(filename)
cifar10_input.py:78
↓ 2 callersMethod_load_datafile
(filename)
cifar100_input.py:72
↓ 1 callersMethod_build_model
(self)
free_model.py:35
↓ 1 callersMethod_decay
L2 weight decay loss.
free_model.py:151
↓ 1 callersMethod_fully_connected
FullyConnected layer for final output.
free_model.py:173
↓ 1 callersMethod_global_avg_pool
(self, x)
free_model.py:187
↓ 1 callersFunctionget_args
()
config.py:7
↓ 1 callersMethodget_next_batch
(self, batch_size, multiple_passes=False, reshuffle_after_pass=True)
cifar100_input.py:128
↓ 1 callersFunctionget_path_dir
(data_dir, dataset, **_)
free_train.py:21
↓ 1 callersFunctionget_path_dir
(data_dir, dataset, **_)
multi_restart_pgd_attack.py:68
↓ 1 callersMethodperturb
Given a set of examples (x_nat, y), returns a set of adversarial examples within epsilon of x_nat in l_infinity norm.
multi_restart_pgd_attack.py:51
↓ 1 callersMethodrec_search
(original_path)
cifar10_input.py:68
↓ 1 callersFunctiontrain
(tf_seed, np_seed, train_steps, out_steps, summary_steps, checkpoint_steps, step_size_schedule, wei
free_train.py:28
Method__init__
ResNet constructor. Args: mode: One of 'train' and 'eval'.
free_model.py:14
Method__init__
(self, path)
cifar10_input.py:39
Method__init__
(self, raw_cifar10data, sess, model)
cifar10_input.py:101
Method__init__
(self, xs, ys)
cifar10_input.py:126
Method__init__
(self, raw_datasubset, sess, x_input_placeholder, augmented)
cifar10_input.py:158
Method__init__
Attack parameter initialization. The attack performs k steps of size a, while always staying within epsilon from the initial p
multi_restart_pgd_attack.py:25
Method__init__
(self, path)
cifar100_input.py:40
Method__init__
(self, raw_cifar100data, sess, model)
cifar100_input.py:96
Method__init__
(self, xs, ys)
cifar100_input.py:121
Method__init__
(self, raw_datasubset, sess, x_input_placeholder, augmented)
cifar100_input.py:153
Method_residual
Residual unit with 2 sub layers.
free_model.py:119
Methodadd_internal_summaries
(self)
free_model.py:28
Methodget_next_batch
(self, batch_size, multiple_passes=False, reshuffle_after_pass=True)
cifar10_input.py:165
Methodget_next_batch
(self, batch_size, multiple_passes=False, reshuffle_after_pass=True)
cifar100_input.py:160
Functionpair
(arg)
config.py:4