MCPcopy Create free account

hub / github.com/HazyResearch/butterfly / functions

Functions1,242 in github.com/HazyResearch/butterfly

Methodlog_epoch_metric
(self, name, value)
cnn/imagenet/logger.py:282
Methodlog_iteration_metric
(self, name, value)
cnn/imagenet/logger.py:255
Methodlog_iteration_metric
(self, name, value)
cnn/imagenet/logger.py:289
Methodlog_run_tag
(self, name, val)
cnn/imagenet/logger.py:183
Methodlog_run_tag
(self, name, val)
cnn/imagenet/logger.py:229
Methodlog_run_tag
(self, name, val)
cnn/imagenet/logger.py:273
Methodloss
(logits, y, len_batch=None)
convolution/tasks.py:18
Methodloss
(logits, y, len_batch=None)
convolution/tasks.py:34
Functionlr_exponential_policy
(base_lr, warmup_length, epochs, final_multiplier=0.001, logger=None)
cnn/imagenet/training.py:182
Methodmatrix
(self, temperature=1.0)
learning_transforms/butterfly_old.py:127
Methodmean_perm
(self)
cnn/models/presnet.py:302
Methodmean_perm
(self)
cnn/models/presnet.py:315
Methodmean_perm
(self)
cnn/models/presnet.py:332
Methodmetrics
(logits, y, len_batch=None)
convolution/tasks.py:23
Methodmetrics
(logits, y, len_batch=None)
convolution/tasks.py:38
Methodmetrics_epoch
(outs, y, len_batch=None)
convolution/tasks.py:12
Methodmetrics_epoch
(logits, y, len_batch=None)
convolution/tasks.py:27
Methodmetrics_epoch
(logits, y, len_batch=None)
convolution/tasks.py:42
Methodmle_perm
(self)
cnn/models/presnet.py:317
Methodmle_perm
(self)
cnn/models/presnet.py:334
Functionmse
perm is matrix, true is list
cnn/permutation_utils.py:47
Functionmult2x2
butterfly/factor_multiply/factor_multiply.cpp:70
Functionmy_gumbel_sinkhorn
Random doubly-stochastic matrices via gumbel noise. In the zero-temperature limit sinkhorn(log_alpha/temp) approaches a permutation matrix. T
gumbel-sinkhorn/my_sinkhorn_ops.py:77
Functionmy_invert_listperm
Inverts a batch of permutations. Args: listperm: a 2D integer tensor of permutations listperm of shape = [batch_size, n_objects] so tha
gumbel-sinkhorn/my_sinkhorn_ops.py:290
Functionmy_kendall_tau
Wraps scipy.stats kendalltau function. Args: batch_perm1: A 2D tensor (a batch of matrices) with shape = [batch_size, N] batch_perm2:
gumbel-sinkhorn/my_sinkhorn_ops.py:335
Functionmy_matching
Solves a matching problem for a batch of matrices. This is a wrapper for the scipy.optimize.linear_sum_assignment function. It solves the optimiz
gumbel-sinkhorn/my_sinkhorn_ops.py:303
Functionmy_permute_batch_split
Scrambles a batch of objects according to permutations. It takes a 3D tensor [batch_size, n_objects, object_size] and permutes items in axis=
gumbel-sinkhorn/my_sinkhorn_ops.py:221
Functionmy_sample_permutations
Samples a batch permutations from the uniform distribution. Returns a sample of n_permutations permutations of n_objects indices. Permutation
gumbel-sinkhorn/my_sinkhorn_ops.py:197
Functionmy_sample_uniform_and_order
Samples uniform random numbers, return sorted lists and the indices of their original values Returns a 2-D tensor of n_lists lists of n_numbers s
gumbel-sinkhorn/my_sinkhorn_ops.py:148
Functionnll
perm: (n, n) or (s, n, n) true: (n)
cnn/permutation_utils.py:51
Methodnum_classes
(self)
convolution/datamodules/cifar.py:34
Methodon_epoch_end
(self, trainer, pl_module)
convolution/ray_runner.py:82
Methodon_test_epoch_end
(self, trainer, pl_module)
convolution/ray_runner.py:95
Functionperm2butterfly_slow
Convert a permutation to a Butterfly that performs the same permutation. This implementation is slower but follows the proofs in Appendix G m
torch_butterfly/permutation.py:304
Functionpermutation_mult_factors
Multiply by permutation factors, parameterized by the probabilities. Parameters: prob: (nsteps, 3), where prob[:, 0] is the probability of
butterfly/permutation_multiply.py:129
Functionpermutation_mult_single_factor
Multiply by a single permutation factor, parameterized by the probabilities. Parameters: prob: (3, ), where prob[0] is the probability of
butterfly/permutation_multiply.py:202
Functionpl_train_with_tune
(cfg, pl_module_cls, checkpoint_dir=None)
convolution/ray_runner.py:101
Functionpolish
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_transforms.py:163
Functionpolish
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_fft.py:551
Functionpolish_dct_complex
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_legendre.py:152
Functionpolish_dct_complex
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_vandermonde.py:150
Functionpolish_dct_complex
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_circulant.py:151
Functionpolish_dct_real
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_legendre.py:123
Functionpolish_dct_real
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_vandermonde.py:121
Functionpolish_dct_real
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_circulant.py:122
Functionpolish_fft
(trial)
learning_transforms/polish.py:55
Functionpolish_fft
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_fft.py:563
Functionpolish_fft
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/old/learning_fft_old.py:581
Functionpolish_fft_block2x2
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/old/learning_fft_old.py:666
Functionpolish_fft_blockperm
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/old/learning_fft_old.py:690
Functionpolish_fft_blockperm_transpose
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/old/learning_fft_old.py:715
Functionpolish_fft_learn_perm
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_fft.py:592
Functionpolish_fft_learn_perm
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/old/learning_fft_old.py:610
Functionpolish_hadamard
Load model from checkpoint, then fix the order of the factor matrices (using the largest logits), and re-optimize using L-BFGS to find the nea
learning_transforms/learning_hadamard.py:80
Functionpolish_hadamard
(trial)
learning_transforms/polish.py:26
Functionpolish_ops
Load model from checkpoint, and re-optimize using L-BFGS to find the nearest local optimum.
learning_transforms/learning_ops.py:58
Methodpost_process
(self, input, output, out_size=None)
torch_butterfly/butterfly.py:381
Methodpost_process
(self, input, output)
butterfly/butterfly.py:371
Methodpre_process
(self, input)
torch_butterfly/butterfly.py:371
Methodpre_process
(self, input)
butterfly/butterfly.py:361
Functionprint_m256
butterfly/factor_multiply/factor_multiply.cpp:82
Functionprofile_butterfly_mult
()
learning_transforms/profile.py:10
Functionproj
(m)
learning_transforms/learning_transforms.py:178
Functionrandn_factorization_softmax_no_perm
(argv)
learning_transforms/learning_fft.py:309
Functionrandn_factorization_softmax_no_perm
(argv)
learning_transforms/old/learning_fft_old.py:333
Methodrecord
(self, val, n = 1)
cnn/imagenet/logger.py:13
Methodrecord
(self, val, n = 1)
cnn/imagenet/logger.py:79
Functionreduce_tensor
(tensor)
cnn/imagenet/utils.py:58
Methodreset
(self)
cnn/imagenet/logger.py:75
Functionresnet110
()
cnn/models/resnet_original.py:136
Functionresnet1202
()
cnn/models/resnet_original.py:140
Functionresnet18
(num_structured_layers=0, structure_type='B', nblocks=1, param='regular')
cnn/models/resnet_imagenet.py:265
Functionresnet20original
()
cnn/models/resnet_original.py:120
Functionresnet32
()
cnn/models/resnet_original.py:124
Functionresnet44
()
cnn/models/resnet_original.py:128
Functionresnet56
()
cnn/models/resnet_original.py:132
Functionrun
(result_dir, nmaxepochs, nthreads)
learning_transforms/learning_hadamard.py:171
Functionrun
(result_dir, nmaxepochs, nthreads)
learning_transforms/learning_legendre.py:274
Functionrun
(result_dir, nmaxepochs, nthreads)
learning_transforms/learning_vandermonde.py:272
Functionrun
(result_dir, nmaxepochs, nthreads)
learning_transforms/learning_ops.py:131
Functionrun
(model, target, size, result_dir, nmaxepochs, nthreads, cuda, b)
learning_transforms/learning_transforms.py:254
Functionrun
(result_dir, nmaxepochs, nthreads)
learning_transforms/learning_fft.py:796
Functionrun
(result_dir, nmaxepochs, nthreads)
learning_transforms/learning_circulant.py:273
Functionrun
(result_dir, nmaxepochs, nthreads)
learning_transforms/old/learning_fft_old.py:932
Functionrun
(model, result_dir, nmaxepochs, grace_period)
cnn/distill_experiment.py:219
Functionrun
(model_args, objective, teacher_model, result_dir, nmaxepochs, grace_period)
cnn/distill_cov_experiment.py:250
Functionrun
(model, args, result_dir, nmaxepochs, use_hyperband, grace_period)
cnn/cifar_experiment.py:254
Functionrun
(model, result_dir, nmaxepochs, unsupervised)
cnn/permuted_experiment.py:400
Functionrun
(model, encoder, decoder, result_dir)
transformer/dynamic_conv_experiment.py:216
Methodsample_perm
(self)
cnn/models/presnet.py:319
Methodsample_perm
(self)
cnn/models/presnet.py:336
Functionsave_checkpoint
(state, is_best, filename='checkpoint.pth.tar', checkpoint_dir='./', backup_filename=None)
cnn/imagenet/utils.py:14
MethodsetUp
(self)
convolution/models/test_kops.py:11
MethodsetUp
(self)
learning_transforms/test_factor_multiply.py:22
MethodsetUp
(self)
tests/test_combine.py:12
MethodsetUp
(self)
tests/test_butterfly_base4.py:15
MethodsetUp
(self)
tests/test_permutation.py:16
MethodsetUp
(self)
tests/test_special.py:20
MethodsetUp
(self)
tests/test_complex_utils.py:13
MethodsetUp
(self)
tests/test_multiply_base4.py:17
← previousnext →1,001–1,100 of 1,242, ranked by callers