MCPcopy Create free account

hub / github.com/Intelligent-Computing-Lab-Panda/NDA_SNN / functions

Functions35 in github.com/Intelligent-Computing-Lab-Panda/NDA_SNN

↓ 3 callersMethod__init__
(self, thresh=0.5, tau=0.25, gamma=1.0)
models/layers.py:54
↓ 3 callersMethodbackward
(ctx, grad_output)
models/layers.py:43
↓ 1 callersFunctionadd_dimention
(x, T)
models/layers.py:72
↓ 1 callersFunctionbuild_dvscifar
(path='data/cifar-dvs', transform=False)
functions/data_loaders.py:153
↓ 1 callersFunctionbuild_ncaltech
(transform=False)
functions/data_loaders.py:107
↓ 1 callersFunctionfire_function
(gamma)
models/layers.py:34
↓ 1 callersMethodforward
(ctx, input)
models/layers.py:37
↓ 1 callersFunctionmake_layers
(cfg, batch_norm=False, in_c=3, **lif_parameters)
models/VGG_models.py:46
↓ 1 callersFunctionrand_bbox
(size, lam)
functions/data_loaders.py:166
↓ 1 callersFunctionseed_all
(seed=1029)
functions/functions.py:9
↓ 1 callersFunctiontest
(model, test_loader, device)
main.py:77
↓ 1 callersFunctiontrain
(model, device, train_loader, criterion, optimizer, epoch, scaler, args)
main.py:41
↓ 1 callersFunctionvgg11
VGG 11-layer model (configuration "A") with batch normalization
models/VGG_models.py:74
↓ 1 callersFunctionvgg16
VGG 16-layer model (configuration "D") with batch normalization
models/VGG_models.py:84
Method__call__
(self, img)
functions/data_loaders.py:24
Method__getitem__
(self, index)
functions/data_loaders.py:82
Method__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is index of the target class.
functions/data_loaders.py:124
Method__init__
(self, length)
functions/data_loaders.py:21
Method__init__
(self, data_path='data/n-caltech/frames_number_10_split_by_number', data_type='train', trans
functions/data_loaders.py:42
Method__init__
(self, root, train=True, transform=None, target_transform=None)
functions/data_loaders.py:115
Method__init__
(self, *args)
models/layers.py:6
Method__init__
(self, module)
models/layers.py:22
Method__init__
(self, channel)
models/layers.py:79
Method__init__
(self, cfg, num_classes=10, batch_norm=True, in_c=3, **lif_parameters)
models/VGG_models.py:21
Method__len__
(self)
functions/data_loaders.py:103
Method__len__
(self)
functions/data_loaders.py:149
Functioncutmix_data
(input, target, alpha=1.0)
functions/data_loaders.py:185
Methodforward
(self, x_seq: torch.Tensor)
models/layers.py:13
Methodforward
(self, x)
models/layers.py:26
Methodforward
(self, x)
models/layers.py:60
Methodforward
(self, x)
models/layers.py:84
Methodforward
(self, x)
models/VGG_models.py:37
Functionget_logger
(filename, verbosity=1, name=None)
functions/functions.py:20
Functionmixup_criterion
(criterion, pred, y_a, y_b, lam)
functions/data_loaders.py:162
Functionvgg13
VGG 13-layer model (configuration "B") with batch normalization
models/VGG_models.py:79