Skip to content

Commit 5aa569e

Browse files
authored
Merge pull request #2 from petewarden/master
Update the branch to the latest TensorFlow version
2 parents 9b04553 + 5dde9b7 commit 5aa569e

File tree

3,090 files changed

+95172
-46526
lines changed

Some content is hidden

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

3,090 files changed

+95172
-46526
lines changed

tools/bazel.rc renamed to .bazelrc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ build:nonccl --define=no_nccl_support=true
7676

7777
build --define=use_fast_cpp_protos=true
7878
build --define=allow_oversize_protos=true
79-
build --define=grpc_no_ares=true
8079

8180
build --spawn_strategy=standalone
8281
build --genrule_strategy=standalone
@@ -93,3 +92,14 @@ build:dynamic_kernels --copt=-DAUTOLOAD_DYNAMIC_KERNELS
9392
build --define=PREFIX=/usr
9493
build --define=LIBDIR=$(PREFIX)/lib
9594
build --define=INCLUDEDIR=$(PREFIX)/include
95+
96+
# Disable MKL-DNN contraction kernels by default.
97+
build --define=tensorflow_mkldnn_contraction_kernel=0
98+
99+
# Default options should come above this line
100+
101+
# Options from ./configure
102+
try-import %workspace%/.tf_configure.bazelrc
103+
104+
# Put user-specific options in .bazelrc.user
105+
try-import %workspace%/.bazelrc.user

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.DS_Store
22
.ipynb_checkpoints
33
node_modules
4-
/.bazelrc
4+
/.bazelrc.user
55
/.tf_configure.bazelrc
66
/bazel-*
77
/bazel_pip

CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Where component owners are known, add them here.
22

