A C plus plus Library for Tensor Decomposition

被引:0
|
作者
Huang, Jiapeng [1 ]
Kong, Linghe [1 ]
Liu, Xiao-Yang [2 ]
Qu, Wenhao [1 ]
Chen, Guihai [1 ]
机构
[1] Shanghai Jiao Tong Univ, Shanghai, Peoples R China
[2] Columbia Univ, New York, NY 10027 USA
关键词
Tensor Decomposition; Many-core Computing;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we develop a new library TenDeC++ for tensor decompositions in C++. TenDeC++ supports popular tensor decomposition functions including Canonical Polyadic, Tucker, tensor-train, and t-SVD, assisting C++ programmers to shorten the development cycle of deep learning applications. Compared with the resource-intensive Python and MATLAB, C++ has the nature advantages on fast running time and high compatibility. To further explore potentials of C++, we propose a novel underlying technology PointerDefomer leveraging the unique pointer. Since the transformation between tensor and size-specific matrix is indispensable in tensor decompositions, PointerDefomer can virtually achieve such a transformation by controlling the movement of pointer in memory address. As a result, the conventional transformation steps can be skipped to accelerate the decomposition process and there is no memory needed for saving the intermediate results of tensor transformation. In our experiment, TenDeC++ reduces decomposition time and support larger size of tensor compared with the classic Tensorly in Python and TensorLab in MATLAB, respectively.
引用
收藏
页数:2
相关论文
共 50 条
  • [21] Using C plus plus to Calculate SO(10) Tensor Couplings
    Bhagwagar, Azadan
    Syed, Raza M.
    SYMMETRY-BASEL, 2021, 13 (10):
  • [22] Library Plus INTERNEST Project of the Library Plus
    Injac, Vesna
    BOSNIACA-JOURNAL OF THE NATIONAL AND UNIVERSITY LIBRARY OF BOSNIA AND HERZEGOVINA, 2013, (18): : 50 - 60
  • [23] Functional Programming Library for C plus
    Krasnov, M. M.
    PROGRAMMING AND COMPUTER SOFTWARE, 2020, 46 (05) : 330 - 340
  • [24] RGE plus plus : A C plus plus library to solve renormalisation group equations in quantum field theory
    Deppisch, Thomas
    Herren, Florian
    COMPUTER PHYSICS COMMUNICATIONS, 2022, 270
  • [25] Employing C plus plus Templates in the Design of a Computer Algebra Library
    Brandt, Alexander
    Moir, Robert H. C.
    Maza, Marc Moreno
    MATHEMATICAL SOFTWARE - ICMS 2020, 2020, 12097 : 342 - 352
  • [26] The Victor C plus plus library for protein representation and advanced manipulation
    Hirsh, Layla
    Piovesan, Damiano
    Giollo, Manuel
    Ferrari, Carlo
    Tosatto, Silvio C. E.
    BIOINFORMATICS, 2015, 31 (07) : 1138 - 1140
  • [27] DSParLib: A C plus plus Template Library for Distributed Stream Parallelism
    Loff, Junior
    Hoffmann, Renato B.
    Pieper, Ricardo
    Griebler, Dalvan
    Fernandes, Luiz G.
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2022, 50 (5-6) : 454 - 485
  • [28] Complex Inclusion Functions in the CoStLy C plus plus Class Library
    Neher, Markus
    MATHEMATICAL SOFTWARE - ICMS 2010, 2010, 6327 : 333 - 336
  • [29] SSW Library: An SIMD Smith-Waterman C/C plus plus Library for Use in Genomic Applications
    Zhao, Mengyao
    Lee, Wan-Ping
    Garrison, Erik P.
    Marth, Gabor T.
    PLOS ONE, 2013, 8 (12):
  • [30] A C plus plus library for the automatic interpretation of geometrical and dimensional tolerances
    Dionne, Remy
    Baron, Luc
    Mascle, Christian
    INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2009, 45 (9-10): : 896 - 906