platform/upstream/tensorflow.git
5 years agoCMake: clean up archive files with cmake
MyungJoo Ham [Mon, 8 Jul 2019 10:52:51 +0000 (19:52 +0900)]
CMake: clean up archive files with cmake

There are dirty cmake caches in archives.
Clean them up.

Change-Id: Iafdbe246499afc4e75f920c43a4eaa60e044c91b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoArchive Update with make clean, removed eigen patch.
MyungJoo Ham [Mon, 8 Jul 2019 10:46:46 +0000 (19:46 +0900)]
Archive Update with make clean, removed eigen patch.

1. Eigen is pre-patched.
2. Archives cleaned up (WIP)

Change-Id: I99d85304957b13250c7ac6b56bedfd130d7f05e7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoWIP. Experimenting with GBS
MyungJoo Ham [Fri, 28 Jun 2019 13:47:49 +0000 (22:47 +0900)]
WIP. Experimenting with GBS

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years ago[Dist] Added build-dependency on ICU
MyungJoo Ham [Fri, 28 Jun 2019 08:09:20 +0000 (17:09 +0900)]
[Dist] Added build-dependency on ICU

Tensorflow uses ICU for unicode processing.

Change-Id: I3746811b7a3c25205cdcb172055e42fabb09fee7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoAdded cmake dependency
MyungJoo Ham [Fri, 28 Jun 2019 07:39:19 +0000 (16:39 +0900)]
Added cmake dependency

There was a missing dependency that incurs
build errors stochastically.

tensorflow/core/grappler/optimizers/data/vectorization/cwise_op_vectorizer.cc:18:10: fatal error: tensorflow/cc/ops/array_ops.h: No such file or directory

Change-Id: I91b5923a90aab8080ea9cd559eb66e7c0b62f414
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years ago[Dist] Added archive files for tensorflow static build
MyungJoo Ham [Fri, 28 Jun 2019 07:36:05 +0000 (16:36 +0900)]
[Dist] Added archive files for tensorflow static build

Tensorflow still does the primitive and PITA of
downloading all external library source codes
and embeded them statically.

As we don't intend to refactor the whole build
structure of tensorflow, we added the archives.

Change-Id: I7cddfa8bf8b1d191b24ac13554b94ed44ef978f7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoCMake Build Fixed. It Works!
MyungJoo Ham [Fri, 28 Jun 2019 06:43:10 +0000 (15:43 +0900)]
CMake Build Fixed. It Works!

CMake build success with network support

How to do:
$ pushd build
$ cmake ../tensorflow/contrib/cmake  -Dtensorflow_ENABLE_SSL_SUPPORT=OFF -Deigen_PATCH_FILE=/source/tizen/tensorflow/packaging/eigen.patch; make -j4

TODO
- Archive downloaded packages for GBS
- Package binary files properly
- Code clean and reformulate commits

Change-Id: I1f8d175f0b5518701e1e8c22077f2318e6c6ec58
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoCMake Dependency fix
MyungJoo Ham [Thu, 27 Jun 2019 12:30:32 +0000 (21:30 +0900)]
CMake Dependency fix

Add array_ops dependency, which was missing
Removed a duplicated file inclusion, creating build errors.

Change-Id: I5c7de3d69d1c9d7fd1056f8c170344b42f4b8426
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoLet CMake Load ICU
MyungJoo Ham [Thu, 27 Jun 2019 12:29:07 +0000 (21:29 +0900)]
Let CMake Load ICU

ICU is required by unicode-related codes

Change-Id: Ib01def46bb8318563be0fbfe6d84601f42db369c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoEigen fix 2
MyungJoo Ham [Thu, 27 Jun 2019 12:28:18 +0000 (21:28 +0900)]
Eigen fix 2

use
build$ cmake ../tensorflow/contrib/cmake  -Dtensorflow_ENABLE_SSL_SUPPORT=OFF -Deigen_PATCH_FILE=${ABSOLUTEPATH}/packaging/eigen.patch

Change-Id: I5e56260e9318f14df72009365b18d9a9870f8f6c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
5 years agoUpdate Eigen Fix for Reusability
MyungJoo Ham [Thu, 27 Jun 2019 04:04:47 +0000 (13:04 +0900)]
Update Eigen Fix for Reusability

