TensorNetwork for Machine Learning

06/07/2019
by   Stavros Efthymiou, et al.
0

We demonstrate the use of tensor networks for image classification with the TensorNetwork open source library. We explain in detail the encoding of image data into a matrix product state form, and describe how to contract the network in a way that is parallelizable and well-suited to automatic gradients for optimization. Applying the technique to the MNIST and Fashion-MNIST datasets we find out-of-the-box performance of 98 the same tensor network architecture. The TensorNetwork library allows us to seamlessly move from CPU to GPU hardware, and we see a factor of more than 10 improvement in computational speed using a GPU.

READ FULL TEXT
research
05/03/2019

TensorNetwork on TensorFlow: A Spin Chain Application Using Tree Tensor Networks

TensorNetwork is an open source library for implementing tensor network ...
research
09/16/2022

Deep tensor networks with matrix product operators

We introduce deep tensor networks, which are exponentially wide neural n...
research
10/20/2018

The Ocean Tensor Package

Matrix and tensor operations form the basis of a wide range of fields an...
research
01/05/2018

Tensor Train decomposition on TensorFlow (T3F)

Tensor Train decomposition is used across many branches of machine learn...
research
12/03/2015

MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systems

MXNet is a multi-language machine learning (ML) library to ease the deve...
research
12/31/2018

Batch Size Influence on Performance of Graphic and Tensor Processing Units during Training and Inference Phases

The impact of the maximally possible batch size (for the better runtime)...
research
08/29/2017

Performance Analysis of Open Source Machine Learning Frameworks for Various Parameters in Single-Threaded and Multi-Threaded Modes

The basic features of some of the most versatile and popular open source...

Please sign up or login with your details

Forgot password? Click here to reset