TensorX is a high-level deep neural network library written in Python that simplifies model specification, training, and execution using TensorFlow. It was designed for fast prototyping with minimum verbose and provides a set of modular components with a user-centric consistent API.
TensorX aims to be simple but sophisticated without a code base plagued by unnecessary abstractions and over-engineering and without sacrificing performance. It uses Tensorflow without hiding it completely behind a new namespace, it's mean to be a complement instead of a complete abstraction. The design mixes functional dataflow computation graphs with object-oriented neural network layer building blocks that are easy to add to and extend.
- Neural Network layer building blocks like
- New TensorFlow ops:
GraphUtils: allow for validation and compilation of layer graphs;
ModelClass: for easy inference, training, and evaluation;
- Training Loop: easily customizable with a
TensorX is written in pure python but depends on Tensorflow, which needs to be installed from the
The reason for this is that you might want to install Tensorflow builds optimized for your machine (see
these). Additionally, TensorX has optional
pygraphviz for certain functionality.
pip with the following commands:
pip install tensorflow pip install tensorx
For more details about the installation, check the documentation.
Test your installation
import tensorflow as tf import tensorx as tx
For details about TensorX API, tutorials, and other documentation, see https://tensorx.org. You can help by trying the project out, reporting bugs, suggest features, and by letting me know what you think. If you want to help, please read the contribution guide.