apple / learning-compressible-subspaces
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 40 files with 4,251 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 7 medium size files (2,272 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,223 lines of code)
    • 26 very small files (756 lines of code)
0% | 0% | 53% | 28% | 17%
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% | 57% | 30% | 12%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 74% | 18% | 7%
models0% | 0% | 72% | 16% | 11%
models/networks0% | 0% | 0% | 77% | 22%
configs/structured_sparsity0% | 0% | 0% | 0% | 100%
configs/quantized0% | 0% | 0% | 0% | 100%
configs/unstructured_sparsity0% | 0% | 0% | 0% | 100%
Longest Files (Top 40)
File# lines# units
utils.py
in root
496 18
modules.py
in models
383 32
train_indep.py
in root
364 10
train_curve.py
in root
327 8
quantized_modules.py
in models
262 23
quantize_affine.py
in models
222 17
get_training_params.py
in root
218 6
args.py
in root
195 11
builder.py
in models
193 7
model_profiling.py
in models/networks
185 10
cpreresnet.py
in models/networks
183 5
resnet.py
in models/networks
168 9
vgg.py
in models/networks
151 8
model_logging.py
in root
148 8
resprune.py
in models/networks
95 1
special_tensors.py
in models
91 13
curve_utils.py
in root
69 5
vggprune.py
in models/networks
55 1
sparse_modules.py
in models
37 8
training_params.py
in root
36 1
ns.yaml
in configs/structured_sparsity
30 -
lcs_p.yaml
in configs/structured_sparsity
29 -
us.yaml
in configs/structured_sparsity
29 -
lcs_l.yaml
in configs/structured_sparsity
27 -
lcs_l.yaml
in configs/quantized
25 -
lcs_p.yaml
in configs/quantized
24 -
target_bit_width.yaml
in configs/quantized
24 -
lec.yaml
in configs/structured_sparsity
23 -
lcs_l.yaml
in configs/unstructured_sparsity
23 -
lcs_p.yaml
in configs/unstructured_sparsity
23 -
target_topk.yaml
in configs/unstructured_sparsity
22 -
utils.py
in models/networks
21 1
channel_selection.py
in models/networks
20 3
schedulers.py
in root
19 3
main.py
in root
9 1
init.py
in models
5 1
__init__.py
in models/networks
5 -
train_quantized.py
in root
5 -
train_structured.py
in root
5 -
train_unstructured.py
in root
5 -
Files With Most Units (Top 20)
File# lines# units
modules.py
in models
383 32
quantized_modules.py
in models
262 23
utils.py
in root
496 18
quantize_affine.py
in models
222 17
special_tensors.py
in models
91 13
args.py
in root
195 11
model_profiling.py
in models/networks
185 10
train_indep.py
in root
364 10
resnet.py
in models/networks
168 9
model_logging.py
in root
148 8
vgg.py
in models/networks
151 8
sparse_modules.py
in models
37 8
train_curve.py
in root
327 8
builder.py
in models
193 7
get_training_params.py
in root
218 6
curve_utils.py
in root
69 5
cpreresnet.py
in models/networks
183 5
channel_selection.py
in models/networks
20 3
schedulers.py
in root
19 3
main.py
in root
9 1
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