From c649fb8aad03e8d3057903dfa585cb02ce478f2d Mon Sep 17 00:00:00 2001 From: Arjun Gopalan Date: Tue, 15 Oct 2019 10:31:33 -0700 Subject: [PATCH] Create NSL version 1.1.0. See RELEASE.md for a list of changes that are part of this release. PiperOrigin-RevId: 274835459 --- RELEASE.md | 46 ++++++++++++++++++++++++--- neural_structured_learning/version.py | 4 +-- 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 030f2af..18f2274 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,16 +1,52 @@ +# Release 1.1.0 + +## Major Features and Improvements + +* Introduces `nsl.tools.build_graph`, a function for graph building. + +* Introduces `nsl.tools.pack_nbrs`, a function to prepare input for + graph-based NSL. + +* Adds `tf.estimator.Estimator` support for NSL. In particular, this release + introduces two new wrapper functions named + `nsl.estimator.add_graph_regularization` and + `nsl.estimator.add_adversarial_regularization` to wrap existing + `tf.estimator.Estimator`-based models with NSL. These APIs are currently + supported only for TF 1.x. + +## Bug Fixes and Other Changes + +* Adds version information to the NSL package, which can be queried as + `nsl.__version__`. + +* Fixes loss computation with `Loss` objects in `AdversarialRegularization`. + +* Adds a new parameter to `nsl.keras.adversarial_loss` which can be used to + pass additional arguments to the model. + +* Fixes typos in documentation and notebooks. + +* Updates notebooks to use the release version of TF 2.0. + +## Thanks to our Contributors + +This release contains contributions from many people at Google. + # Release 1.0.1 ## Major Features and Improvements -* Adds 'make_graph_reg_config', a new API to help construct a `nsl.configs.GraphRegConfig` object +* Adds 'make_graph_reg_config', a new API to help construct a + `nsl.configs.GraphRegConfig` object. -* Updates the package description on PyPI +* Updates the package description on PyPI. ## Bug Fixes and Other Changes -* Fixes metric computation with `Metric` objects in `AdversarialRegularization` +* Fixes metric computation with `Metric` objects in + `AdversarialRegularization`. -* Fixes typos in documentation and notebooks +* Fixes typos in documentation and notebooks. ## Thanks to our Contributors @@ -20,4 +56,4 @@ This release contains contributions from many people at Google, as well as: # Release 1.0.0 -* Initial release of Neural Structured Learning in TensorFlow +* Initial release of Neural Structured Learning in TensorFlow. diff --git a/neural_structured_learning/version.py b/neural_structured_learning/version.py index c6bccf5..419302c 100644 --- a/neural_structured_learning/version.py +++ b/neural_structured_learning/version.py @@ -15,8 +15,8 @@ # We follow Semantic Versioning (https://semver.org/). _MAJOR_VERSION = '1' -_MINOR_VERSION = '0' -_PATCH_VERSION = '1' +_MINOR_VERSION = '1' +_PATCH_VERSION = '0' _VERSION_SUFFIX = ''