use
build$ cmake ../tensorflow/contrib/cmake  -Dtensorflow_ENABLE_SSL_SUPPORT=OFF -Deigen_PATCH_FILE=../packaging/eigen.patch

Change-Id: Iaab17b57a3af1737173c306a5351c5972e20450d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
6 years agoWIP: Fix Eigen Errors
MyungJoo Ham [Wed, 26 Jun 2019 10:19:06 +0000 (19:19 +0900)]
WIP: Fix Eigen Errors

Apply https://bitbucket.org/eigen/eigen/commits/88fc23324517/

Change-Id: I7ca808e5f91ed7e65d9c1a7d80cb943002c6d682
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
6 years agoWIP: ABSL Error and Array_ops Error Fixed
MyungJoo Ham [Wed, 26 Jun 2019 09:17:17 +0000 (18:17 +0900)]
WIP: ABSL Error and Array_ops Error Fixed

Change-Id: I0e94da6128d841ca9c86cbbf264006cc2cb7035f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
6 years agoWIP2 Fixingup ABSL
MyungJoo Ham [Tue, 18 Jun 2019 09:11:02 +0000 (18:11 +0900)]
WIP2 Fixingup ABSL

Change-Id: Icb539d8789ee87f426e544a248a6ab21d3b1f927
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
6 years agoWIP
MyungJoo Ham [Tue, 18 Jun 2019 04:11:50 +0000 (13:11 +0900)]
WIP

Change-Id: Ifad90cf9964e63277c57fa9c2fd27c4eab17f4e6
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
6 years ago[Dist] Rebased porting patches for 1.13.1
MyungJoo Ham [Tue, 11 Jun 2019 12:14:15 +0000 (21:14 +0900)]
[Dist] Rebased porting patches for 1.13.1

Selectively rebased and merged.

Change-Id: I77ac6ece2f9496adfa99b6dafa6d3489b828cf93
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
6 years agoImported Upstream version 1.13.1 upstream/1.13.1 upstream/v1.13.1
MyungJoo Ham [Tue, 11 Jun 2019 11:53:48 +0000 (20:53 +0900)]
Imported Upstream version 1.13.1

6 years agoImported Upstream version 1.12.0 upstream/1.12.0
MyungJoo Ham [Tue, 11 Jun 2019 11:49:57 +0000 (20:49 +0900)]
Imported Upstream version 1.12.0

6 years agoImported Upstream version 1.9.0 upstream/1.9.0
MyungJoo Ham [Tue, 11 Jun 2019 11:44:19 +0000 (20:44 +0900)]
Imported Upstream version 1.9.0

6 years agoMerge pull request #20455 from lygztq/r1.9 upstream/v1.9.0
Michael Case [Mon, 9 Jul 2018 20:38:25 +0000 (13:38 -0700)]
Merge pull request #20455 from lygztq/r1.9

fix bug in maxout function

6 years agoMerge branch 'r1.9' into r1.9
Amit Patankar [Fri, 6 Jul 2018 20:11:25 +0000 (13:11 -0700)]
Merge branch 'r1.9' into r1.9

6 years agoMerge pull request #20593 from av8ramit/update_version_final
Gunhan Gulsoy [Fri, 6 Jul 2018 20:10:16 +0000 (13:10 -0700)]
Merge pull request #20593 from av8ramit/update_version_final

Updating the version to 1.9.0 official.

6 years agoMerge branch 'r1.9' into update_version_final
Amit Patankar [Fri, 6 Jul 2018 18:39:59 +0000 (11:39 -0700)]
Merge branch 'r1.9' into update_version_final

6 years agoMerge pull request #20596 from av8ramit/cp_disable_gcp
Gunhan Gulsoy [Fri, 6 Jul 2018 17:35:12 +0000 (10:35 -0700)]
Merge pull request #20596 from av8ramit/cp_disable_gcp

Remove unused gcp and hdfs config flags, as these are on by default now.

6 years agoRemove unused gcp and hdfs config flags, as these are on by default now.
Gunhan Gulsoy [Sat, 30 Jun 2018 05:43:22 +0000 (22:43 -0700)]
Remove unused gcp and hdfs config flags, as these are on by default now.

PiperOrigin-RevId: 202753310

