MCPcopy Create free account

hub / github.com/ajbrock/SMASH / functions

Functions68 in github.com/ajbrock/SMASH

↓ 9 callersMethod__init__
(self, module)
layers.py:58
↓ 5 callersMethodsample_weights
(self, incoming, outgoing, G, ops, gate, dilation, activation, b
SMASH.py:704
↓ 4 callersMethodsample_architecture
(self, budgets=None, bank_sizes=None)
SMASH.py:449
↓ 3 callersFunctionfactors
(n)
utils.py:567
↓ 2 callersFunctioncount_flops
(arch, which_dataset='cifar')
utils.py:637
↓ 2 callersFunctionget_data_loader
(which_dataset,augment=True,validate=True,batch_size=50,fold='all',num_workers=3)
utils.py:363
↓ 2 callersMethodlog
Assumption: no newlines in the input.
utils.py:506
↓ 2 callersFunctionwn2d
(w)
layers.py:66
↓ 1 callersMethod__init__
(self, depth=12, width=4, N=8, N_max=64, nClasses=100, bottleneck=4, max_bottleneck=4, depth_c
SMASH.py:48
↓ 1 callersMethod__init__
(self, root, train=True, transform=None, target_transform=None, download=Fal
utils.py:244
↓ 1 callersFunctioncount_params
(arch)
utils.py:584
↓ 1 callersFunctioneval_parser
()
utils.py:158
↓ 1 callersFunctionevaluate
(SMASH, which_dataset, batch_size, seed, validate, num_random, num_perturb, num_markov,
evaluate.py:18
↓ 1 callersMethodinit_from_SMASH
(self, w1x1, W, conv1, trans1, trans2, bn1, fc)
SMASH.py:1110
↓ 1 callersFunctionmain
()
train.py:354
↓ 1 callersFunctionmain
()
evaluate.py:139
↓ 1 callersFunctionprogress
Returns a generator over `items`, printing the number and percentage of items processed and the estimated remaining processing time before yi
utils.py:535
↓ 1 callersMethodsample_budgets
(self)
SMASH.py:434
↓ 1 callersFunctiontest_fn
(x, y)
train.py:239
↓ 1 callersFunctiontrain_fn
(x, y)
train.py:209
↓ 1 callersFunctiontrain_parser
()
utils.py:30
↓ 1 callersFunctiontrain_test
(depth, width, N, N_max, which_dataset, bottleneck, max_bottleneck, depth_compression,
train.py:31
↓ 1 callersMethodupdate_lr
(self,max_j)
SMASH.py:1100
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
utils.py:263
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
utils.py:332
Method__init__
(self, module)
layers.py:40
Method__init__
(self, module)
layers.py:49
Method__init__
(self, n_in, n_out, dilation=1, batchnorm=False, preactivation=True, kernel_size=7)
layers.py:129
Method__init__
(self, n_in, n_out, batchnorm=False, preactivation=True, gate_style='add_split', kernel_size=7)
layers.py:178
Method__init__
(self, n_in, n_out, kernel_size=(3,3), dilation=(1,1), preactivation=True, batchnorm=False, groups=1, activati
layers.py:311
Method__init__
(self, n_in, n_bottle, n_out, ops, gate, dilation=[(1,1)]*4, activation=[F.relu]*4, kernel_size=[(3,3)]*4, gro
layers.py:365
Method__init__
(self, nChannels, nOutChannels)
layers.py:495
Method__init__
(self, nChannels, nOutChannels)
layers.py:513
Method__init__
(self, n_in,n_out, dilation)
layers.py:529
Method__init__
(self, arch, nClasses=100, var_ks=True, var_op=False, big_op=False, op_bn=Fa
SMASH.py:1005
Method__init__
(self, root, train=True, transform=None, target_transform=None, download=Fal
utils.py:295
Method__init__
(self, root, train=True, transform=None, target_transform=None, download=Fal
utils.py:315
Method__init__
(self, root, train=True, transform=None, target_transform=None, download=Fal
utils.py:381
Method__init__
(self, fname, reinitialize=False)
utils.py:498
Method__len__
(self)
utils.py:288
Method__len__
(self)
utils.py:356
Method__len__
(self)
utils.py:365
Method__len__
(self)
utils.py:373
Functionarch_grads
(net, arch, arch_g=None, c=None)
perturb_arch.py:246
Functionconstruct_arch_grads
(net,arch)
perturb_arch.py:200
Methodforward
(self, x)
layers.py:44
Methodforward
(self, x)
layers.py:53
Methodforward
(self, x)
layers.py:62
Methodforward
(self, input)
layers.py:77
Methodforward
(self, input, n_out, dilation, ks = (3,3), groups=1)
layers.py:92
Methodforward
(self, input)
layers.py:109
Methodforward
(self, input)
layers.py:122
Methodforward
(self, x, n_out, f=F.relu, dilation=(1,1), ks=[3,3], groups=1)
layers.py:148
Methodforward
(self, x, n_out, op, gate, dilation, nl, ks=[[3,3]]*4, groups=[1]*4)
layers.py:200
Methodforward
(self, x, f=F.relu)
layers.py:336
Methodforward
(self, x)
layers.py:435
Methodforward
(self, x, n_out)
layers.py:501
Methodforward
(self, x)
layers.py:519
Methodforward
(self,x)
layers.py:549
Methodforward
(self, x, w1x1=None, incoming=None, outgoing=None, G=None, ops=None, gate=None, dilation=None,
SMASH.py:887
Methodforward
(self,x)
SMASH.py:1155
Functionjitter_chunk
(src)
utils.py:211
Functionperturb_SGD
(net, arch, arch_g, perturb_probability=0)
perturb_arch.py:408
Functionperturb_architecture
(net, arch, perturb_probability=0.05)
perturb_arch.py:5
Functionread_records
convenience for reading back.
utils.py:518
Functionsoftmax
(x)
layers.py:31
Functionsoftmax
(x)
utils.py:573
Methodupdate_lr
(self,max_j)
SMASH.py:414