huggingface / candle
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
7% | 20% | 32% | 21% | 17%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs8% | 20% | 33% | 21% | 16%
h0% | 41% | 20% | 19% | 17%
js0% | 14% | 28% | 47% | 9%
py0% | 5% | 26% | 20% | 47%
pyi0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
candle-onnx91% | 0% | 2% | 3% | 2%
candle-core10% | 25% | 34% | 12% | 17%
candle-transformers1% | 15% | 35% | 29% | 18%
candle-flash-attn20% | 34% | 14% | 16% | 13%
tensor-tools31% | 36% | 16% | 15% | 0%
candle-pyo34% | 10% | 21% | 14% | 48%
candle-nn0% | 38% | 32% | 13% | 15%
candle-wasm-examples0% | 33% | 28% | 27% | 10%
candle-metal-kernels0% | 31% | 46% | 12% | 9%
candle-book0% | 71% | 21% | 0% | 7%
candle-datasets0% | 0% | 60% | 17% | 21%
candle-examples0% | 0% | 0% | 30% | 69%
candle-kernels0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
1811 168 2
238 1 2
200 1 3
198 23 8
166 21 8
137 7 6
129 12 4
127 13 6
123 16 3
120 8 3
120 7 5
119 7 5
110 23 2
110 16 5
104 2 3
104 15 3
104 4 6
100 7 5
98 10 4
98 26 1
97 6 8
96 1 2
94 1 0
93 14 3
92 1 3
92 4 3
90 1 3
89 4 2
89 2 4
89 2 4
89 2 4
87 12 2
86 9 7
86 1 0
86 7 5
86 5 3
84 15 5
84 4 4
83 17 1
83 7 5
82 8 1
82 1 2
81 3 4
81 6 5
81 8 3
79 7 5
79 7 5
79 7 10
78 10 5
78 2 5