6 years agoMerge pull request #20535 from lamberta/r1.9-cherrypick-docs-no-merge
Gunhan Gulsoy [Fri, 6 Jul 2018 16:41:21 +0000 (09:41 -0700)]
Merge pull request #20535 from lamberta/r1.9-cherrypick-docs-no-merge

r1.9-cherry-pick-request: Docs updates for tutorials, guides, and notebooks

6 years agoMerge branch 'r1.9' into r1.9
Gunhan Gulsoy [Fri, 6 Jul 2018 16:32:55 +0000 (09:32 -0700)]
Merge branch 'r1.9' into r1.9

6 years agoUpdating the version to 1.9.0 official.
Amit Patankar [Fri, 6 Jul 2018 16:27:31 +0000 (09:27 -0700)]
Updating the version to 1.9.0 official.

6 years agofix rc2
Billy Lamberta [Tue, 3 Jul 2018 23:56:01 +0000 (16:56 -0700)]
fix rc2

6 years agoUpdate docs_src in 1.9 to match master
Billy Lamberta [Tue, 3 Jul 2018 23:40:14 +0000 (16:40 -0700)]
Update docs_src in 1.9 to match master

6 years agoUpdate eager notebooks in 1.9 to match master
Billy Lamberta [Tue, 3 Jul 2018 23:17:58 +0000 (16:17 -0700)]
Update eager notebooks in 1.9 to match master

6 years agoMerge pull request #20437 from bhack/patch-1
Amit Patankar [Tue, 3 Jul 2018 18:36:14 +0000 (11:36 -0700)]
Merge pull request #20437 from bhack/patch-1

Advise batch_normalization with model_to_estimator

6 years agoMerge pull request #20489 from tensorflow/yifeif-patch-2
Gunhan Gulsoy [Tue, 3 Jul 2018 05:39:06 +0000 (22:39 -0700)]
Merge pull request #20489 from tensorflow/yifeif-patch-2

Match for -path instead of -name

6 years agoMatch for path instead of name
Yifei Feng [Tue, 3 Jul 2018 00:10:20 +0000 (17:10 -0700)]
Match for path instead of name

6 years agofix bug in maxout function
张天启 [Sun, 1 Jul 2018 14:05:51 +0000 (22:05 +0800)]
fix bug in maxout function

The line "shape[axis] = -1" will make the shape wrong when dealing with batches with arbitrary sizes.

6 years agoAdvise batch_normalization with model_to_estimator
bhack [Sat, 30 Jun 2018 12:54:43 +0000 (14:54 +0200)]
Advise batch_normalization with model_to_estimator

6 years agoExclude test sources from stream executor builds. (#20423)
Michael Case [Fri, 29 Jun 2018 17:19:06 +0000 (10:19 -0700)]
Exclude test sources from stream executor builds. (#20423)

PiperOrigin-RevId: 202423156

6 years agoMerge pull request #20390 from case540/eigen_pip_cherry_pick
Michael Case [Thu, 28 Jun 2018 21:42:25 +0000 (14:42 -0700)]
Merge pull request #20390 from case540/eigen_pip_cherry_pick

Fix install location for Eigen headers in pip build.

6 years agoPotential fix for how pip installs headers used for custom ops.
Michael Case [Thu, 28 Jun 2018 18:24:37 +0000 (11:24 -0700)]
Potential fix for how pip installs headers used for custom ops.

These headers were recently moved from site-packages/external into
site-packages/tensorflow/include/external. Need to update setup.py
to reflect that.

6 years agoMerge pull request #20351 from case540/update_version_19_rc2
Michael Case [Wed, 27 Jun 2018 17:00:59 +0000 (10:00 -0700)]
Merge pull request #20351 from case540/update_version_19_rc2

Update version strings for TF 1.9.0-rc2.

6 years agoMerge pull request #20324 from lamberta/r1.9-cherrypicks
Michael Case [Wed, 27 Jun 2018 16:50:35 +0000 (09:50 -0700)]
Merge pull request #20324 from lamberta/r1.9-cherrypicks

1.9-cherry-pick-request: Doc updates for get_started page and nav

6 years agoUpdate version strings for TF 1.9.0-rc2.
Michael Case [Wed, 27 Jun 2018 16:46:45 +0000 (09:46 -0700)]
Update version strings for TF 1.9.0-rc2.

6 years agoFix checkpoints link in keras guide
Billy Lamberta [Wed, 27 Jun 2018 04:34:07 +0000 (21:34 -0700)]
Fix checkpoints link in keras guide

6 years agoMerge branch 'r1.9' into r1.9-cherrypicks
Billy Lamberta [Wed, 27 Jun 2018 04:06:52 +0000 (21:06 -0700)]
Merge branch 'r1.9' into r1.9-cherrypicks

6 years agoMerge pull request #20323 from case540/statusor_fix
Michael Case [Wed, 27 Jun 2018 02:31:21 +0000 (19:31 -0700)]
Merge pull request #20323 from case540/statusor_fix

Fix XLA header issue for pip build.

6 years agoMerge pull request #20235 from rmlarsen/cherrypicks_5M8WT
Michael Case [Tue, 26 Jun 2018 23:32:39 +0000 (16:32 -0700)]
Merge pull request #20235 from rmlarsen/cherrypicks_5M8WT

Update Eigen version to commit e5e305a158a029f5b5f837bf821411a51439a970.

6 years agoFix leftnav for get_started
Billy Lamberta [Tue, 26 Jun 2018 21:56:57 +0000 (14:56 -0700)]
Fix leftnav for get_started

6 years agoRemove section links that don't go anywhere.
Billy Lamberta [Tue, 26 Jun 2018 18:24:37 +0000 (11:24 -0700)]
Remove section links that don't go anywhere.

6 years agoMerge branch 'r1.9' into cherrypicks_5M8WT
Gunhan Gulsoy [Tue, 26 Jun 2018 22:30:00 +0000 (15:30 -0700)]
Merge branch 'r1.9' into cherrypicks_5M8WT

6 years agoUpdate eigen version to a fixed version for ppc64.
Gunhan Gulsoy [Tue, 26 Jun 2018 22:29:48 +0000 (15:29 -0700)]
Update eigen version to a fixed version for ppc64.

6 years agoFix small typo in RELEASE.md
Michael Case [Tue, 26 Jun 2018 22:07:23 +0000 (15:07 -0700)]
Fix small typo in RELEASE.md

6 years agoMoving StatusOr from XLA to stream_executor.
Michael Case [Tue, 26 Jun 2018 20:05:25 +0000 (13:05 -0700)]
Moving StatusOr from XLA to stream_executor.

PiperOrigin-RevId: 202179928

7 years agoMerge pull request #20310 from petewarden/r1.9
Michael Case [Tue, 26 Jun 2018 17:48:55 +0000 (10:48 -0700)]
Merge pull request #20310 from petewarden/r1.9

 r1.9-rc2 cherry-pick request: Fix for RPi OpenBLAS compile issues, by pinning to known good version

7 years agoMerge pull request #20290 from lamberta/r1.9-cherrypicks
Michael Case [Tue, 26 Jun 2018 16:56:52 +0000 (09:56 -0700)]
Merge pull request #20290 from lamberta/r1.9-cherrypicks

1.9-cherry-pick-request: Docs updates for getting started and guide rename

7 years agoRemoved Python 3.5 updates for RPi
Pete Warden [Tue, 26 Jun 2018 16:36:22 +0000 (09:36 -0700)]
Removed Python 3.5 updates for RPi

7 years agoFix for RPi OpenBLAS compile issues, by pinning to known good version
Pete Warden [Tue, 26 Jun 2018 16:32:12 +0000 (09:32 -0700)]
Fix for RPi OpenBLAS compile issues, by pinning to known good version

7 years agoMerge branch 'r1.9' into r1.9-cherrypicks
Billy Lamberta [Mon, 25 Jun 2018 20:56:34 +0000 (13:56 -0700)]
Merge branch 'r1.9' into r1.9-cherrypicks

7 years agoMerge pull request #20289 from MarkDaoust/r1.9
Michael Case [Mon, 25 Jun 2018 20:46:08 +0000 (13:46 -0700)]
Merge pull request #20289 from MarkDaoust/r1.9

r1.9: release notes Update.

7 years agoMerge pull request #20232 from csuter/cherrypicks
Michael Case [Mon, 25 Jun 2018 20:42:39 +0000 (13:42 -0700)]
Merge pull request #20232 from csuter/cherrypicks

Handle scalar input to assert_equal in eager.

7 years agoRename programmers_guide/ directory to guide/.
Billy Lamberta [Sat, 23 Jun 2018 00:40:27 +0000 (17:40 -0700)]
Rename programmers_guide/ directory to guide/.
Update references in source files and docs in tensorflow and related projects.

PiperOrigin-RevId: 201766994

7 years agoUpdate RELEASE.md
Mark Daoust [Mon, 25 Jun 2018 20:22:14 +0000 (13:22 -0700)]
Update RELEASE.md

7 years agoUpdate RELEASE.md
Mark Daoust [Mon, 25 Jun 2018 20:16:52 +0000 (13:16 -0700)]
Update RELEASE.md

7 years agoUpdate r1.9 release notes.
Mark Daoust [Mon, 25 Jun 2018 19:48:40 +0000 (12:48 -0700)]
Update r1.9 release notes.

- link to new get_started.
- Add keras CuDNN layers.
- Links for gradient boosted estimators.
- Added new contrib-estimators and string-processing.
- Bumped some minor sounding things down from "Major" to "Bugfix+Other"

7 years agoAdd Install Raspbian to leftnav.
Mark Daoust [Fri, 22 Jun 2018 22:37:58 +0000 (15:37 -0700)]
Add Install Raspbian to leftnav.

PiperOrigin-RevId: 201752380

7 years agoFix eager path in get_started leftnav
Billy Lamberta [Wed, 20 Jun 2018 17:02:25 +0000 (10:02 -0700)]
Fix eager path in get_started leftnav

PiperOrigin-RevId: 201370156

7 years agoGet started landing page.
Billy Lamberta [Wed, 20 Jun 2018 06:11:00 +0000 (23:11 -0700)]
Get started landing page.
Move "Datasets Quickstart" to "Datasets for Estimators" under guide.

PiperOrigin-RevId: 201301717

7 years agoMerge pull request #20203 from alextp/cherrypicks_GUVCA
Michael Case [Mon, 25 Jun 2018 17:27:33 +0000 (10:27 -0700)]
Merge pull request #20203 from alextp/cherrypicks_GUVCA

Add a single positional argument mode for shape inference in subclass…

7 years agoUpdate workspace.bzl
Rasmus Munk Larsen [Fri, 22 Jun 2018 20:36:57 +0000 (13:36 -0700)]
Update workspace.bzl

7 years agoUpdate Eigen version to commit e5e305a158a029f5b5f837bf821411a51439a970.
A. Unique TensorFlower [Fri, 22 Jun 2018 01:53:05 +0000 (18:53 -0700)]
Update Eigen version to commit e5e305a158a029f5b5f837bf821411a51439a970.

PiperOrigin-RevId: 201624024

7 years agoHandle scalar input to assert_equal in eager.
Tom Hennigan [Tue, 5 Jun 2018 10:56:47 +0000 (03:56 -0700)]
Handle scalar input to assert_equal in eager.

PiperOrigin-RevId: 199274329

7 years agoMerge pull request #20204 from mrry/choose_pr
Michael Case [Fri, 22 Jun 2018 00:01:44 +0000 (17:01 -0700)]
Merge pull request #20204 from mrry/choose_pr

1.9.0rc2 cherry-pick request: [tf.data] Properly export `choose_from_datasets()`

7 years ago[tf.data] Properly export `tf.contrib.data.choose_from_datasets()`
Derek Murray [Wed, 20 Jun 2018 17:10:55 +0000 (10:10 -0700)]
[tf.data] Properly export `tf.contrib.data.choose_from_datasets()`

PiperOrigin-RevId: 201371642

7 years agoAdd a single positional argument mode for shape inference in subclassed Models.
Allen Lavoie [Fri, 1 Jun 2018 02:03:21 +0000 (19:03 -0700)]
Add a single positional argument mode for shape inference in subclassed Models.

Allows fit() when call's signature looks something like call(x, training=True).

Calling conventions are "inputs", single positional, and multiple positional. Right now the distinction between "inputs" and single positional calling conventions is the text of one error message. Both support shape inference (which just hasn't been implemented for multiple positional input arguments yet).

PiperOrigin-RevId: 198815483

7 years agoMerge pull request #20195 from case540/cherry_pick_pip_external_fix
Michael Case [Thu, 21 Jun 2018 21:07:02 +0000 (14:07 -0700)]
Merge pull request #20195 from case540/cherry_pick_pip_external_fix

Move external/ directory in pip package.

7 years agoMove external/ directory in pip package.
Michael Case [Wed, 20 Jun 2018 21:08:57 +0000 (14:08 -0700)]
Move external/ directory in pip package.

Moving external/ directory in the pip packages (which is currently
installed directly into site-packages directory). Moving the
directory to tensorflow/include/external/. Also, removing all
python files from external (since it should really only contain
headers and license files.)

7 years agoMerge pull request #20130 from saeta/tfgcs3
Michael Case [Wed, 20 Jun 2018 04:56:11 +0000 (21:56 -0700)]
Merge pull request #20130 from saeta/tfgcs3

[GCS] Typo in ConfigureGcsHook.

7 years ago[GCS] Typo in ConfigureGcsHook.
Brennan Saeta [Wed, 20 Jun 2018 00:47:37 +0000 (17:47 -0700)]
[GCS] Typo in ConfigureGcsHook.

This commit fixes a typo on ConfigureGcsHook that prevented its correct
operation.

7 years agoAdd missing Eager relnotes for TensorFlow 1.9. (#20101)
Michael Case [Mon, 18 Jun 2018 18:07:48 +0000 (11:07 -0700)]
Add missing Eager relnotes for TensorFlow 1.9. (#20101)

7 years agoMerge pull request #20097 from MarkDaoust/fix_keras_guide
Michael Case [Mon, 18 Jun 2018 17:13:39 +0000 (10:13 -0700)]
Merge pull request #20097 from MarkDaoust/fix_keras_guide

r1.9 cherry-pick request: Fix keras guide (docs only)

7 years agoCopy edits to Keras guide, formatting, moving some things around.
Billy Lamberta [Fri, 8 Jun 2018 22:47:19 +0000 (15:47 -0700)]
Copy edits to Keras guide, formatting, moving some things around.
Make the right TOC nav more useful.

PiperOrigin-RevId: 199863216

7 years agoMerge pull request #20020 from case540/version_string_update_19rc1 upstream/v1.9.0_rc1
Michael Case [Thu, 14 Jun 2018 13:24:27 +0000 (06:24 -0700)]
Merge pull request #20020 from case540/version_string_update_19rc1

Update version strings for 1.9.0-rc1.

7 years agoUpdate version strings for 1.9.0-rc1.
Michael Case [Thu, 14 Jun 2018 13:17:00 +0000 (06:17 -0700)]
Update version strings for 1.9.0-rc1.

7 years agoMerge pull request #19976 from guillaumekln/cherry-pick-best-exporter-fix
Michael Case [Thu, 14 Jun 2018 13:11:42 +0000 (06:11 -0700)]
Merge pull request #19976 from guillaumekln/cherry-pick-best-exporter-fix

BestExporter cherry-pick request for r1.9: Only calls compare function if values were read from event file

7 years agoMerge pull request #20002 from saeta/tf19gcs2
Michael Case [Thu, 14 Jun 2018 13:07:19 +0000 (06:07 -0700)]
Merge pull request #20002 from saeta/tf19gcs2

Make GCS ops work in open source

7 years agoMerge branch 'r1.9' into cherry-pick-best-exporter-fix
Shanqing Cai [Thu, 14 Jun 2018 02:43:24 +0000 (22:43 -0400)]
Merge branch 'r1.9' into cherry-pick-best-exporter-fix

7 years agoUpdate the docs and api_def.
Brennan Saeta [Thu, 14 Jun 2018 01:05:39 +0000 (18:05 -0700)]
Update the docs and api_def.

7 years agoMake GCS ops work in open source
Brennan Saeta [Wed, 13 Jun 2018 22:46:12 +0000 (15:46 -0700)]
Make GCS ops work in open source

7 years agoMerge pull request #19999 from akshaym/cherrypicks_34G4G
Michael Case [Wed, 13 Jun 2018 22:11:07 +0000 (15:11 -0700)]
Merge pull request #19999 from akshaym/cherrypicks_34G4G

r1.9-rc1 cherry-pick request: bugfix/memory leak fix

7 years agoMerge pull request #19997 from MarkDaoust/keras_save_load_fix
Michael Case [Wed, 13 Jun 2018 20:18:44 +0000 (13:18 -0700)]
Merge pull request #19997 from MarkDaoust/keras_save_load_fix

r1.9-rc1 cherry-pick request: Keras save_weights fix

7 years agoRemove memory leak in read variable call, and record gradient call.
Akshay Modi [Mon, 11 Jun 2018 23:27:12 +0000 (16:27 -0700)]
Remove memory leak in read variable call, and record gradient call.

Fix #19385

PiperOrigin-RevId: 200132949

7 years agoDon't call back into python during insert (which will leave the set in a broken condi...
Akshay Modi [Mon, 11 Jun 2018 17:42:15 +0000 (10:42 -0700)]
Don't call back into python during insert (which will leave the set in a broken condition if the runtime decides to let another thread run).

Thank you for finding the bug. The watched_variables_ set should not really require a lock since all our functions hold the GIL (verified by looking at the generated SWIG). The reason that there was a concurrent access to the set is that the insert was calling back into python (which might release the GIL and let another thread run, which will also attempt to insert a variable and break the set).

I included the lock to be safe though, since its non-trivial to verify without looking at the generated swig wrappers that the GIL is held.

PiperOrigin-RevId: 200074843

7 years agoUse the Keras session for saving/loading in TensorFlow format
Allen Lavoie [Mon, 11 Jun 2018 18:55:34 +0000 (11:55 -0700)]
Use the Keras session for saving/loading in TensorFlow format

Fixes issues when there's no default session

PiperOrigin-RevId: 200088574

7 years agoMerge pull request #19994 from nfelt/tensorboard-1.9
Michael Case [Wed, 13 Jun 2018 18:28:26 +0000 (11:28 -0700)]
Merge pull request #19994 from nfelt/tensorboard-1.9

Update tensorboard dependency to 1.9.x

7 years agoMerge pull request #19963 from saeta/r1.9clusterresolver
Michael Case [Wed, 13 Jun 2018 17:58:15 +0000 (10:58 -0700)]
Merge pull request #19963 from saeta/r1.9clusterresolver

Check to ensure the Cloud TPU is ready before resolving.

7 years agoMerge pull request #19960 from annarev/cherrypicks_NHLZ4
Michael Case [Wed, 13 Jun 2018 17:56:42 +0000 (10:56 -0700)]
Merge pull request #19960 from annarev/cherrypicks_NHLZ4

r1.9-rc1 cherry-pick request: Fix module docstrings

7 years agoMerge pull request #19867 from MarkDaoust/cherrypicks_613QM
Michael Case [Wed, 13 Jun 2018 17:55:29 +0000 (10:55 -0700)]
Merge pull request #19867 from MarkDaoust/cherrypicks_613QM

1.9-rc0 cherry-pick request: Keras symbol visibility, and `Dataset` evaluation fixes.

7 years agoMerge pull request #19977 from petewarden/r1.9
Michael Case [Wed, 13 Jun 2018 17:53:25 +0000 (10:53 -0700)]
Merge pull request #19977 from petewarden/r1.9

r1.9-rc2 cherry-pick request: Documentation for Raspberry Pi installation

7 years agoDocumentation for Raspberry Pi installation
Pete Warden [Wed, 13 Jun 2018 08:06:50 +0000 (01:06 -0700)]
Documentation for Raspberry Pi installation

7 years agoUpdate tensorboard dependency to 1.9.x
Nick Felt [Wed, 13 Jun 2018 07:30:09 +0000 (00:30 -0700)]
Update tensorboard dependency to 1.9.x

7 years agoCheck to ensure the Cloud TPU is ready before resolving.
Brennan Saeta [Wed, 13 Jun 2018 01:09:35 +0000 (18:09 -0700)]
Check to ensure the Cloud TPU is ready before resolving.

Cherry picking this into the TF 1.9 release.

PiperOrigin-RevId: 200095692

Previous commit: 32c8013f0ab3feb139648ae759e2d0168fb5dc95