"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of pytorch-1.6.0.tar.gz (25 Jul 00:18, 11376568 Bytes)

About: PyTorch provides Tensor computation (like NumPy) with strong GPU acceleration and Deep Neural Networks (in Python) built on a tape-based autograd system.



Fossies downloads: /linux/miscpytorch-1.6.0.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 7826  (7169 files + 2 symlinks within 655 directories)

Histograms of CLOC analysis data of pytorch-1.6.0.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of pytorch-1.6.0.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    6836 text files.
    6801 unique files.                              
     415 files ignored.

github.com/AlDanial/cloc v 1.86  T=4.97 s (1311.1 files/s, 288851.9 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C++                         1954     56675     32772    409459 x   1.51 =      618283.09
Python                      1345     62005     61716    280300 x   4.20 =     1177260.00
C/C++ Header                1856     38319     43292    211742 x   1.00 =      211742.00
CUDA                         463     10761      6350     75955 x   1.00 =       75955.00
C                            185      4195      2221     34838 x   0.77 =       26825.26
YAML                          38      2280      1030     16202 x   0.90 =       14581.80
CMake                        166      2156      3468     13460 x   1.00 =       13460.00
Markdown                      89      2254         0      8089 x   1.00 =        8089.00
reStructuredText              74      3634      4360      8014 x   1.50 =       12021.00
Objective C++                  8       718       286      6377 x   2.96 =       18875.92
Bourne Shell                 153      1459      1550      6030 x   3.81 =       22974.30
Assembly                      20      1299      1823      3760 x   0.25 =         940.00
Bazel                         17       207        59      3219 x   1.00 =        3219.00
Java                          22       301       320      2721 x   1.36 =        3700.56
CSS                            5       289        90      1378 x   1.00 =        1378.00
SVG                            4         0         1       954 x   1.00 =         954.00
Dockerfile                    18       171       163       762 x   2.00 =        1524.00
Gradle                        13       121        36       719 x   4.00 =        2876.00
Starlark                       8        47        49       689 x   4.20 =        2893.80
XML                           19        15        12       582 x   1.90 =        1105.80
DOS Batch                     14       117         1       446 x   0.63 =         280.98
Protocol Buffers               7       131       355       395 x   2.00 =         790.00
INI                            1       179         0       377 x   1.00 =         377.00
GLSL                          10        28         0       353 x   2.00 =         706.00
HTML                           5        27        33       259 x   1.90 =         492.10
JSON                           4         0         0       231 x   2.50 =         577.50
Ruby                           3        10         3       181 x   4.20 =         760.20
make                           5        39        19       111 x   2.50 =         277.50
Windows Module Definition      1        20         0        60 x   1.00 =          60.00
PowerShell                     2         4         0        47 x   3.00 =         141.00
Lua                            1         5         0        28 x   4.00 =         112.00
Objective C                    2        18         8        25 x   2.96 =          74.00
Bourne Again Shell             1         3         0        19 x   3.81 =          72.39
diff                           1         3        17        14 x   1.00 =          14.00
vim script                     1         0         0         3 x   3.00 =           9.00
---------------------------------------------------------------------------------------
SUM:                       6515    187490    160034   1087799 x   2.04 =     2223402.20
---------------------------------------------------------------------------------------

A hint: This "standard" CLOC analysis has included all package contents files (with the exception of files generated by code-production systems such as GNU autotools). But there exists a perhaps more "realistic" alternative CLOC analysis (among others better suited for an optional codespell check rating) that tries additionally to exclude third party code but also files containing fonts, codepage or character set definitions, dictionaries, names, SVG or non-English languages.
Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  Codespell  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)