MCPcopy Create free account

hub / github.com/HazyResearch/butterfly / functions

Functions1,242 in github.com/HazyResearch/butterfly

↓ 1 callersMethodreset_parameters
Initialize bias the same way as torch.nn.Linear.
butterfly/butterfly.py:188
↓ 1 callersMethodreset_parameters
Initialize bias the same way as torch.nn.Linear.
learning_transforms/butterfly_old.py:426
↓ 1 callersMethodreset_parameters
(self)
cnn/models/low_rank_conv.py:27
↓ 1 callersMethodreset_parameters
Initialize bias the same way as torch.nn.Linear.
cnn/models/toeplitzlike1x1conv.py:121
↓ 1 callersFunctionresume
()
cnn/imagenet_amp.py:202
↓ 1 callersMethodround_to_perm
(self)
butterfly/butterfly.py:299
↓ 1 callersFunctionsample_gumbel
(shape, device=torch.device('cpu'))
cnn/permutation_utils.py:270
↓ 1 callersMethodsample_hard_perm
(self, sample_shape=())
cnn/models/presnet.py:547
↓ 1 callersMethodsample_perm
(self, sample_shape=())
cnn/models/presnet.py:503
↓ 1 callersMethodsample_soft_perm
Return soft permutation of shape sample_shape + (size, size)
cnn/models/presnet.py:304
↓ 1 callersMethodsample_soft_perm
(self, sample_shape=())
cnn/models/presnet.py:509
↓ 1 callersFunctionsave_checkpoint
(state, is_best, filename='checkpoint.pth.tar')
cnn/imagenet_experiment.py:392
↓ 1 callersFunctionsave_checkpoint
(state, is_best, filename='checkpoint.pth.tar')
cnn/imagenet_amp.py:411
↓ 1 callersFunctionsched
(epoch)
convolution/lr_schedulers.py:6
↓ 1 callersFunctionsparsemax_grad
(output, grad)
learning_transforms/sparsemax.py:34
↓ 1 callersMethodstart_epoch
(self)
cnn/imagenet/logger.py:136
↓ 1 callersMethodstart_iteration
(self, val=False)
cnn/imagenet/logger.py:113
↓ 1 callersFunctionstrip_prefix_if_present
(state_dict, prefix)
cnn/train_utils.py:4
↓ 1 callersFunctiontest
(net)
convolution/models/resnet_cifar.py:152
↓ 1 callersFunctiontest
(net)
cnn/models/resnet_original.py:144
↓ 1 callersFunctiontest_butterfly
()
learning_transforms/butterfly_old.py:657
↓ 1 callersFunctiontest_butterfly_product
()
learning_transforms/butterfly_old.py:680
↓ 1 callersFunctiontest_complex_mm
()
butterfly/complex_utils.py:204
↓ 1 callersFunctiontest_complex_mul
()
butterfly/complex_utils.py:134
↓ 1 callersFunctiontest_hstackdiag_product
()
learning_transforms/hstack_diag.py:71
↓ 1 callersFunctiontest_semantic_loss_exactly_one
()
learning_transforms/semantic_loss.py:59
↓ 1 callersFunctiontoeplitz_krylov_multiply
Multiply \sum_i Krylov(Z_f, v_i) @ w_i. Parameters: v: (nstack, rank, n) w: (batch_size, nstack, rank, n) f: real number
cnn/models/toeplitzlike1x1conv.py:45
↓ 1 callersFunctiontoeplitz_krylov_transpose_multiply
Multiply Krylov(Z_f, v_i)^T @ u. Parameters: v: (nstack, rank, n) u: (batch_size, n) f: real number Returns: p
cnn/models/toeplitzlike1x1conv.py:9
↓ 1 callersFunctiontoeplitz_like
(G, H)
learning_transforms/target_matrix.py:76
↓ 1 callersFunctiontrain
(train_loader, model, criterion, optimizer, epoch)
cnn/imagenet_experiment.py:269
↓ 1 callersFunctiontrain
(train_loader, model, criterion, optimizer, epoch)
cnn/imagenet_amp.py:265
↓ 1 callersFunctiontrain
(train_loader, model_and_loss, optimizer, lr_scheduler, fp16, logger, epoch, print_freq, use_amp=Fal
cnn/imagenet/training.py:241
↓ 1 callersFunctiontransform_experiment
(model, target, size, complex, param, lr_min, lr_max, ntrials, nsteps, nepochsvalid, result_dir, cuda, nthread
learning_transforms/learning_transforms.py:216
↓ 1 callersFunctiontwiddle_factor_perm
The indices in a n x n matrix that marks where the entries of a butterfly factors are.
learning_transforms/fisher.py:40
↓ 1 callersMethodupdate
(self, val, n=1)
cnn/teacher_covariance.py:178
↓ 1 callersFunctionvalidate
(val_loader, model_and_loss, fp16, logger, epoch, prof=-1, register_metrics=True)
cnn/imagenet/training.py:318
↓ 1 callersFunctionvandermonde_experiment_real
(fixed_order, softmax_fn, size, ntrials, nsteps, result_dir, nthreads, smoke_test)
learning_transforms/learning_vandermonde.py:213
↓ 1 callersFunctionwavelet_permutation
Return the bit reversal permutation used in discrete wavelet transform. Example: [0, 1, ..., 7] -> [0, 4, 2, 6, 1, 3, 5, 7] By default, the pe
torch_butterfly/permutation.py:33
FunctionDPN26
()
cnn/models/dpn.py:73
FunctionDenseNet121
()
cnn/models/densenet.py:86
FunctionDenseNet161
()
cnn/models/densenet.py:95
FunctionDenseNet169
()
cnn/models/densenet.py:89
FunctionDenseNet201
()
cnn/models/densenet.py:92
FunctionLeNetScheduler
(optimizer, nepochs, **kwargs)
convolution/lr_schedulers.py:4
FunctionPNASNetA
()
cnn/models/pnasnet.py:112
FunctionPResNet101
(pretrained=False, **kwargs)
cnn/models/presnet.py:592
FunctionPResNet152
(pretrained=False, **kwargs)
cnn/models/presnet.py:597
FunctionPResNet18
(pretrained=False, **kwargs)
cnn/models/presnet.py:577
FunctionPResNet34
(pretrained=False, **kwargs)
cnn/models/presnet.py:582
FunctionPResNet50
(pretrained=False, **kwargs)
cnn/models/presnet.py:587
FunctionPYBIND11_MODULE
butterfly/factor_multiply/factor_multiply.cpp:1739
FunctionPYBIND11_MODULE
butterfly/factor_multiply_fast/butterfly_multiply.cpp:628
FunctionPreActResNet101
()
cnn/models/preact_resnet.py:106
FunctionPreActResNet152
()
cnn/models/preact_resnet.py:109
FunctionPreActResNet34
()
cnn/models/preact_resnet.py:100
FunctionPreActResNet50
()
cnn/models/preact_resnet.py:103
FunctionPyInit__butterfly
csrc/butterfly.cpp:12
FunctionPyInit__version
csrc/version.cpp:11
FunctionResNeXt29_32x4d
()
cnn/models/resnext.py:86
FunctionResNeXt29_4x64d
()
cnn/models/resnext.py:80
FunctionResNeXt29_8x64d
()
cnn/models/resnext.py:83
FunctionResNet101
()
cnn/models/resnet.py:155
FunctionResNet152
()
cnn/models/resnet.py:158
FunctionResNet34
()
cnn/models/resnet.py:149
FunctionResNet50
()
cnn/models/resnet.py:152
FunctionShuffleNetG3
()
cnn/models/shufflenet.py:94
FunctionTORCH_LIBRARY
csrc/butterfly.cpp:127
FunctionWideResNet28
(structure_type=None, **kwargs)
cnn/models/wide_resnet.py:117
Method__del__
(self)
convolution/tee.py:81
Method__enter__
(self)
convolution/tee.py:73
Method__exit__
(self, *args)
convolution/tee.py:78
Method__imul__
In-place multiply the whole butterfly matrix by some scale factor, by multiplying the twiddle. Scale must be nonnegative
torch_butterfly/butterfly.py:171
Method__imul__
In-place multiply the whole butterfly matrix by some scale factor, by multiplying the twiddle. Scale must be nonnegative
torch_butterfly/butterfly_base4.py:62
Method__init__
Multiply by diagonal matrix Parameter: size: int diagonal_init: (n, )
torch_butterfly/diagonal.py:13
Method__init__
Fixed permutation. Parameter: permutation: (n, ) tensor of ints
torch_butterfly/permutation.py:57
Method__init__
(self, in_size, out_size, bias=True, increasing_stride=True, nblocks=1)
torch_butterfly/butterfly.py:224
Method__init__
(self, in_size, out_size, matrix_batch=1, bias=True, complex=False, increasing_stride=True, i
torch_butterfly/butterfly.py:329
Method__init__
(self, in_features: int, out_features: int, bias: bool = True)
torch_butterfly/complex_utils.py:155
Method__init__
Perform map1 on the last dimension of the input and then map2 on the next to last dimension.
torch_butterfly/combine.py:82
Method__init__
(self, *args, **kwargs)
torch_butterfly/butterfly_base4.py:32
Method__init__
Parameters: diagonal_init: (out_channels, in_channels, size)
torch_butterfly/special.py:418
Method__init__
(self, model_cfg, dataset_cfg, train_cfg)
convolution/train.py:22
Method__init__
writes both to stream and to file. file_filters is a list of callables that processes a string just before being written to t
convolution/tee.py:12
Method__init__
(self, in_size, in_ch, out_ch, kernel_size, complex=True, init='ortho', nblocks=1, base=2, ze
convolution/models/kops.py:17
Method__init__
(self, num_classes=10, padding_mode='circular', pooling_mode='avg')
convolution/models/lenet.py:32
Method__init__
(self, in_size, in_ch, out_ch, kernel_size, complex=True, init='random')
convolution/models/lops.py:20
Method__init__
(self, num_channels=32, num_classes=10)
convolution/models/cnn5.py:11
Method__init__
(self, num_channels=32, num_classes=10, **kwargs)
convolution/models/cnn5_butterfly.py:14
Method__init__
(self, num_classes=10, pooling_mode='avg', butterfly=True, **kwargs)
convolution/models/butterflenet.py:12
Method__init__
(self, lambd)
convolution/models/resnet_cifar.py:22
Method__init__
(self, in_planes, planes, stride=1, option='A')
convolution/models/resnet_cifar.py:33
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:99
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:106
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:113
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:120
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:127
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:134
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:141
Method__init__
(self, num_classes=10)
convolution/models/resnet_cifar.py:148
Method__init__
(self, in_planes, planes, stride=1)
convolution/models/resnet.py:20
← previousnext →401–500 of 1,242, ranked by callers