apple / ml-quant
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 30 files with 1,874 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (477 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (407 lines of code)
    • 25 very small files (990 lines of code)
0% | 0% | 25% | 21% | 52%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 25% | 22% | 51%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
quant/data0% | 0% | 99% | 0% | <1%
quant/models0% | 0% | 81% | 0% | 18%
quant/common0% | 0% | 0% | 42% | 57%
quant/binary0% | 0% | 0% | 30% | 69%
quant/utils0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
doc0% | 0% | 0% | 0% | 100%
quant0% | 0% | 0% | 0% | 100%
Longest Files (Top 30)
File# lines# units
data_loaders.py
in quant/data
274 16
resnet.py
in quant/models
203 7
tasks.py
in quant/common
168 2
activation_quantization.py
in quant/binary
134 20
training.py
in quant/common
105 4
binary_conv.py
in quant/binary
100 6
initialization.py
in quant/common
98 6
metrics.py
in quant/common
82 16
checkpoints.py
in quant/utils
73 3
quantization.py
in quant/binary
68 7
optimal.py
in quant/binary
67 4
parser.py
in quant/common
67 4
experiment.py
in quant/common
60 3
visualization.py
in quant/utils
58 4
weight_quantization.py
in quant/binary
53 8
compute_platform.py
in quant/common
48 5
lenet.py
in quant/models
45 2
pyproject.toml
in root
35 -
conf.py
in doc
25 -
kd_criterion.py
in quant/utils
25 1
linear_lr_scheduler.py
in quant/utils
21 2
ste.py
in quant/binary
20 3
moving_average.py
in quant/utils
19 2
__init__.py
in quant
11 1
__init__.py
in quant/common
8 1
utils.py
in quant/utils
3 1
__init__.py
in quant/binary
1 -
__init__.py
in quant/data
1 -
__init__.py
in quant/models
1 -
__init__.py
in quant/utils
1 -
Files With Most Units (Top 20)
File# lines# units
activation_quantization.py
in quant/binary
134 20
metrics.py
in quant/common
82 16
data_loaders.py
in quant/data
274 16
weight_quantization.py
in quant/binary
53 8
quantization.py
in quant/binary
68 7
resnet.py
in quant/models
203 7
binary_conv.py
in quant/binary
100 6
initialization.py
in quant/common
98 6
compute_platform.py
in quant/common
48 5
optimal.py
in quant/binary
67 4
parser.py
in quant/common
67 4
training.py
in quant/common
105 4
visualization.py
in quant/utils
58 4
ste.py
in quant/binary
20 3
experiment.py
in quant/common
60 3
checkpoints.py
in quant/utils
73 3
tasks.py
in quant/common
168 2
lenet.py
in quant/models
45 2
linear_lr_scheduler.py
in quant/utils
21 2
moving_average.py
in quant/utils
19 2
Files With Long Lines (Top 0)

There are 0 files with lines longer than 120 characters. In total, there are 0 long lines.

File# lines# units# long lines