MCPcopy Create free account

hub / github.com/HazyResearch/butterfly / functions

Functions1,242 in github.com/HazyResearch/butterfly

Functionfft_factorization_softmax
(argv)
learning_transforms/old/learning_fft_old.py:207
Functionfft_factorization_softmax_no_perm
(argv)
learning_transforms/learning_fft.py:278
Functionfft_factorization_softmax_no_perm
(argv)
learning_transforms/old/learning_fft_old.py:302
Functionfft_factorization_sparsemax
(argv)
learning_transforms/learning_fft.py:216
Functionfft_factorization_sparsemax
(argv)
learning_transforms/old/learning_fft_old.py:240
Functionfft_factorization_sparsemax_no_perm
(argv)
learning_transforms/learning_fft.py:247
Functionfft_factorization_sparsemax_no_perm
(argv)
learning_transforms/old/learning_fft_old.py:271
Functionfft_factorization_sparsemax_perm_front
(argv)
learning_transforms/learning_fft.py:340
Functionfft_factorization_sparsemax_perm_front
(argv)
learning_transforms/old/learning_fft_old.py:364
Functionfft_test
()
learning_transforms/old/learning_fft_old.py:34
Functionfixed_order_config
()
learning_transforms/learning_hadamard.py:129
Functionfixed_order_config
()
learning_transforms/learning_legendre.py:202
Functionfixed_order_config
()
learning_transforms/learning_vandermonde.py:200
Functionfixed_order_config
()
learning_transforms/learning_ops.py:96
Functionfixed_order_config
()
learning_transforms/learning_fft.py:668
Functionfixed_order_config
()
learning_transforms/learning_circulant.py:201
Functionfixed_order_config
()
learning_transforms/old/learning_fft_old.py:760
Functionflip_increasing_stride
Convert a Butterfly with increasing_stride=True/False to a Butterfly with increasing_stride=False/True, along with 2 bit-reversal permutations.
torch_butterfly/combine.py:142
Functionfn
(x)
cnn/pdataset_utils.py:46
Functionfn_padded
(twiddle, input)
torch_butterfly/input_padding_benchmark.py:25
Methodforward
Parameters: input: (batch, *, size) Return: output: (batch, *, size)
torch_butterfly/diagonal.py:31
Methodforward
Parameters: input: (batch, *, size) Return: output: (batch, *, size)
torch_butterfly/permutation.py:65
Methodforward
Parameters: input: (batch, *, in_size) transpose: whether the butterfly matrix should be transposed. conj
torch_butterfly/butterfly.py:259
Methodforward
Parameters: input: (batch, *, matrix_batch, in_size) transpose: whether the butterfly matrix should be transposed.
torch_butterfly/butterfly.py:360
Methodforward
(ctx, X, Y)
torch_butterfly/complex_utils.py:50
Methodforward
(ctx, X)
torch_butterfly/complex_utils.py:103
Methodforward
(self, input)
torch_butterfly/complex_utils.py:116
Methodforward
(self, input)
torch_butterfly/complex_utils.py:121
Methodforward
(ctx, X, permutation)
torch_butterfly/complex_utils.py:130
Methodforward
(self, input: torch.Tensor)
torch_butterfly/complex_utils.py:176
Methodforward
Parameter: input: (*, n2, n1) Return: output: (*, n2, n1)
torch_butterfly/combine.py:90
Methodforward
Parameters: input: (batch, *, in_size) Return: output: (batch, *, out_size)
torch_butterfly/butterfly_base4.py:49
Methodforward
Parameters: input: (batch, in_channels, size) Return: output: (batch, out_channels, size)
torch_butterfly/special.py:427
Methodforward
(self, x)
convolution/models/kops.py:90
Methodforward
(self, x)
convolution/models/lenet.py:17
Methodforward
(self, x)
convolution/models/lenet.py:42
Methodforward
(self, x)
convolution/models/lops.py:80
Methodforward
(self, x)
convolution/models/cnn5.py:26
Methodforward
(self, x)
convolution/models/resnet_cifar.py:26
Methodforward
(self, x)
convolution/models/resnet_cifar.py:54
Methodforward
(self, x)
convolution/models/resnet_cifar.py:85
Methodforward
(self, x)
convolution/models/resnet.py:37
Methodforward
(self, x)
convolution/models/resnet.py:67
Methodforward
(self, x)
convolution/models/resnet.py:98
Methodforward
In the forward function we accept a Variable of input data and we must return a Variable of output data. We can use Modules defined i
gumbel-sinkhorn/my_sorting_model.py:33
Methodforward
x: Tensor of length (batch, sequence_length) Note that output_dim should correspond to the intended sequence length
gumbel-sinkhorn/my_sorting_model.py:53
Methodforward
Parameters: input: (batch, size) if real or (batch, size, 2) if complex Return: output: (batch, size) if real
butterfly/permutation.py:28
Methodforward
Parameters: input: (batch, size) if real or (batch, size, 2) if complex Return: output: (batch, size) if real
butterfly/permutation.py:69
Methodforward
Parameters: input: (batch, size) if real or (batch, size, 2) if complex Return: output: (batch, size) if real
butterfly/permutation.py:93
Methodforward
Parameters: input: (batch, *, in_size) if real or (batch, *, in_size, 2) if complex Return: output: (batch, *
butterfly/butterfly.py:194
Methodforward
Parameters: twiddle: (nstack, n - 1, 2, 2) if real or (nstack, n - 1, 2, 2, 2) if complex input: (batch_size, nstack,
butterfly/butterfly_multiply.py:85
Methodforward
Parameters: twiddle: (nstack, log n, n / 2, 2, 2) if real or (nstack, log n, n / 2, 2, 2, 2) if complex input: (batch
butterfly/butterfly_multiply.py:168
Methodforward
Parameters: twiddle: (nstack, n - 1) input: (batch_size, nstack, n) Returns: output: (batch_size,
butterfly/butterfly_multiply.py:225
Methodforward
Parameters: twiddle: (nstack, log n, n / 2) input: (batch_size, nstack, n) Returns: output: (batc
butterfly/butterfly_multiply.py:275
Methodforward
Parameters: twiddle: (nstack, nblocks * 2 * log n, n / 2, 2, 2) input: (batch_size, nstack, n) Returns:
butterfly/butterfly_multiply.py:325
Methodforward
Parameters: twiddle: (nstack, nblocks * 2 * log n, n / 2) input: (batch_size, nstack, n) Returns:
butterfly/butterfly_multiply.py:404
Methodforward
Parameters: twiddle: (nstack, nblocks * 2 * log n, n / 2) diag: (nstack, nblocks, n) input: (batch_size,
butterfly/butterfly_multiply.py:455
Methodforward
Parameters: twiddle: (nstack, log n, n/2, 2, 2) where n = c_in input: (b_in, c_in, h_in, w_in) kernel_siz
butterfly/butterfly_multiply.py:530
Methodforward
Parameters: twiddle: (nstack, nblocks * 2 * log n, n/2, 2, 2) where n = c_in input: (b_in, c_in, h_in, w_in)
butterfly/butterfly_multiply.py:590
Methodforward
Multiply by a single factor. Parameters: twiddle: (2, 2, n) if real or (2, 2, n, 2) if complex input: (batch_size, 2,
butterfly/butterfly_multiply.py:669
Methodforward
(ctx, X)
butterfly/complex_utils.py:59
Methodforward
(ctx, X, Y)
butterfly/complex_utils.py:97
Methodforward
(ctx, X, Y)
butterfly/complex_utils.py:183
Methodforward
Multiply by a single permutation factor that separates the even and the odd (with weight). Parameters: p: real number between 0.0
butterfly/permutation_multiply.py:70
Methodforward
Multiply by a single permutation factor that reverses the first and second halves (with weights). Parameters: p: (2, ), must be be
butterfly/permutation_multiply.py:101
Methodforward
(ctx, v)
learning_transforms/sparsemax.py:47
Methodforward
(ctx, p, input)
learning_transforms/permutation_factor.py:17
Methodforward
(ctx, p, input)
learning_transforms/permutation_factor.py:34
Methodforward
Parameters: input_: (b, 2 * size, 2, 2, d1) Return: output: (b, size, 2, 2, d1 + self.deg - 1)
learning_transforms/hstack_diag.py:34
Methodforward
Parameters: input_: (..., size) if real or (..., size, 2) if complex Return: output: (..., size) if real or (
learning_transforms/hstack_diag.py:57
Methodforward
(ctx, coefficients, input)
learning_transforms/butterfly_factor.py:16
Methodforward
(ctx, twiddle, input)
learning_transforms/butterfly_factor.py:43
Methodforward
Parameters: input: (..., size) if real or (..., size, 2) if complex Return: output: (..., size) if real or (.
learning_transforms/butterfly_old.py:140
Methodforward
Parameters: input: (..., size) if real or (..., size, 2) if complex Return: output: (..., size) if real or (.
learning_transforms/butterfly_old.py:250
Methodforward
Parameters: input: (..., size) if real or (..., size, 2) if complex Return: output: (..., size) if real or (.
learning_transforms/butterfly_old.py:278
Methodforward
Parameters: input: (batch, size) if real or (batch, size, 2) if complex Return: output: (batch, rank * size)
learning_transforms/butterfly_old.py:333
Methodforward
Parameters: input: (stack, ..., size) if real or (stack, ..., size, 2) if complex if not tied_weight: (stack, n_block
learning_transforms/butterfly_old.py:378
Methodforward
Parameters: input: (..., in_size) if real or (..., in_size, 2) if complex Return: output: (..., out_size) if
learning_transforms/butterfly_old.py:432
Methodforward
Parameters: input: (size, batch_size) if real or (size, batch_size, 2) if complex Return: output: (size, batc
learning_transforms/butterfly_old.py:486
Methodforward
Parameters: input: (..., size) if real or (..., size, 2) if complex Return: output: (..., size) if real or (.
learning_transforms/butterfly_old.py:516
Methodforward
Parameters: input: (..., size) if real or (..., size, 2) if complex Return: output: (..., size) if real or (.
learning_transforms/butterfly_old.py:557
Methodforward
Parameters: input: (..., size) if real or (..., size, 2) if complex Return: output: (..., size) if real or (.
learning_transforms/butterfly_old.py:615
Methodforward
(self, input)
learning_transforms/butterfly_old.py:652
Methodforward
(ctx, twiddle, x)
cnn/shufflenet_imagenet.py:26
Methodforward
Parameters: input: (batch, c, h, w) Return: output: (batch, c, h, w)
cnn/shufflenet_imagenet.py:61
Methodforward
Channel shuffle: [N,C,H,W] -> [N,g,C/g,H,W] -> [N,C/g,g,H,w] -> [N,C,H,W]
cnn/shufflenet_imagenet.py:79
Methodforward
(self, x)
cnn/shufflenet_imagenet.py:124
Methodforward
(self, x)
cnn/shufflenet_imagenet.py:174
Methodforward
(self, *inputs, **kwargs)
cnn/distributed.py:77
Methodforward
Parameters: input: (batch, c, h, w) if real or (batch, c, h, w, 2) if complex Return: output: (batch, nstack
cnn/mobilenet_imagenet.py:44
Methodforward
(self, x)
cnn/mobilenet_imagenet.py:136
Methodforward
(self, x, target)
cnn/imagenet/mixup.py:39
Methodforward
(self, x, target)
cnn/imagenet/smoothing.py:19
Methodforward
(self, s_logit, t_logit, target)
cnn/imagenet/smoothing.py:39
Methodforward
(self, data, target)
cnn/imagenet/training.py:66
Methodforward
(self, x)
cnn/imagenet/resnet.py:89
Methodforward
(self, x)
cnn/imagenet/resnet.py:129
Methodforward
(self, x)
cnn/imagenet/resnet.py:188
Methodforward
Parameters: input: (batch, size) Return: output: (batch, nstack * size)
cnn/models/circulant1x1conv.py:19
Methodforward
Parameters: input: (batch, c, h, w) Return: output: (batch, nstack * c, h, w)
cnn/models/circulant1x1conv.py:34
← previousnext →801–900 of 1,242, ranked by callers