neo-ai / neo-ai-dlr
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 74 files with 7,008 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 10 medium size files (3,577 lines of codeclsfd_ftr_w_mp_ins)
    • 13 small files (1,934 lines of code)
    • 51 very small files (1,497 lines of code)
0% | 0% | 51% | 27% | 21%
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
cc0% | 0% | 82% | 16% | 1%
py0% | 0% | 35% | 31% | 33%
h0% | 0% | 0% | 47% | 52%
js0% | 0% | 0% | 100% | 0%
cmake0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
pro0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 79% | 19% | 1%
container0% | 0% | 34% | 39% | 26%
sagemaker-neo-notebooks0% | 0% | 100% | 0% | 0%
python0% | 0% | 36% | 34% | 28%
include0% | 0% | 0% | 47% | 52%
install0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
doc0% | 0% | 0% | 0% | 100%
aar0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
tutorial.cc
in sagemaker-neo-notebooks/edge/cpp-integration
473 24
dlr_relayvm.cc
in src
471 26
dlr_tvm.cc
in src
408 22
dlr.cc
in src
407 2
serve.py
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
356 25
python_service.py
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
327 20
dlr_data_transform.cc
in src
318 19
dlr_common.cc
in src
293 21
dlr_model.py
in python/dlr
292 36
dlr_hexagon.cc
in src/dlr_hexagon
232 17
dlr_treelite.cc
in src
194 15
tfs_utils.py
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
192 14
dlr_jni.cc
in src/jni
185 -
tensorflow-serving.js
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
183 16
neo_template_mxnet_byom.py
in container
177 10
phone_home.py
in python/dlr/counter
153 14
dlr_pipeline.cc
in src
145 15
dlr_common.h
in include
135 9
api.py
in python/dlr
125 20
neo_template_image_classification.py
in container
117 10
dlr.h
in include
116 -
neo_template_xgboost.py
in container
109 8
dlr_data_transform.h
in include
103 2
dlr_relayvm.h
in include
99 2
dlr_tvm.h
in include
66 2
dlr_allocator.h
in include
66 2
dlr_treelite.h
in include
63 2
conf.py
in doc
62 -
dlr_hexagon.h
in include/dlr_hexagon
58 -
setup.py
in python
56 -
deep_learning_container.py
in container/sagemaker-tensorflow-inferentia/build_artifacts
54 6
cmake
Utils.cmake
in cmake
51 -
inf1_pt.py
in container/sample-inf1
49 2
system.py
in python/dlr/counter
47 4
inf1_mx.py
in container/sample-inf1
46 2
libpath.py
in python/dlr
46 1
tvm_ec2_compiler_utils.py
in container/ec2_compilation_container
45 1
dlr_pipeline.h
in include
45 1
inf1_tf_handler.py
in container/sample-inf1
44 2
test-dlr.py
in install/dlr-1.0-py2.py3-cuda90-aarch64
42 1
test-dlr.py
in install/dlr-1.0-py2.py3-opencl-x86_64
42 1
test-dlr.py
in install/dlr-1.0-py2.py3-armv7l
42 1
setup.py
in container/sagemaker-pytorch-inferentia-serving
38 1
dlr_allocator.cc
in src
38 10
inf1_tf_io_handler.py
in container/sample-inf1
35 2
multi_model_utils.py
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
31 3
default_inference_handler.py
in container/sagemaker-pytorch-inferentia-serving/src/sagemaker_pytorch_inferentia_serving_container
31 4
deviceinfo.py
in python/dlr/counter
30 4
cmake
googletest.cmake
in cmake
29 -
DLR.java
in aar/dlr/src/main/java/com/amazon/neo/dlr
26 1
Files With Most Units (Top 20)
File# lines# units
dlr_model.py
in python/dlr
292 36
dlr_relayvm.cc
in src
471 26
serve.py
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
356 25
tutorial.cc
in sagemaker-neo-notebooks/edge/cpp-integration
473 24
dlr_tvm.cc
in src
408 22
dlr_common.cc
in src
293 21
python_service.py
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
327 20
api.py
in python/dlr
125 20
dlr_data_transform.cc
in src
318 19
dlr_hexagon.cc
in src/dlr_hexagon
232 17
tensorflow-serving.js
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
183 16
dlr_treelite.cc
in src
194 15
dlr_pipeline.cc
in src
145 15
tfs_utils.py
in container/sagemaker-tensorflow-inferentia/build_artifacts/sagemaker
192 14
phone_home.py
in python/dlr/counter
153 14
neo_template_image_classification.py
in container
117 10
neo_template_mxnet_byom.py
in container
177 10
dlr_allocator.cc
in src
38 10
dlr_common.h
in include
135 9
neo_template_xgboost.py
in container
109 8
Files With Long Lines (Top 5)

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

File# lines# units# long lines
api.py
in python/dlr
125 20 5
test-dlr.py
in install/dlr-1.0-py2.py3-cuda90-aarch64
42 1 2
test-dlr.py
in install/dlr-1.0-py2.py3-opencl-x86_64
42 1 2
test-dlr.py
in install/dlr-1.0-py2.py3-armv7l
42 1 2
inf1_mx.py
in container/sample-inf1
46 2 1