Back to Search Start Over

Multiplication of medium-density matrices using TensorFlow on multicore CPUs

Authors :
Jaruloj Chongstitvatana
Siraphob Theeracheep
Source :
Tehnički Glasnik, Vol 13, Iss 4, Pp 286-290 (2019), Tehnički glasnik, Volume 13, Issue 4
Publication Year :
2019
Publisher :
University North, 2019.

Abstract

Matrix multiplication is an essential part of many applications, such as linear algebra, image processing and machine learning. One platform used in such applications is TensorFlow, which is a machine learning library whose structure is based on dataflow programming paradigm. In this work, a method for multiplication of medium-density matrices on multicore CPUs using TensorFlow platform is proposed. This method, called tbt_matmul, utilizes TensorFlow built-in methods tf.matmul and tf.sparse_matmul. By partitioning each input matrix into four smaller sub-matrices, called tiles, and applying an appropriate multiplication method to each pair depending on their density, the proposed method outperforms the built-in methods for matrices of medium density and matrices of significantly uneven distribution of non-zeros.

Details

ISSN :
18485588 and 18466168
Volume :
13
Database :
OpenAIRE
Journal :
Tehnički glasnik
Accession number :
edsair.doi.dedup.....84f9182ed16fe1681d2742517c2d8425
Full Text :
https://doi.org/10.31803/tg-20191104183930