FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge branch 'r1.9' into cherrypicks_5M8WT · codeplaysoftware/tensorflow@d0ff422 · GitHub

Repository navigation

Commit d0ff422

Browse files
authored
Merge branch 'r1.9' into cherrypicks_5M8WT
2 parents 74ca837 + 44333e4 commit d0ff422

80 files changed

Lines changed: 577 additions & 203 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ data flow graphs. The graph nodes represent mathematical operations, while
1414
the graph edges represent the multidimensional data arrays (tensors) that flow
1515
between them. This flexible architecture enables you to deploy computation to one
1616
or more CPUs or GPUs in a desktop, server, or mobile device without rewriting
17-
code. TensorFlow also includes [TensorBoard](https://www.tensorflow.org/programmers_guide/summaries_and_tensorboard), a data visualization toolkit.
17+
code. TensorFlow also includes [TensorBoard](https://www.tensorflow.org/guide/summaries_and_tensorboard), a data visualization toolkit.
1818

1919
TensorFlow was originally developed by researchers and engineers
2020
working on the Google Brain team within Google's Machine Intelligence Research

‎RELEASE.md‎

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,38 @@
11
# Release 1.9.0
22

33
## Major Features And Improvements
4-
* Update tf.keras to the Keras 2.1.6 API.
4+
* Updated docs for `tf.keras`: New Keras-based [get started](http://tensorflow.org/versions/r1.9/get_started),
5+
and [programmers guide page](http://tensorflow.org/versions/r1.9/programmers_guide/keras).
6+
* Update `tf.keras` to the Keras 2.1.6 API.
7+
* Added [`tf.keras.layers.CuDNNGRU`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/keras/layers/CuDNNGRU) and [`tf.keras.layers.CuDNNLSTM`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/keras/layers/CuDNNLSTM) layers. [Try it](https://colab.sandbox.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/contrib/eager/python/examples/nmt_with_attention/nmt_with_attention.ipynb?linkId=53292082).
8+
* Adding support of core [feature columns](https://www.tensorflow.org/get_started/feature_columns) and [losses](https://www.tensorflow.org/api_docs/python/tf/losses) to [gradient boosted trees estimators](https://github.com/tensorflow/models/tree/master/official/boosted_trees).
9+
* The [python interface](https://tensorflow-dot-devsite.googleplex.com/versions/r1.9/api_docs/python/tf/contrib/lite)
10+
for the [TFLite Optimizing Converter](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/lite/toco/README.md)
11+
has been expanded, and the command line interface (AKA: `toco`, `tflite_convert`) is once again
12+
included in the standard `pip` installation.
13+
* Improved data-loading and text processing with:
14+
* [`tf.decode_compressed`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/decode_compressed)
15+
* [`tf.string_strip`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/string_strip)
16+
* [`tf.strings.regex_full_match`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/strings/regex_full_match)
17+
* Added experimental support for new pre-made Estimators:
18+
* [`tf.contrib.estimator.BaselineEstimator`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/contrib/estimator/BaselineEstimator)
19+
* [`tf.contrib.estimator.RNNClassifier`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/contrib/estimator/RNNEstimator)
20+
* [`tf.contrib.estimator.RNNEstimator`](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/contrib/estimator/RNNClassifier)
21+
* The [distributions.Bijector](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/contrib/distributions/bijectors/Bijector)
22+
API supports broadcasting for Bijectors with new API changes.
23+
24+
## Breaking Chances
25+
* If you're opening empty variable scopes; replace `variable_scope('', ...)` by
26+
`variable_scope(tf.get_variable_scope(), ...)`.
27+
28+
## Bug Fixes and Other Changes
29+
530
* `tfe.Network` is deprecated. Please inherit from `tf.keras.Model`.
6-
* Adding support of core feature columns and losses to gradient boosted trees estimators.
7-
* The distributions.Bijector API supports broadcasting for Bijectors with new API changes. See [here](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/distributions/bijectors/Bijector) for more details.
831
* Layered variable names have changed in the following conditions:
932
* Using `tf.keras.layers` with custom variable scopes.
10-
* Using `tf.layers` in a subclassed `tf.keras.Model` class. See [here](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/layers) for more details
33+
* Using `tf.layers` in a subclassed `tf.keras.Model` class. See
34+
[here](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/layers) for more details
1135

12-
## Breaking Chances
13-
* If you're opening empty variable scopes; replace `variable_scope`('', ...) by `variable_scope`(`tf.get_variable_scope()`, ...).
14-
15-
## Bug Fixes and Other Changes
1636
* `tf.data`:
1737
* `Dataset.from_generator()` now accepts an `args` list, in order to create nested generators.
1838
* `Dataset.list_files()` now produces determinstic results when `shuffle=False` or a `seed` is passed.
@@ -467,7 +487,7 @@ answered questions, and were part of inspiring discussions.
467487

468488
## Major Features And Improvements
469489
* `tf.keras` is now part of the core TensorFlow API.
470-
* [`tf.data`](http://tensorflow.org/programmers_guide/datasets) is now part of
490+
* [`tf.data`](http://tensorflow.org/guide/datasets) is now part of
471491
the core TensorFlow API.
472492
* The API is now subject to backwards compatibility guarantees.
473493

@@ -495,7 +515,7 @@ answered questions, and were part of inspiring discussions.
495515
* TensorFlow Debugger (tfdbg):
496516
* Add `eval` command to allow evaluation of arbitrary Python/numpy expressions
497517
in tfdbg command-line interface. See
498-
[Debugging TensorFlow Programs](https://www.tensorflow.org/programmers_guide/debugger)
518+
[Debugging TensorFlow Programs](https://www.tensorflow.org/guide/debugger)
499519
for more details.
500520
* Usability improvement: The frequently used tensor filter `has_inf_or_nan` is
501521
now added to `Session` wrappers and hooks by default. So there is no need
@@ -782,7 +802,7 @@ answered questions, and were part of inspiring discussions.
782802
* Support client-provided ClusterSpec's and propagate them to all workers to enable the creation of dynamic TensorFlow clusters.
783803
* TensorFlow C library now available for Windows.
784804
* We released a new open-source version of TensorBoard.
785-
* [`SavedModel CLI`](https://www.tensorflow.org/versions/master/programmers_guide/saved_model_cli) tool available to inspect and execute MetaGraph in SavedModel
805+
* [`SavedModel CLI`](https://www.tensorflow.org/versions/master/guide/saved_model_cli) tool available to inspect and execute MetaGraph in SavedModel
786806
* Android releases of TensorFlow are now pushed to jcenter for easier
787807
integration into apps. See
788808
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/android/README.md

‎tensorflow/contrib/autograph/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ IMPORTANT: AutoGraph is alpha software, and under active development. Expect rou
44

55
AutoGraph is a Python to TensorFlow compiler.
66

7-
With AutoGraph, you can write [Eager style](https://www.tensorflow.org/programmers_guide/eager) code in a concise manner, and run it as a TensorFlow graph. AutoGraph uses source code transformation and partial evaluation to generate Python code that builds an equivalent TensorFlow subgraph. The result is code that behaves like ops and can be freely combined with other TensorFlow ops.
7+
With AutoGraph, you can write [Eager style](https://www.tensorflow.org/guide/eager) code in a concise manner, and run it as a TensorFlow graph. AutoGraph uses source code transformation and partial evaluation to generate Python code that builds an equivalent TensorFlow subgraph. The result is code that behaves like ops and can be freely combined with other TensorFlow ops.
88

99
For example, this Python function:
1010

‎tensorflow/contrib/data/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
guarantees as `tf.data`, but we will provide deprecation advice in advance of
2121
removing existing functionality.
2222
23-
See the @{$datasets$Importing Data} Programmer's Guide for an overview.
23+
See @{$guide/datasets$Importing Data} for an overview.
2424
2525
@@Counter
2626
@@CheckpointInputPipelineHook

‎tensorflow/contrib/eager/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Installation instructions at https://www.tensorflow.org/install/
4444

4545
For an introduction to eager execution in TensorFlow, see:
4646

47-
- [User Guide](https://www.tensorflow.org/programmers_guide/eager) ([source](../../docs_src/programmers_guide/eager.md))
47+
- [User Guide](https://www.tensorflow.org/guide/eager) ([source](../../docs_src/guide/eager.md))
4848
- Notebook: [Basic Usage](python/examples/notebooks/1_basics.ipynb)
4949
- Notebook: [Gradients](python/examples/notebooks/2_gradients.ipynb)
5050
- Notebook: [Importing Data](python/examples/notebooks/3_datasets.ipynb)

‎tensorflow/contrib/eager/python/examples/notebooks/3_datasets.ipynb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"source": [
1010
"# Eager Execution Tutorial: Importing Data\n",
1111
"\n",
12-
"This notebook demonstrates the use of the [`tf.data.Dataset` API](https://www.tensorflow.org/programmers_guide/datasets) to build pipelines to feed data to your program. It covers:\n",
12+
"This notebook demonstrates the use of the [`tf.data.Dataset` API](https://www.tensorflow.org/guide/datasets) to build pipelines to feed data to your program. It covers:\n",
1313
"\n",
1414
"* Creating a `Dataset`.\n",
1515
"* Iteration over a `Dataset` with eager execution enabled.\n",
@@ -18,7 +18,7 @@
1818
"\n",
1919
"If you're familiar with TensorFlow graphs, the API for constructing the `Dataset` object remains exactly the same when eager execution is enabled, but the process of iterating over elements of the dataset is slightly simpler.\n",
2020
"You can use Python iteration over the `tf.data.Dataset` object and do not need to explicitly create an `tf.data.Iterator` object.\n",
21-
"As a result, the discussion on iterators in the [Programmer's Guide](https://www.tensorflow.org/programmers_guide/datasets) is not relevant when eager execution is enabled."
21+
"As a result, the discussion on iterators in the [TensorFlow Guide](https://www.tensorflow.org/guide/datasets) is not relevant when eager execution is enabled."
2222
]
2323
},
2424
{
@@ -63,7 +63,7 @@
6363
"source": [
6464
"# Step 1: Create a source `Dataset`\n",
6565
"\n",
66-
"Create a _source_ dataset using one of the factory functions like [`Dataset.from_tensors`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset#from_tensors), [`Dataset.from_tensor_slices`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset#from_tensor_slices) or using objects that read from files like [`TextLineDataset`](https://www.tensorflow.org/api_docs/python/tf/data/TextLineDataset) or [`TFRecordDataset`](https://www.tensorflow.org/api_docs/python/tf/data/TFRecordDataset). See the [Programmer's Guide](https://www.google.com/url?sa=D\u0026q=https%3A%2F%2Fwww.tensorflow.org%2Fprogrammers_guide%2Fdatasets%23reading_input_data) for more information."
66+
"Create a _source_ dataset using one of the factory functions like [`Dataset.from_tensors`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset#from_tensors), [`Dataset.from_tensor_slices`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset#from_tensor_slices) or using objects that read from files like [`TextLineDataset`](https://www.tensorflow.org/api_docs/python/tf/data/TextLineDataset) or [`TFRecordDataset`](https://www.tensorflow.org/api_docs/python/tf/data/TFRecordDataset). See the [TensorFlow Guide](https://www.tensorflow.org/guide/datasets#reading_input_data) for more information."
6767
]
6868
},
6969
{

‎tensorflow/contrib/eager/python/g3doc/guide.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Eager execution is a feature that makes TensorFlow execute operations
44
immediately: concrete values are returned, instead of creating a computational
55
graph that is executed later.
66

7-
A user guide is available: https://www.tensorflow.org/programmers_guide/eager
8-
([source file](../../../../docs_src/programmers_guide/eager.md))
7+
A user guide is available: https://www.tensorflow.org/guide/eager
8+
([source file](../../../../docs_src/guide/eager.md))
99

1010
We welcome feedback through [GitHub issues](https://github.com/tensorflow/tensorflow/labels/comp:eager).
1111

‎tensorflow/contrib/lite/toco/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Usage information is given in these documents:
1717
Once an application developer has a trained TensorFlow model, TOCO will accept
1818
that model and generate a TensorFlow Lite
1919
[FlatBuffer](https://google.github.io/flatbuffers/) file. TOCO currently supports
20-
[SavedModels](https://www.tensorflow.org/programmers_guide/saved_model#using_savedmodel_with_estimators)
20+
[SavedModels](https://www.tensorflow.org/guide/saved_model#using_savedmodel_with_estimators)
2121
and frozen graphs (models generated via
2222
[freeze_graph.py](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/tools/freeze_graph.py)).
2323
The TensorFlow Lite FlatBuffer file can be shipped to client devices, generally

‎tensorflow/contrib/tpu/python/tpu/tpu_estimator.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ def _validate_input_pipeline(self):
11031103
err_msg = ('Input pipeline contains one or more QueueRunners. '
11041104
'It could be slow and not scalable. Please consider '
11051105
'converting your input pipeline to use `tf.data` instead (see '
1106-
'https://www.tensorflow.org/programmers_guide/datasets for '
1106+
'https://www.tensorflow.org/guide/datasets for '
11071107
'instructions.')
11081108
if _WRAP_INPUT_FN_INTO_WHILE_LOOP:
11091109
raise RuntimeError(err_msg)

‎tensorflow/core/protobuf/config.proto‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ message GPUOptions {
147147

148148
// Everything inside experimental is subject to change and is not subject
149149
// to API stability guarantees in
150-
// https://www.tensorflow.org/programmers_guide/version_compat.
150+
// https://www.tensorflow.org/guide/version_compat.
151151
Experimental experimental = 9;
152152
};
153153

@@ -381,7 +381,7 @@ message ConfigProto {
381381

382382
// Everything inside Experimental is subject to change and is not subject
383383
// to API stability guarantees in
384-
// https://www.tensorflow.org/programmers_guide/version_compat.
384+
// https://www.tensorflow.org/guide/version_compat.
385385
message Experimental {
386386
// Task name for group resolution.
387387
string collective_group_leader = 1;
@@ -426,7 +426,7 @@ message RunOptions {
426426

427427
// Everything inside Experimental is subject to change and is not subject
428428
// to API stability guarantees in
429-
// https://www.tensorflow.org/programmers_guide/version_compat.
429+
// https://www.tensorflow.org/guide/version_compat.
430430
message Experimental {
431431
// If non-zero, declares that this graph is going to use collective
432432
// ops and must synchronize step_ids with any other graph with this

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL