From 92611622e4f200f3852e1c6f6e0a7e786a345fa5 Mon Sep 17 00:00:00 2001 From: Charles Weill Date: Mon, 17 Dec 2018 18:03:52 -0500 Subject: [PATCH] Release v0.5.0. Add missing documentation for TrainOpSpec. PiperOrigin-RevId: 225897121 --- RELEASE.md | 8 +++++++- adanet/version.py | 2 +- docs/source/adanet.subnetwork.rst | 6 ++++++ docs/source/conf.py | 4 ++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index e16ac41d..c88d0c93 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -13,9 +13,15 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================--> -# Current version (0.5.0-dev) +# Current version (0.6.0-dev) * Under development. +# Release 0.5.0 + * Support training on TPU using `adanet.TPUEstimator`. + * Allow subnetworks to specify `tf.train.SessionRunHook` instances for training with `adanet.subnetwork.TrainOpSpec`. + * Add API documentation generation with Sphinx. + * Fix bug preventing subnetworks with Resource variables from working beyond the first iteration. + # Release 0.4.0 * Add `shared` field to `adanet.Subnetwork` to deprecate, replace, and be more flexible than `persisted_tensors`. * Officially support multi-head learning with or without dict labels. diff --git a/adanet/version.py b/adanet/version.py index 8f460dc3..ce56b831 100644 --- a/adanet/version.py +++ b/adanet/version.py @@ -14,4 +14,4 @@ # ============================================================================== """Contains the version string.""" -__version__ = "0.4.0" +__version__ = "0.5.0" diff --git a/docs/source/adanet.subnetwork.rst b/docs/source/adanet.subnetwork.rst index 6eb870c8..0b92b609 100644 --- a/docs/source/adanet.subnetwork.rst +++ b/docs/source/adanet.subnetwork.rst @@ -19,6 +19,12 @@ Interfaces and containers for defining subnetworks, search spaces, and search al .. autoclass:: Subnetwork :members: +:hidden:`TrainOpSpec` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. autoclass:: TrainOpSpec + :members: + :hidden:`Builder` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/source/conf.py b/docs/source/conf.py index cfb4f96f..7a6b0923 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -35,9 +35,9 @@ author = u'AdaNet Authors' # The short X.Y version -version = u'0.4.0' +version = u'0.5.0' # The full version, including alpha/beta/rc tags -release = u'[0.4.0]' +release = u'[0.5.0]' # -- General configuration ---------------------------------------------------