Skip to content

Commit c649fb8

Browse files
arjungtensorflow-copybara
authored andcommitted
Create NSL version 1.1.0. See RELEASE.md for a list of changes that are part of this release.
PiperOrigin-RevId: 274835459
1 parent ce41aac commit c649fb8

File tree

2 files changed

+43
-7
lines changed

2 files changed

+43
-7
lines changed

RELEASE.md

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,52 @@
1+
# Release 1.1.0
2+
3+
## Major Features and Improvements
4+
5+
* Introduces `nsl.tools.build_graph`, a function for graph building.
6+
7+
* Introduces `nsl.tools.pack_nbrs`, a function to prepare input for
8+
graph-based NSL.
9+
10+
* Adds `tf.estimator.Estimator` support for NSL. In particular, this release
11+
introduces two new wrapper functions named
12+
`nsl.estimator.add_graph_regularization` and
13+
`nsl.estimator.add_adversarial_regularization` to wrap existing
14+
`tf.estimator.Estimator`-based models with NSL. These APIs are currently
15+
supported only for TF 1.x.
16+
17+
## Bug Fixes and Other Changes
18+
19+
* Adds version information to the NSL package, which can be queried as
20+
`nsl.__version__`.
21+
22+
* Fixes loss computation with `Loss` objects in `AdversarialRegularization`.
23+
24+
* Adds a new parameter to `nsl.keras.adversarial_loss` which can be used to
25+
pass additional arguments to the model.
26+
27+
* Fixes typos in documentation and notebooks.
28+
29+
* Updates notebooks to use the release version of TF 2.0.
30+
31+
## Thanks to our Contributors
32+
33+
This release contains contributions from many people at Google.
34+
135
# Release 1.0.1
236

337
## Major Features and Improvements
438

5-
* Adds 'make_graph_reg_config', a new API to help construct a `nsl.configs.GraphRegConfig` object
39+
* Adds 'make_graph_reg_config', a new API to help construct a
40+
`nsl.configs.GraphRegConfig` object.
641

7-
* Updates the package description on PyPI
42+
* Updates the package description on PyPI.
843

944
## Bug Fixes and Other Changes
1045

11-
* Fixes metric computation with `Metric` objects in `AdversarialRegularization`
46+
* Fixes metric computation with `Metric` objects in
47+
`AdversarialRegularization`.
1248

13-
* Fixes typos in documentation and notebooks
49+
* Fixes typos in documentation and notebooks.
1450

1551
## Thanks to our Contributors
1652

@@ -20,4 +56,4 @@ This release contains contributions from many people at Google, as well as:
2056

2157
# Release 1.0.0
2258

23-
* Initial release of Neural Structured Learning in TensorFlow
59+
* Initial release of Neural Structured Learning in TensorFlow.

neural_structured_learning/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
# We follow Semantic Versioning (https://semver.org/).
1717
_MAJOR_VERSION = '1'
18-
_MINOR_VERSION = '0'
19-
_PATCH_VERSION = '1'
18+
_MINOR_VERSION = '1'
19+
_PATCH_VERSION = '0'
2020

2121
_VERSION_SUFFIX = ''
2222

0 commit comments

Comments
 (0)