huggingface / candle
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
3% | <1% | 5% | 9% | 81%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
rs3% | 0% | 5% | 8% | 82%
h0% | 13% | 21% | 29% | 34%
py0% | 0% | 10% | 19% | 69%
js0% | 0% | 0% | 14% | 85%
pyi0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
candle-onnx91% | 0% | 0% | 1% | 7%
candle-flash-attn0% | 9% | 37% | 25% | 27%
candle-core0% | 0% | 14% | 14% | 71%
candle-pyo30% | 0% | 17% | 9% | 73%
tensor-tools0% | 0% | 31% | 36% | 32%
candle-book0% | 0% | 42% | 0% | 57%
candle-transformers0% | 0% | <1% | 5% | 94%
candle-wasm-examples0% | 0% | 2% | 15% | 82%
candle-metal-kernels0% | 0% | 0% | 6% | 93%
candle-nn0% | 0% | 0% | 3% | 96%
candle-datasets0% | 0% | 0% | 30% | 69%
candle-examples0% | 0% | 0% | 0% | 100%
candle-kernels0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1811 168 2
75 31 4
98 26 1
110 23 2
198 23 8
166 21 8
52 19 2
65 18 2
55 18 4
72 17 2
83 17 1
110 16 5
123 16 3
75 15 0
84 15 5
104 15 3
60 15 6
76 14 5
74 14 3
68 14 2
34 14 3
39 14 2
93 14 3
75 14 4
60 14 9
9 14 2
55 13 2
127 13 6
46 13 4
73 12 5
74 12 1
87 12 2
129 12 4
68 12 3
51 12 2
24 12 5
63 12 10
72 11 5
60 11 5
51 11 3
52 11 3
65 11 2
53 11 10
78 10 5
40 10 0
98 10 4
56 10 9
25 10 6
55 9 5
36 9 2