33
/tenosrflow/core/debug @caisq
4-
/tensorflow/core/nccl/ @azaks @csigg
4+
/tensorflow/core/nccl/ @azaks2 @chsigg
55
/tensorflow/core/platform/windows/ @mrry
66
/tensorflow/core/platform/s3 @yongtang
77
/tensorflow/go @asimshankar
@@ -51,13 +51,13 @@
5151
/tensorflow/contrib/pi_examples/ @maciekcc
5252
/tensorflow/contrib/quantization/ @petewarden
5353
/tensorflow/contrib/rnn/ @ebrevdo @scottzhu
54-
/tensorflow/contrib/saved_model/ @nfiedel @sukritiramesh @allenl
54+
/tensorflow/contrib/saved_model/ @nfiedel @sukritiramesh @allenlavoie
5555
/tensorflow/contrib/seq2seq/ @ebrevdo @lmthang
5656
/tensorflow/contrib/session_bundle/ @nfiedel @sukritiramesh
5757
/tensorflow/contrib/slim/ @sguada @thenbasilmanran
5858
/tensorflow/contrib/stateless/ @girving @alextp
5959
/tensorflow/contrib/tensor_forest/ @gilberthendry @thomascolthurst @yupbank
60-
/tensorflow/contrib/tensorrt/ @aaroey
60+
/tensorflow/contrib/tensorrt/ @aaroey @smit-hinsu @azaks2
6161
# NEED OWNER: /tensorflow/contrib/testing/
6262
/tensorflow/contrib/timeseries/ @allenlavoie
6363
/tensorflow/contrib/tpu/ @frankchn @saeta @jhseu @sourabhbajaj

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,12 @@ The TensorFlow project strives to abide by generally accepted best practices in
113113
Build Type | Status | Artifacts
114114
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------
115115
**IBM s390x** | [![Build Status](http://ibmz-ci.osuosl.org/job/TensorFlow_IBMZ_CI/badge/icon)](http://ibmz-ci.osuosl.org/job/TensorFlow_IBMZ_CI/) | TBA
116-
**IBM ppc64le CPU** | [![Build Status](http://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Build/badge/icon)](http://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Build/) | TBA
117-
**IBM ppc64le GPU** Nightly | [![Build Status](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Nightly_Artifact/badge/icon)](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Nightly_Artifact/) | [Nightly](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Nightly_Artifact/)
118-
**IBM ppc64le GPU** Stable Release | [![Build Status](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Release_Build/badge/icon)](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Release_Build/) | [Release](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Release_Build/)
116+
**Linux ppc64le CPU** Nightly | [![Build Status](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Build/badge/icon)](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Build/) | [Nightly](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Nightly_Artifact/)
117+
**Linux ppc64le CPU** Stable Release | [![Build Status](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Release_Build/badge/icon)](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Release_Build/) | [Release](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_CPU_Release_Build/)
118+
**Linux ppc64le GPU** Nightly | [![Build Status](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Build/badge/icon)](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Build/) | [Nightly](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Nightly_Artifact/)
119+
**Linux ppc64le GPU** Stable Release | [![Build Status](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Release_Build/badge/icon)](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Release_Build/) | [Release](https://powerci.osuosl.org/job/TensorFlow_PPC64LE_GPU_Release_Build/)
119120
**Linux CPU with Intel® MKL-DNN** Nightly | [![Build Status](https://tensorflow-ci.intel.com/job/tensorflow-mkl-linux-cpu/badge/icon)](https://tensorflow-ci.intel.com/job/tensorflow-mkl-linux-cpu/) | [Nightly](https://tensorflow-ci.intel.com/job/tensorflow-mkl-build-whl-nightly/)
120-
**Linux CPU with Intel® MKL-DNN** Python 2.7<br> **Linux CPU with Intel® MKL-DNN** Python 3.4<br> **Linux CPU with Intel® MKL-DNN** Python 3.5<br> **Linux CPU with Intel® MKL-DNN** Python 3.6 | [![Build Status](https://tensorflow-ci.intel.com/job/tensorflow-mkl-build-release-whl/badge/icon)](https://tensorflow-ci.intel.com/job/tensorflow-mkl-build-release-whl/lastStableBuild) | [1.11.0 py2.7](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.11.0-cp27-cp27mu-linux_x86_64.whl)<br>[1.11.0 py3.4](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.11.0-cp34-cp34m-linux_x86_64.whl)<br>[1.11.0 py3.5](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.11.0-cp35-cp35m-linux_x86_64.whl)<br>[1.11.0 py3.6](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl)
121+
**Linux CPU with Intel® MKL-DNN** Python 2.7<br> **Linux CPU with Intel® MKL-DNN** Python 3.4<br> **Linux CPU with Intel® MKL-DNN** Python 3.5<br> **Linux CPU with Intel® MKL-DNN** Python 3.6 | [![Build Status](https://tensorflow-ci.intel.com/job/tensorflow-mkl-build-release-whl/badge/icon)](https://tensorflow-ci.intel.com/job/tensorflow-mkl-build-release-whl/lastStableBuild) | [1.12.0 py2.7](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.12.0-cp27-cp27mu-linux_x86_64.whl)<br>[1.12.0 py3.4](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.12.0-cp34-cp34m-linux_x86_64.whl)<br>[1.12.0 py3.5](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl)<br>[1.12.0 py3.6](https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.12.0-cp36-cp36m-linux_x86_64.whl)
121122

122123
## For more information
123124

RELEASE.md

Lines changed: 72 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
Serving.
88
* Keras models now support evaluating with a `tf.data.Dataset`.
99
* TensorFlow binaries are built with XLA support linked in by default.
10+
* Ignite Dataset added to contrib/ignite that allows to work with Apache
11+
Ignite.
1012

1113
## Bug Fixes and Other Changes
1214

@@ -280,50 +282,76 @@ Ag Ramesh, Alex Wiltschko, Alexander Pantyukhin, Amogh Mannekote, An Jiaoyang, A
280282

281283
## Bug Fixes and Other Changes
282284

283-
* `tfe.Network` is deprecated. Please inherit from `tf.keras.Model`.
284-
* Layered variable names have changed in the following conditions:
285-
* Using `tf.keras.layers` with custom variable scopes.
286-
* Using `tf.layers` in a subclassed `tf.keras.Model` class. See
287-
[here](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/layers) for more details
288-
* `tf.data`:
289-
* `Dataset.from_generator()` now accepts an `args` list, in order to create nested generators.
290-
* `Dataset.list_files()` now produces determinstic results when `shuffle=False` or a `seed` is passed.
291-
* `tf.contrib.data.sample_from_datasets()` and `tf.contrib.data.choose_from_datasets()` make it easier to sample or deterministically choose elements from multiple datasets.
292-
* `tf.contrib.data.make_csv_dataset()` now supports line breaks in quoted strings, and two infrequently used arguments removed.
293-
* (C++) `DatasetBase::DebugString()` is now `const`.
294-
* (C++) `DatasetBase::MakeIterator()` has been renamed to `DatasetBase::MakeIteratorInternal()`.
295-
* (C++) `IteratorBase::Initialize()` method was added to support raising errors during iterator construction.
296-
* Eager Execution:
297-
* Added the ability to pause recording operations for gradient computation via `tf.GradientTape.stop_recording`.
298-
* Updated documentation, introductory notebooks.
299-
* `tf.keras`:
300-
* Move Keras code out of _impl folder and remove API files.
301-
* `tf.keras.Model.save_weights` now saves in TensorFlow format by default.
302-
* Enable dataset iterators to be passed to `tf.keras.Model` training/eval methods.
303-
* TensorFlow Debugger (tfdbg) CLI: fix an issue in which the TensorBoard Debugger Plugin could not handle total source file size exceeding gRPC message size limit (4 MB).
304-
* `tf.contrib`:
305-
* `tf.contrib.framework.zero_initializer` supports ResourceVariable.
306-
* Adding "constrained_optimization" to tensorflow/contrib.
307-
* Other:
308-
* Add GCS Configuration Ops.
309-
* Changing signature of `MakeIterator` to enable propagating error status.
310-
* KL divergence for two Dirichlet distributions.
311-
* More consistent GcsFileSystem behavior for certain reads past EOF.
312-
* Update benchmark for tf.scan to match ranges across eager and graph modes.
313-
* Fixed bug in `tf.reduce_prod gradient` for complex dtypes.
314-
* Allow the use of '.' in variables (e.g. "hparams.parse('a.b=1.0')"), which would previously raise an error. This will correspond to an attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only be accessed indirectly (e.g. through getattr and setattr). To set this up the user will first need to explicitly add the variable to the hparam object (e.g. "hparams.add_hparam(name='a.b', value=0.0)").
315-
* Benchmark for tf.scan in graph and eager modes.
316-
* Added complex128 support to FFT, FFT2D, FFT3D, IFFT, IFFT2D, and IFFT3D.
317-
* Making ids unique in `nn.embedding_lookup_sparse`. This helps to reduce RPC calls for looking up the embeddings when there are repeated ids in the batch.
318-
* Support indicator column in boosted trees.
319-
* Prevent `tf.gradients()` from backpropagating through integer tensors.
320-
* LinearOperator[1D,2D,3D]Circulant added to `tensorflow.linalg`.
321-
* Conv3D, Conv3DBackpropInput, Conv3DBackpropFilter now supports arbitrary.
322-
* Added `tf.train.Checkpoint` for reading/writing object-based checkpoints.
323-
* Added LinearOperatorKronecker, a dense-free implementation of the Kronecker Product.
324-
* Allow LinearOperator to broadcast.
325-
* SavedModelBuilder will now deduplicate asset names that point to files with the same basename and the same contents. Note that this may result in new asset files included in SavedModels in cases where assets with the same name but different contents were previously overwriting each other.
326-
285+
* `tfe.Network` is deprecated. Please inherit from `tf.keras.Model`.
286+
* Layered variable names have changed in the following conditions:
287+
* Using `tf.keras.layers` with custom variable scopes.
288+
* Using `tf.layers` in a subclassed `tf.keras.Model` class. See
289+
[here](https://www.tensorflow.org/versions/r1.9/api_docs/python/tf/layers)
290+
for more details
291+
* `tf.data`:
292+
* `Dataset.from_generator()` now accepts an `args` list, in order to
293+
create nested generators.
294+
* `Dataset.list_files()` now produces deterministic results when
295+
`shuffle=False` or a `seed` is passed.
296+
* `tf.contrib.data.sample_from_datasets()` and
297+
`tf.contrib.data.choose_from_datasets()` make it easier to sample or
298+
deterministically choose elements from multiple datasets.
299+
* `tf.contrib.data.make_csv_dataset()` now supports line breaks in quoted
300+
strings, and two infrequently used arguments removed.
301+
* (C++) `DatasetBase::DebugString()` is now `const`.
302+
* (C++) `DatasetBase::MakeIterator()` has been renamed to
303+
`DatasetBase::MakeIteratorInternal()`.
304+
* (C++) `IteratorBase::Initialize()` method was added to support raising
305+
errors during iterator construction.
306+
* Eager Execution:
307+
* Added the ability to pause recording operations for gradient computation
308+
via `tf.GradientTape.stop_recording`.
309+
* Updated documentation, introductory notebooks.
310+
* `tf.keras`:
311+
* Move Keras code out of _impl folder and remove API files.
312+
* `tf.keras.Model.save_weights` now saves in TensorFlow format by default.
313+
* Enable dataset iterators to be passed to `tf.keras.Model` training/eval
314+
methods.
315+
* TensorFlow Debugger (tfdbg) CLI: fix an issue in which the TensorBoard
316+
Debugger Plugin could not handle total source file size exceeding gRPC
317+
message size limit (4 MB).
318+
* `tf.contrib`:
319+
* `tf.contrib.framework.zero_initializer` supports ResourceVariable.
320+
* Adding "constrained_optimization" to tensorflow/contrib.
321+
* Other:
322+
* Add GCS Configuration Ops.
323+
* Changing signature of `MakeIterator` to enable propagating error status.
324+
* KL divergence for two Dirichlet distributions.
325+
* More consistent GcsFileSystem behavior for certain reads past EOF.
326+
* Update benchmark for tf.scan to match ranges across eager and graph
327+
modes.
328+
* Fixed bug in `tf.reduce_prod gradient` for complex dtypes.
329+
* Allow the use of '.' in variables (e.g. "hparams.parse('a.b=1.0')"),
330+
which would previously raise an error. This will correspond to an
331+
attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only
332+
be accessed indirectly (e.g. through getattr and setattr). To set this
333+
up the user will first need to explicitly add the variable to the hparam
334+
object (e.g. "hparams.add_hparam(name='a.b', value=0.0)").
335+
* Benchmark for tf.scan in graph and eager modes.
336+
* Added complex128 support to FFT, FFT2D, FFT3D, IFFT, IFFT2D, and IFFT3D.
337+
* Making ids unique in `nn.embedding_lookup_sparse`. This helps to reduce
338+
RPC calls for looking up the embeddings when there are repeated ids in
339+
the batch.
340+
* Support indicator column in boosted trees.
341+
* Prevent `tf.gradients()` from backpropagating through integer tensors.
342+
* LinearOperator[1D,2D,3D]Circulant added to `tensorflow.linalg`.
343+
* Conv3D, Conv3DBackpropInput, Conv3DBackpropFilter now supports
344+
arbitrary.
345+
* Added `tf.train.Checkpoint` for reading/writing object-based
346+
checkpoints.
347+
* Added LinearOperatorKronecker, a dense-free implementation of the
348+
Kronecker Product.
349+
* Allow LinearOperator to broadcast.
350+
* SavedModelBuilder will now deduplicate asset names that point to files
351+
with the same basename and the same contents. Note that this may result
352+
in new asset files included in SavedModels in cases where assets with
353+
the same name but different contents were previously overwriting each
354+
other.
327355

328356
## Thanks to our Contributors
329357

0 commit comments

Comments
 (0)