huggingface / optimum-neuron
Unit Size

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

Intro
Learn more...
Unit Size Overall
6% | 8% | 27% | 22% | 35%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py6% | 8% | 27% | 22% | 35%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
optimum7% | 6% | 26% | 23% | 37%
tools0% | 36% | 23% | 19% | 21%
notebooks0% | 50% | 36% | 7% | 5%
benchmark0% | 20% | 66% | 7% | 5%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
270 1 1
225 11 3
124 8 4
105 1 1
82 13 0
81 9 1
80 7 3
67 9 5
61 5 1
59 5 0
59 13 0
58 16 1
55 2 0
55 15 2
55 8 6
55 7 7
53 1 1
52 6 1
51 9 0
50 10 5
49 5 3
47 11 1
47 12 8
47 3 3
46 14 2
45 2 3
43 11 4
42 14 2
41 3 2
41 1 42
40 4 1
40 13 2
40 2 0
37 19 3
37 8 4
37 8 3
36 4 0
36 7 2
35 8 4
35 9 3
35 12 2
34 6 2
34 9 6
33 5 2
32 7 3
32 9 2
31 1 0
31 13 1
30 1 0
30 1 0