MCPcopy Create free account

hub / github.com/LaRiffle/ariann / functions

Functions29 in github.com/LaRiffle/ariann

↓ 6 callersMethod__init__
(self, dataset, out_features=10)
models.py:52
↓ 4 callersFunctionencode
Depending on the setting, acts on a tensor - Do nothing OR - Transform to fixed precision OR - Secret
data.py:37
↓ 3 callersFunctiontest
(args, model, private_test_loader)
procedure.py:98
↓ 2 callersFunctionget_data_loaders
(args, kwargs, private=True)
data.py:36
↓ 2 callersFunctionget_model
(model_name, dataset, out_features)
models.py:242
↓ 2 callersFunctionget_number_classes
(dataset)
data.py:9
↓ 2 callersFunctionkill_processes
(worker_processes)
main.py:285
↓ 2 callersFunctionload_state_dict
(model, model_name, dataset)
models.py:271
↓ 2 callersFunctionone_hot_of
Transform to one hot tensor Example: [0, 3, 9] => [[1., 0., 0., 0., 0., 0., 0., 0., 0., 0.], [0., 0., 0., 1
data.py:19
↓ 2 callersFunctionrun
(args)
main.py:24
↓ 1 callersFunctionbuild_prepocessing
(model, dataset, batch_size, workers, args)
preprocess.py:164
↓ 1 callersFunctionforward
(optimizer, model, data, target)
procedure.py:44
↓ 1 callersFunctiontrain
(args, model, private_train_loader, optimizer, epoch)
procedure.py:30
Method__init__
(self, dataset, out_features)
models.py:11
Method__init__
(self, dataset, out_features)
models.py:29
Method__init__
(self, out_features=10)
models.py:75
Method__init__
(self, out_features=10)
models.py:115
Method__init__
(self)
models.py:156
Functionalexnet
(dataset, out_features)
models.py:148
Methodforward
(self, x)
models.py:17
Methodforward
(self, x)
models.py:36
Methodforward
(self, x)
models.py:59
Methodforward
(self, x)
models.py:102
Methodforward
(self, x)
models.py:141
Methodforward
(self, x)
models.py:159
Functionprofile
A gentle profiler
procedure.py:10
Functionresnet18
(dataset, out_features)
models.py:225
Functionvgg16
(dataset, out_features)
models.py:186
Functionwrapper
(args_, *args, **kwargs)
procedure.py:13