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 条
  • [31] GEDLIB: A C plus plus Library for Graph Edit Distance Computation
    Blumenthal, David B.
    Bougleux, Sebastien
    Gamper, Johann
    Brun, Luc
    GRAPH-BASED REPRESENTATIONS IN PATTERN RECOGNITION, GBRPR 2019, 2019, 11510 : 14 - 24
  • [32] CoCoALib: A C plus plus Library for Computations in Commutative Algebra ... and Beyond
    Abbott, John
    Bigatti, Anna M.
    MATHEMATICAL SOFTWARE - ICMS 2010, 2010, 6327 : 73 - 76
  • [33] Multicore C plus plus Standard Template Library with C++0x
    Szugyi, Zalan
    Torok, Mark
    Pataki, Norbert
    Kozsik, Tamas
    NUMERICAL ANALYSIS AND APPLIED MATHEMATICS ICNAAM 2011: INTERNATIONAL CONFERENCE ON NUMERICAL ANALYSIS AND APPLIED MATHEMATICS, VOLS A-C, 2011, 1389
  • [34] FuzzBuilder: Automated building greybox fuzzing environment for C/C plus plus library
    Jang, Joonun
    Kim, Huy Kang
    35TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSA), 2019, : 627 - 637
  • [35] TuckerMPI: A Parallel C plus plus /MPI Software Package for Large-scale Data Compression via the Tucker Tensor Decomposition
    Ballard, Grey
    Klinvex, Alicia
    Kolda, Tamara G.
    ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2020, 46 (02):
  • [36] mr: A C plus plus library for the matching and running of the Standard Model parameters
    Kniehl, Bernd A.
    Pikelner, Andrey F.
    Veretin, Oleg L.
    COMPUTER PHYSICS COMMUNICATIONS, 2016, 206 : 84 - 96
  • [37] JIRL - A C plus plus Library for JPEG Compressed Domain Image Retrieval
    Edmundson, David
    Schaefer, Gerald
    2012 IEEE INTERNATIONAL SYMPOSIUM ON MULTIMEDIA (ISM), 2012, : 210 - 213
  • [38] A resistive magnetohydrodynamics solver using modern C plus plus and the Boost library
    Einkemmer, Lukas
    COMPUTER PHYSICS COMMUNICATIONS, 2016, 206 : 69 - 77
  • [39] Modular C plus plus Library for Relaxed Unscented Kalman-Filtering
    Kuti, Jozsef
    Galambos, Peter
    ACTA POLYTECHNICA HUNGARICA, 2024, 21 (10) : 57 - 74
  • [40] FloatX: A C plus plus Library for Customized Floating-Point Arithmetic
    Flegar, Goran
    Scheidegger, Florian
    Novakovic, Vedran
    Mariani, Giovani
    Tomas, Andres E.
    Malossi, A. Cristiano, I
    Quintana-Orti, Enrique S.
    ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2019, 45 (04):