Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Missing layers, ops & etc. for TensorFlow

Project description

tfmiss

The missing OPs, layer & etc. for TensorFlow

Development

Environment

Install all dependencies including python headers. Do not use pyenv on MacOS X, otherwise tests mostly likely will fail.

Build PIP package manually

You can build the pip package with Bazel v0.25.3:

export PYTHON_BIN_PATH=`which python2.7`
$PYTHON_BIN_PATH -m pip install -U tensorflow  # Only if you did not install it yet
./configure.sh
bazel clean --expunge
bazel test --test_output=errors //tfmiss/...
bazel build build_pip_pkg
bazel-bin/build_pip_pkg wheels

Build release with Linux docker container

docker run -it -v `pwd`:/tfmiss library/ubuntu:xenial /tfmiss/build_linux_release.sh

Install and test PIP package

Once the pip package has been built, you can install it with:

pip install wheels/*.whl

Now you can test out the pip package:

cd /
python -c "import tensorflow as tf;import tfmiss as tfu;print(tfu.transform_zero_digits('123').eval(session=tf.Session()))"

You should see the op zeroed out all nonzero digits in string "123":

000

Release history Release notifications

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tfmiss-0.1.0-cp27-cp27m-macosx_10_13_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp27
tfmiss-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp27
tfmiss-0.1.0-cp35-cp35m-manylinux1_x86_64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp35
tfmiss-0.1.0-cp36-cp36m-macosx_10_13_x86_64.whl (1.2 MB) Copy SHA256 hash SHA256 Wheel cp36
tfmiss-0.1.0-cp36-cp36m-manylinux1_x86_64.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp36

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page