TensorX is an open source library to build deep neural network models
Project description
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.
Design Philosophy
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.
Feature Summary
- Neural Network layer building blocks like
Input
,Linear
,Lookup
; - New TensorFlow ops:
gumbel_top
,logit
,sinkhorn
, etc; Graph
Utils: allow for validation and compilation of layer graphs;Model
Class: for easy inference, training, and evaluation;- Training Loop: easily customizable with a
Callback
system;
Installation
TensorX is written in pure python but depends on Tensorflow, which needs to be installed from the tensorflow
package.
The reason for this is that you might want to install Tensorflow builds optimized for your machine (see
these). Additionally, TensorX has optional
dependencies like matplotlib
or pygraphviz
for certain functionality.
Pip installation
Install using 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
Documentation
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.
Author
- Davide Nunes: get in touch @davidelnunes or by e-mail
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tensorx-2.1.0.tar.gz
.
File metadata
- Download URL: tensorx-2.1.0.tar.gz
- Upload date:
- Size: 86.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.6 Linux/5.4.83-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069b77a72b3e91d34850d3bb88d85103a5f7172fdb2dca5cf2a63460bb1008b4 |
|
MD5 | 9fa0caa92a2d633db5da183266d3f1e8 |
|
BLAKE2b-256 | 2c72a3db0b4447e9e1e7af791503dfac609659fc5a9387327ddc8ff97e171400 |
File details
Details for the file tensorx-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: tensorx-2.1.0-py3-none-any.whl
- Upload date:
- Size: 89.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.2 CPython/3.8.6 Linux/5.4.83-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 461fa1b96bf6ca740eec1342fbf24c14753c1dcbbdc327750a33e96481ed5169 |
|
MD5 | 30a7fafeb06f33c980f2c1f37c7a7b03 |
|
BLAKE2b-256 | 512e9fc4fe7657891cec051558fdc96c3593910b00b5687f72e06a435e6ae213 |