From 3329afd96b4540a92d25a3f3f870904b23439c7a Mon Sep 17 00:00:00 2001 From: Sean Morgan Date: Tue, 5 Mar 2019 20:11:21 -0500 Subject: [PATCH 1/2] DOC: Add pip install --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6db84c55b3..efdb28a8db 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,10 @@ for end-to-end examples of various addons. ## Installation #### Stable Builds -`tensorflow-addons` will soon be available in PyPi. +To install the latest version, run the following: +``` +pip install tensorflow-addons +``` #### Installing from Source You can also install from source. This requires the [Bazel]( From 2156298939cb820dd2fdcab094fce19e70ad5da1 Mon Sep 17 00:00:00 2001 From: Sean Morgan Date: Thu, 14 Mar 2019 19:49:46 -0400 Subject: [PATCH 2/2] FIX: un-named argument for new decorator --- tensorflow_addons/layers/python/sparsemax_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_addons/layers/python/sparsemax_test.py b/tensorflow_addons/layers/python/sparsemax_test.py index 3cb375418e..6796982c2f 100644 --- a/tensorflow_addons/layers/python/sparsemax_test.py +++ b/tensorflow_addons/layers/python/sparsemax_test.py @@ -60,7 +60,7 @@ def test_sparsemax_layer_against_numpy(self, dtype=None): z = random.uniform(low=-3, high=3, size=(test_obs, 10)).astype(dtype) test_utils.layer_test( - layer_cls=Sparsemax, + Sparsemax, input_data=z, expected_output=_np_sparsemax(z).astype(dtype))