↓ 10 callersFunctionpolymatmulBatch-multiply two matrices of polynomials Parameters: A: (N, batch_size, n, m, d1) B: (batch_size, m, p, d2) Returns:
learning_transforms/ops.py:10
↓ 8 callersFunctionbutterfly_mult_untied_torch Parameters: twiddle: (nstack, log n, n / 2, 2, 2) if real or (nstack, log n, n / 2, 2, 2, 2) if complex input: (batch_size, nstac
butterfly/butterfly_multiply.py:126
↓ 6 callersMethod__init__(self, block=BasicBlock, layers=[2,2,2,2], num_classes=10, zero_init_residual=False, **perm_args)
cnn/models/presnet.py:114
↓ 5 callersMethodcompute_perm # twiddle: (depth, 1, log n, n/2) twiddle: (depth, samples, log n, n/2) strides: (depth,) bool Returns: (samples, n,
cnn/models/presnet.py:467
↓ 4 callersMethod__init__(self, block, layers, num_classes=1000, k=1, vgg_head=False,
num_structured_layers=0, structure_ty
cnn/models/resnet_imagenet.py:195
↓ 4 callersMethod_make_layer(self, block, planes, blocks, stride=1, is_structured=False,
structure_type='B', nblocks=1, param=
cnn/models/resnet_imagenet.py:230
↓ 3 callersMethod_make_layer(self, out_planes, num_blocks, groups, grouped_conv_1st_layer=True, shuffle='P', preact=False)
cnn/shufflenet_imagenet.py:165
↓ 3 callersMethod_wide_layer(self, block, planes, num_blocks, dropout_rate, stride, structure_type=None, **kwargs)
cnn/models/wide_resnet.py:89
↓ 3 callersFunctionbutterfly_mult_factorsImplementation that have separate kernels for each factor, for debugging. Parameters: twiddle: (n - 1, 2, 2) if real or (n - 1, 2, 2, 2) i
butterfly/butterfly_multiply.py:696
↓ 3 callersFunctionbutterfly_mult_torch Parameters: twiddle: (nstack, n - 1, 2, 2) if real or (nstack, n - 1, 2, 2, 2) if complex input: (batch_size, nstack, n) if real
butterfly/butterfly_multiply.py:43