MCPcopy Create free account

hub / github.com/HazyResearch/butterfly / functions

Functions1,242 in github.com/HazyResearch/butterfly

Methodforward
(self, x)
cnn/models/wide_resnet.py:63
Methodforward
(self, x)
cnn/models/wide_resnet.py:99
Methodforward
(self, x)
cnn/models/lenet.py:40
Methodforward
(self, x)
cnn/models/lenet.py:78
Methodforward
(self, x)
cnn/models/lenet.py:139
Methodforward
(self, x)
cnn/models/resnext.py:31
Methodforward
(self, x)
cnn/models/resnext.py:65
Methodforward
(self, x)
cnn/models/pnasnet.py:20
Methodforward
(self, x)
cnn/models/pnasnet.py:33
Methodforward
(self, x)
cnn/models/pnasnet.py:56
Methodforward
(self, x)
cnn/models/pnasnet.py:100
Methodforward
(self, x)
cnn/models/layers.py:12
Methodforward
(self, x)
cnn/models/layers.py:16
Methodforward
(self, x)
cnn/models/layers.py:20
Methodforward
(self, x)
cnn/models/senet.py:29
Methodforward
(self, x)
cnn/models/senet.py:62
Methodforward
(self, x)
cnn/models/senet.py:100
Methodforward
(self, x)
cnn/models/dpn.py:27
Methodforward
(self, x)
cnn/models/densenet.py:17
Methodforward
(self, x)
cnn/models/densenet.py:30
Methodforward
(self, x)
cnn/models/densenet.py:75
Methodforward
(self, x)
cnn/models/presnet.py:55
Methodforward
(self, x)
cnn/models/presnet.py:89
Methodforward
(self, x)
cnn/models/presnet.py:171
Methodforward
(self, x, perm=None)
cnn/models/presnet.py:248
Methodforward
(self, x, samples=1)
cnn/models/presnet.py:298
Methodforward
(self, x)
cnn/models/squeezenet.py:31
Methodforward
(self, x)
cnn/models/squeezenet.py:97
Methodforward
(self, x)
cnn/models/resnet_original.py:50
Methodforward
(self, x)
cnn/models/resnet_original.py:78
Methodforward
(self, x)
cnn/models/resnet_original.py:109
Methodforward
Parameters: input: (batch, c, h, w) if real or (batch, c, h, w, 2) if complex Return: output: (batch, nstack
cnn/models/butterfly_conv.py:15
Methodforward
Parameters: input: (batch, c, h, w) if real or (batch, c, h, w, 2) if complex Return: output: (batch, nstack
cnn/models/butterfly_conv.py:170
Methodforward
Parameters: input: (batch, c, h, w) if real or (batch, c, h, w, 2) if complex Return: output: (batch, nstack
cnn/models/butterfly_conv.py:230
Methodforward
(self, x)
cnn/models/mobilenet.py:44
Methodforward
(self, x)
cnn/models/mobilenet.py:77
Methodforward
Channel shuffle: [N,C,H,W] -> [N,g,C/g,H,W] -> [N,C/g,g,H,w] -> [N,C,H,W]
cnn/models/shufflenetv2.py:15
Methodforward
(self, x)
cnn/models/shufflenetv2.py:27
Methodforward
(self, x)
cnn/models/shufflenetv2.py:48
Methodforward
(self, x)
cnn/models/shufflenetv2.py:82
Methodforward
(self, x)
cnn/models/shufflenetv2.py:121
Methodforward
(self, x)
cnn/models/low_rank_conv.py:36
Methodforward
(self, x)
cnn/models/vgg.py:20
Methodforward
Channel shuffle: [N,C,H,W] -> [N,g,C/g,H,W] -> [N,C/g,g,H,w] -> [N,C,H,W]
cnn/models/shufflenet.py:15
Methodforward
(self, x)
cnn/models/shufflenet.py:41
Methodforward
(self, x)
cnn/models/shufflenet.py:75
Methodforward
Parameters: input: (batch, c, h, w) Return: output: (batch, nstack * c, h, w)
cnn/models/toeplitzlike1x1conv.py:165
Methodforward
(self, x)
cnn/models/resnet_imagenet.py:71
Methodforward
(self, x)
cnn/models/resnet_imagenet.py:103
Methodforward
(self, x)
cnn/models/resnet_imagenet.py:137
Methodforward
(self, x)
cnn/models/resnet_imagenet.py:173
Methodforward
(self, x)
cnn/models/resnet_imagenet.py:257
Methodforward
(self, x)
cnn/models/mobilenetv2.py:32
Methodforward
(self, x)
cnn/models/mobilenetv2.py:69
Methodforward
(self, x)
cnn/models/preact_resnet.py:28
Methodforward
(self, x)
cnn/models/preact_resnet.py:55
Methodforward
(self, x)
cnn/models/preact_resnet.py:85
Methodforward
(self, x)
cnn/models/resnet.py:63
Methodforward
(self, x)
cnn/models/resnet.py:90
Methodforward
(self, x)
cnn/models/resnet.py:133
Methodforward
(self, x)
cnn/models/googlenet.py:48
Methodforward
(self, x)
cnn/models/googlenet.py:82
Methodforward
csrc/butterfly.cpp:101
Methodfreeze
(self)
learning_transforms/learning_transforms.py:154
Methodfreeze
(self)
learning_transforms/learning_fft.py:473
Methodfreeze
(self)
learning_transforms/learning_fft.py:500
Functiongdtl
(data_path, batch_size, num_classes, one_hot, workers=5, _worker_init_fn=None, fp16=False)
cnn/imagenet/dataloaders.py:122
Functiongdvl
(data_path, batch_size, num_classes, one_hot, workers=5, _worker_init_fn=None, fp16=False)
cnn/imagenet/dataloaders.py:145
Methodgenerate_perm
(self)
cnn/models/presnet.py:313
Methodgenerate_perm
(self)
cnn/models/presnet.py:330
Functionget_dataset
(config_dataset)
cnn/pdataset_utils.py:29
Functionget_dataset
(config_dataset)
cnn/dataset_utils.py:10
Methodget_last
(self)
cnn/imagenet/logger.py:19
Methodget_last
(self)
cnn/imagenet/logger.py:64
Methodget_last
(self)
cnn/imagenet/logger.py:87
Functionget_mmap_files
(traindir, layer)
cnn/dataset_utils.py:71
Functionget_model
(model_config)
cnn/model_utils.py:18
Functionget_pytorch_train_loader
(data_path, batch_size, num_classes, one_hot, workers=5, _worker_init_fn=None, fp16=False)
cnn/imagenet/dataloaders.py:243
Functionget_pytorch_val_loader
(data_path, batch_size, num_classes, one_hot, workers=5, _worker_init_fn=None, fp16=False)
cnn/imagenet/dataloaders.py:263
Methodget_stream
(self)
convolution/tee.py:110
Methodget_stream
(self)
convolution/tee.py:117
Methodget_val
(self)
cnn/imagenet/logger.py:16
Methodget_val
(self)
cnn/imagenet/logger.py:84
Functionhadamard_diagonal
Construct an nn.Module based on Butterfly that performs multiplication by H D H D ... H D, where H is the Hadamard matrix and D is a diagonal mat
torch_butterfly/special.py:364
Functionhadamard_test
()
learning_transforms/learning_hadamard.py:33
Functionhook
(module, input, output)
cnn/teacher.py:102
Functionhook
(module, input)
cnn/teacher_covariance.py:78
Functionhook
(module, input)
cnn/imagenet/training.py:409
Functionifft2d_unitary
Construct an nn.Module based on ButterflyUnitary that exactly performs the 2D iFFT. Corresponds to normalized=True. Does not support flatten
torch_butterfly/special.py:573
Functionimshow
(img, name)
cnn/profile_perm.py:49
Functioninvert_listperm
(listperm)
cnn/permutation_utils.py:42
Functionis_modular_balanced
Corresponds to Definition G.1 in the paper. perm is stored in right-multiplication format, either as a vector or a matrix.
torch_butterfly/permutation.py:255
Methodisatty
(self)
convolution/tee.py:93
Functionlegendreeval_experiment_real
(fixed_order, softmax_fn, size, ntrials, nsteps, result_dir, nthreads, smoke_test)
learning_transforms/learning_legendre.py:215
Methodload_teacher
(traindir)
cnn/distill_experiment.py:94
Methodlog_end_epoch
(self)
cnn/imagenet/logger.py:232
Methodlog_end_epoch
(self)
cnn/imagenet/logger.py:276
Methodlog_end_iteration
(self)
cnn/imagenet/logger.py:239
Methodlog_end_iteration
(self)
cnn/imagenet/logger.py:279
Methodlog_epoch_metric
(self, name, value)
cnn/imagenet/logger.py:248
← previousnext →901–1,000 of 1,242, ranked by callers