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 tensorflow/tensorflow:custom-op-ubuntu16 /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 tfm;print(tfm.text.zero_digits('123').numpy())"
You should see the op zeroed out all nonzero digits in string "123":
000
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for tfmiss-0.5.1-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d16748b5365cad932abbafde2dbf7b5dbea84cbc4fcec83ce25585453b4b820 |
|
MD5 | fbfc12f38296fb5c316fb0df99245021 |
|
BLAKE2b-256 | 54fedc0de377811986cec7c037b334f1c8f24eb2ba84efac51758d90b2c84c16 |