MCPcopy Index your code
hub / github.com/HazyResearch/butterfly

github.com/HazyResearch/butterfly @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,502 symbols 4,371 edges 162 files 302 documented · 20% updated 2y ago★ 17916 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…

Core symbols most depended-on inside this repo

matrix
called by 66
learning_transforms/butterfly_old.py
backward
called by 57
learning_transforms/sparsemax.py
bitreversal_permutation
called by 27
torch_butterfly/permutation.py
bitreversal_permutation
called by 26
butterfly/utils.py
complex_matmul
called by 23
torch_butterfly/complex_utils.py
real_to_complex
called by 23
butterfly/complex_utils.py
matrix
called by 20
learning_transforms/butterfly_old.py
to_python_float
called by 19
cnn/imagenet_experiment.py

Shape

Method 719
Function 523
Class 260

Languages

Python96%
C++4%

Modules by API surface

cnn/imagenet/logger.py60 symbols
learning_transforms/old/learning_fft_old.py59 symbols
learning_transforms/learning_fft.py53 symbols
learning_transforms/butterfly_old.py53 symbols
cnn/models/presnet.py50 symbols
butterfly/butterfly_multiply.py46 symbols
butterfly/factor_multiply/factor_multiply.cpp34 symbols
convolution/models/resnet_cifar.py28 symbols
cnn/imagenet/training.py25 symbols
torch_butterfly/special.py23 symbols
torch_butterfly/complex_utils.py23 symbols
torch_butterfly/permutation.py22 symbols

For agents

$ claude mcp add butterfly \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact