platform/upstream/tensorflow.git
6 years agoMerge pull request #19553 from silvasean/patch-1
Michael Case [Fri, 25 May 2018 16:36:45 +0000 (09:36 -0700)]
Merge pull request #19553 from silvasean/patch-1

Fix broken link

6 years agoFix broken link
Sean Silva [Fri, 25 May 2018 07:27:46 +0000 (00:27 -0700)]
Fix broken link

Also, as a side note, I found this link confusing. I was expecting it to take me to a list of pre-made estimators. Not a definition of what a pre-made estimator is. (maybe the glossary definition should link to a list of pre-made estimators?)

6 years agoFix cmake for MacOS (#17005)
ted chang [Fri, 25 May 2018 06:21:46 +0000 (23:21 -0700)]
Fix cmake for MacOS (#17005)

This change address cmake build issues for MacOS.
Also fixes #14712

6 years agoMerge pull request #19538 from yongtang/05242018-BUILD.bazel
Michael Case [Thu, 24 May 2018 22:08:23 +0000 (15:08 -0700)]
Merge pull request #19538 from yongtang/05242018-BUILD.bazel

Use BUILD.bazel for third_party packages

6 years agoMerge pull request #19508 from briannemsick/issue-18908
Michael Case [Thu, 24 May 2018 20:06:18 +0000 (13:06 -0700)]
Merge pull request #19508 from briannemsick/issue-18908

tf.keras: Fix plot_model for Sequential model

6 years agoMerge pull request #19429 from evision-ai/fix-nsync-on-android
Michael Case [Thu, 24 May 2018 18:50:34 +0000 (11:50 -0700)]
Merge pull request #19429 from evision-ai/fix-nsync-on-android

fix a bug in built nsync android library

6 years agoMerge pull request #19472 from fbcotter/master
Michael Case [Thu, 24 May 2018 18:49:51 +0000 (11:49 -0700)]
Merge pull request #19472 from fbcotter/master

Corrected compute_gradient docstring

6 years agoFix ppc64le compile failure libpng (#19291)
William D. Irons [Thu, 24 May 2018 18:49:05 +0000 (13:49 -0500)]
Fix ppc64le compile failure libpng (#19291)

Building Tensorflow on ppc64le fails with the message:
ERROR: /root/tensorflow/tensorflow/cc/BUILD:422:1: Linking of rule
'//tensorflow/cc:ops/control_flow_ops_gen_cc' failed (Exit 1)
bazel-out/host/bin/_solib_local/_U_S_Stensorflow_Scc_Cops_Scontrol_Uflow
_Uops_Ugen_Ucc___Utensorflow/libtensorflow_framework.so:
undefined reference to `png_init_filter_functions_vsx'
collect2: error: ld returned 1 exit status

This is fixed by adding powerpc specific files from the png archive
for @org_tensorflow//tensorflow:linux_ppc64le builds only.

6 years agoUse BUILD.bazel for third_party packages
Yong Tang [Thu, 24 May 2018 17:13:03 +0000 (17:13 +0000)]
Use BUILD.bazel for third_party packages

Both `BUILD` and `BUILD.bazel` could be used as the bazel project file
and `BUILD.bazel` is preferred (see https://github.com/bazelbuild/bazel/issues/4517#issuecomment-360213750)

This fix changes generated BUILD in third_party packages to `BUILD.bazel`.
This will help avoid conflict with `BUILD` or `build` file/directory names
in third party packages.

For example, while working on 19461 I noticed that apache thrift package
consists of a `build` directory and that causes issues in case-insensitive
systems like macOS. This PR should help avoid such conflict issues.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoMerge pull request #19509 from yongtang/19498-doc-reduce_sum
Michael Case [Thu, 24 May 2018 16:52:27 +0000 (09:52 -0700)]
Merge pull request #19509 from yongtang/19498-doc-reduce_sum

Update docstring for tf.reduce_sum/reduce.

6 years agoMerge pull request #19512 from yongtang/05232018-pylint
Michael Case [Thu, 24 May 2018 01:19:24 +0000 (18:19 -0700)]
Merge pull request #19512 from yongtang/05232018-pylint

Fix pylint issue in the master branch

6 years agoAdditional pylint fix.
Yong Tang [Wed, 23 May 2018 23:53:53 +0000 (23:53 +0000)]
Additional pylint fix.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoFix pylint issue in the master branch
Yong Tang [Wed, 23 May 2018 23:40:59 +0000 (23:40 +0000)]
Fix pylint issue in the master branch

The latest master branch has the following pylint failure that caused
`Ubuntu Sanity — Internal CI build failed`:
```
53 FAIL: Found 2 non-whitelited pylint errors:
54 tensorflow/contrib/cmake/tools/create_def_file.py:47: [C0301(line-too-long), ] Line too long (106/80)
55
56 tensorflow/contrib/cmake/tools/create_def_file.py:61: [C0301(line-too-long), ] Line too long (90/80)
```

This PR addresses the above issues.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoExpose stream executor namespace in cmake shared object. (#19415)
Gunhan Gulsoy [Wed, 23 May 2018 22:49:35 +0000 (15:49 -0700)]
Expose stream executor namespace in cmake shared object. (#19415)

Instead of perftools::gputools expose stream executor namespace in cmake shared object.

6 years agoUpdate tf.reduce_max and tf.reduce_min
Yong Tang [Wed, 23 May 2018 21:00:21 +0000 (21:00 +0000)]
Update tf.reduce_max and tf.reduce_min

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoUpdate docs for tf.reduce_prod and tf.reduce_mean
Yong Tang [Wed, 23 May 2018 20:59:22 +0000 (20:59 +0000)]
Update docs for tf.reduce_prod and tf.reduce_mean

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoUpdate docstring for tf.reduce_sum
Yong Tang [Wed, 23 May 2018 20:54:45 +0000 (20:54 +0000)]
Update docstring for tf.reduce_sum

This fix tries to address the issue raised in 19498 where
the description:
```
If axis has no entries, all dimensions are reduced, and a tensor with a single element is returned.
```

does not match the current behavior. The current behavior (matches `np.sum` as well) is actually:
```
If axis is None, all dimensions are reduced, and a tensor with a single element is returned.
```

This fix fixes the discrepancy for tf.reduce_sum.

This fix fixes 19498.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoRemove model.model in vis_utils plotting.
Brian Nemsick [Wed, 23 May 2018 17:50:23 +0000 (10:50 -0700)]
Remove model.model in vis_utils plotting.

6 years agoMerge pull request #19502 from sdalbsoo/typo
Michael Case [Wed, 23 May 2018 16:46:14 +0000 (09:46 -0700)]
Merge pull request #19502 from sdalbsoo/typo

Fix ovic typo

6 years agotypo
Sdalbsoo [Wed, 23 May 2018 15:16:54 +0000 (00:16 +0900)]
typo

6 years agoMerge pull request #17070 from yupbank/refactor-tree-variables
Martin Wicke [Tue, 22 May 2018 23:27:20 +0000 (16:27 -0700)]
Merge pull request #17070 from yupbank/refactor-tree-variables

add model restore support for tree and forest variables

6 years agoBUG: keras.callbacks.TensorBoard raises an exception for non_trainale_weights (#19148)
Yan Facai (颜发才) [Tue, 22 May 2018 23:16:01 +0000 (07:16 +0800)]
BUG: keras.callbacks.TensorBoard raises an exception for non_trainale_weights (#19148)

* TST: write_grads for non_trainable_weights

* BUG: bypass non_trainable_weights for write_grad

* CLN: factor out write_grad loop

6 years agoSetting default openmp settings for MKL kernels (#19136)
Jayaram Bobba [Tue, 22 May 2018 19:03:24 +0000 (12:03 -0700)]
Setting default openmp settings for MKL kernels (#19136)

* Change inter op defaults when built with MKL to avoid thread oversubscription

* Bump up default mkl inter_op to be less conservative

* Added default OMP settings that are expected to give reasonable performance when using MKL kernels

* Query CPUID for determining number of hyperthreads per physical core on Intel 64 architectures

* Style fixes

* Buildifier and clang-format style fixes

* Removed use of setenv due to concerns about thread safety

6 years agoCorrected compute_gradient docstring
Fergal Cotter [Tue, 22 May 2018 18:44:57 +0000 (19:44 +0100)]
Corrected compute_gradient docstring

After testing the tf.test.compute_gradient function with complex inputs,
noticed that the docstring specifies that the real/imag partial derivatives
are in the four corners of a larger matrix, when the result given indicates
they are instead interleaved.

6 years agoMerge pull request #19386 from smistad/fix-cmake
Michael Case [Tue, 22 May 2018 18:06:19 +0000 (11:06 -0700)]
Merge pull request #19386 from smistad/fix-cmake

CMake: fix include error when building with PYTHON_BINDINGS off

6 years agoMerge pull request #19446 from sarahedkins/fix/python-feeding-function-error
Michael Case [Tue, 22 May 2018 18:02:22 +0000 (11:02 -0700)]
Merge pull request #19446 from sarahedkins/fix/python-feeding-function-error

fix(python): ValueError len(dataframe.columns) + 1

6 years agoMerge pull request #17025 from kr-ish/numpy_input_fn_none_check
Michael Case [Tue, 22 May 2018 16:59:54 +0000 (09:59 -0700)]
Merge pull request #17025 from kr-ish/numpy_input_fn_none_check

Adds a check for shuffle=None in numpy_input_fn

6 years agoMerge pull request #19445 from yongtang/05122018-link
Michael Case [Tue, 22 May 2018 16:56:49 +0000 (09:56 -0700)]
Merge pull request #19445 from yongtang/05122018-link

Fix incorrect link for nvidia drivers

6 years agoMerge pull request #19462 from yongtang/05212018-docs-math_ops
Michael Case [Tue, 22 May 2018 16:51:02 +0000 (09:51 -0700)]
Merge pull request #19462 from yongtang/05212018-docs-math_ops

Fix discrepancies between doc and implementation for math_ops

6 years agoFix typo (#19450)
ManHyuk [Tue, 22 May 2018 13:43:40 +0000 (22:43 +0900)]
Fix typo (#19450)

6 years agofix a bug of the android Makefile for nsync library
gdh1995 [Mon, 21 May 2018 06:23:32 +0000 (14:23 +0800)]
fix a bug of the android Makefile for nsync library

NDK doesn't support thread_local variables which require destructors,
so on Android it should use __thread instead.

Observations:
* ProtoBuf and other libraries are not using thread_local on Android.
* In Tensorflow, there's a "thread_local" in code about CUDA,
  which should be safe enough.

More discussions are on https://github.com/android-ndk/ndk/issues/360 .

6 years agofix(python): ValueError len(dataframe.columns) + 1
Sarah Edkins [Tue, 22 May 2018 00:24:40 +0000 (20:24 -0400)]
fix(python): ValueError len(dataframe.columns) + 1

6 years agoUpdate docstring for tf.round as it support all real types.
Yong Tang [Mon, 21 May 2018 23:57:17 +0000 (23:57 +0000)]
Update docstring for tf.round as it support all real types.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoUpdate docstring as pow supports `float16` now
Yong Tang [Mon, 21 May 2018 23:36:55 +0000 (23:36 +0000)]
Update docstring as pow supports `float16` now

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoFix discrepancies between doc and implementation for math_ops
Yong Tang [Mon, 21 May 2018 23:29:32 +0000 (23:29 +0000)]
Fix discrepancies between doc and implementation for math_ops

In the docstring of math_ops, there are some discrepancies
between the supported data types and the actual implementation:
`abs` supports `float16`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoMerge pull request #19254 from yongtang/05122018-compute_accidental_hits
Michael Case [Mon, 21 May 2018 22:48:11 +0000 (15:48 -0700)]
Merge pull request #19254 from yongtang/05122018-compute_accidental_hits

Add additional shape validation to `compute_accidental_hits`

6 years agoMerge pull request #19257 from yongtang/05122018-QuantizedReluX
Michael Case [Mon, 21 May 2018 21:38:18 +0000 (14:38 -0700)]
Merge pull request #19257 from yongtang/05122018-QuantizedReluX

Shape validation of `max_features` in `QuantizedReluX`

6 years agoMerge pull request #19326 from yongtang/05162018-mpi_utils.h
Xiaoqiang Zheng [Mon, 21 May 2018 19:40:59 +0000 (12:40 -0700)]
Merge pull request #19326 from yongtang/05162018-mpi_utils.h

Remove redundant header includes in mpi_utils.h

6 years agoaddress lint again
Peng Yu [Mon, 21 May 2018 01:20:46 +0000 (21:20 -0400)]
address lint again

6 years agoaddress lint
Peng Yu [Fri, 18 May 2018 21:05:45 +0000 (17:05 -0400)]
address lint

6 years agoaddress comments
Peng Yu [Thu, 12 Apr 2018 19:38:48 +0000 (15:38 -0400)]
address comments

6 years agoadd test case always predict [0, 1]
Peng Yu [Thu, 12 Apr 2018 02:04:58 +0000 (22:04 -0400)]
add test case always predict [0, 1]

6 years agoadd inference support for tree and forest variables
Peng Yu [Fri, 16 Feb 2018 15:59:14 +0000 (10:59 -0500)]
add inference support for tree and forest variables

6 years agoMerge pull request #19258 from Androbin/patch-2
Michael Case [Mon, 21 May 2018 17:30:43 +0000 (10:30 -0700)]
Merge pull request #19258 from Androbin/patch-2

Update TFLite Docs on tf.gather

6 years agoMerge pull request #19394 from miaout17/fix-demop
Michael Case [Mon, 21 May 2018 17:27:14 +0000 (10:27 -0700)]
Merge pull request #19394 from miaout17/fix-demop

Fix the TFLite iOS demo apps.

6 years agoMerge pull request #19396 from yongtang/19338-clip
Michael Case [Mon, 21 May 2018 17:26:42 +0000 (10:26 -0700)]
Merge pull request #19396 from yongtang/19338-clip

Add test case for empty tensor with clip ops

6 years agoMerge pull request #19432 from soonson/patch-1
Michael Case [Mon, 21 May 2018 17:10:03 +0000 (10:10 -0700)]
Merge pull request #19432 from soonson/patch-1

Update groups.md

6 years agoDOC: Fix python code in for invalid code (#19218)
Abdullah Alrasheed [Mon, 21 May 2018 16:08:27 +0000 (00:08 +0800)]
DOC: Fix python code in for invalid code (#19218)

There is an error in python code in the documentation. There is no class called `tf.estimator.Estimator.LinearClassifier` I think it was a typo and the author meant `tf.estimator.LinearClassifier`.

6 years agoUpdate groups.md
soonson [Mon, 21 May 2018 11:14:54 +0000 (20:14 +0900)]
Update groups.md

Add more user groups collected

6 years agoMerge pull request #19357 from yongtang/03122018-_any_variable_initialized
Xiaoqiang Zheng [Mon, 21 May 2018 07:24:14 +0000 (00:24 -0700)]
Merge pull request #19357 from yongtang/03122018-_any_variable_initialized

Fix the naming of _any_variable_initialized

6 years agoMerge pull request #19273 from ageron/fix_estimator_doc
Xiaoqiang Zheng [Mon, 21 May 2018 06:45:37 +0000 (23:45 -0700)]
Merge pull request #19273 from ageron/fix_estimator_doc

Fix errors and typos in the Estimators programmer's guide

6 years agoStreamingFilesDataset fixes (#19413)
Nand Dalal [Mon, 21 May 2018 03:15:21 +0000 (22:15 -0500)]
StreamingFilesDataset fixes (#19413)

* use source_dataset.output_dtypes to yield correctly typed output dataset

* add test and fix issue introduced by 2a6c5998a239f41926ca295ac20bb595862fd5ff

6 years agoFix typo (#19411)
ManHyuk [Sun, 20 May 2018 14:48:05 +0000 (23:48 +0900)]
Fix typo (#19411)

6 years agoMerge pull request #18685 from nuchi/fft_no_core_framework_and_single_thread
Martin Wicke [Sun, 20 May 2018 00:09:51 +0000 (17:09 -0700)]
Merge pull request #18685 from nuchi/fft_no_core_framework_and_single_thread

XLA CPU Fft no core framework and single thread

6 years agocomment typo (#19381)
Qing ZHao [Sat, 19 May 2018 14:45:29 +0000 (22:45 +0800)]
comment typo (#19381)

6 years agoMerge pull request #19409 from zheng-xq/branch_197218170
Gunhan Gulsoy [Sat, 19 May 2018 03:30:46 +0000 (20:30 -0700)]
Merge pull request #19409 from zheng-xq/branch_197218170

Branch 197218170

6 years agoMerge pull request #19408 from annarev/add_more_missing_deps
annarev [Sat, 19 May 2018 02:10:04 +0000 (19:10 -0700)]
Merge pull request #19408 from annarev/add_more_missing_deps

Add missing dependencies to test_lite_main

6 years agoMerge commit for internal changes
zhengxq [Sat, 19 May 2018 00:05:40 +0000 (17:05 -0700)]
Merge commit for internal changes

6 years agoMerge pull request #19338 from girving/clip
Xiaoqiang Zheng [Fri, 18 May 2018 23:37:27 +0000 (16:37 -0700)]
Merge pull request #19338 from girving/clip

Make tf.clip_by_value not crash on empty tensors

6 years agoAutomated g4 rollback of changelist 197070234
Igor Saprykin [Fri, 18 May 2018 23:33:19 +0000 (16:33 -0700)]
Automated g4 rollback of changelist 197070234

PiperOrigin-RevId: 197218170

6 years agoImprove import error messages.
A. Unique TensorFlower [Fri, 18 May 2018 23:28:59 +0000 (16:28 -0700)]
Improve import error messages.

PiperOrigin-RevId: 197217638

6 years agoAdd missing dependencies to test_lite_main
Anna R [Fri, 18 May 2018 23:11:30 +0000 (16:11 -0700)]
Add missing dependencies to test_lite_main

6 years agoSkip tests that require unavailable hardware when not using DistributionStrategy
Igor Saprykin [Fri, 18 May 2018 22:49:01 +0000 (15:49 -0700)]
Skip tests that require unavailable hardware when not using DistributionStrategy

Right now combinations.py skips tests that do not have the hardware that's
requried by the DistributionStrategy instance that is used in that test.  After
this change, the user can trigger such a behavior even when they are not using
DistributionStrategy.

Two new special arguments are added: "required_tpu" and "required_gpus".

PiperOrigin-RevId: 197212466

6 years agoMerge pull request #19404 from yifeif/distributed
Yifei Feng [Fri, 18 May 2018 22:43:30 +0000 (15:43 -0700)]
Merge pull request #19404 from yifeif/distributed

Make distributed_test use tf-nightly by default.

6 years agoCorrect dtype in resource_strided_slice_assign
Alexandre Passos [Fri, 18 May 2018 22:33:00 +0000 (15:33 -0700)]
Correct dtype in resource_strided_slice_assign

PiperOrigin-RevId: 197210273

6 years agoRemove unused BUILD dependencies
A. Unique TensorFlower [Fri, 18 May 2018 22:15:06 +0000 (15:15 -0700)]
Remove unused BUILD dependencies

PiperOrigin-RevId: 197207799

6 years agoFixed an issue when add context into params.
Jianwei Xie [Fri, 18 May 2018 21:59:01 +0000 (14:59 -0700)]
Fixed an issue when add context into params.

PiperOrigin-RevId: 197205327

6 years agoMake distributed_test use tf-nightly by default.
Yifei Feng [Fri, 18 May 2018 21:25:59 +0000 (14:25 -0700)]
Make distributed_test use tf-nightly by default.

6 years agoAdding back abi and stacktrace dependencies to stacktrace_handler (#19401)
annarev [Fri, 18 May 2018 21:12:26 +0000 (14:12 -0700)]
Adding back abi and stacktrace dependencies to stacktrace_handler (#19401)

6 years agoRevert a change to fix TFLite iOS demo app.
Yu-Cheng Ling [Fri, 18 May 2018 20:12:41 +0000 (13:12 -0700)]
Revert a change to fix TFLite iOS demo app.
It depends on released CocoaPod.

PiperOrigin-RevId: 197189734

6 years agoThe quantizer should match the patterns for partition variables.
Suharsh Sivakumar [Fri, 18 May 2018 20:07:18 +0000 (13:07 -0700)]
The quantizer should match the patterns for partition variables.

PiperOrigin-RevId: 197189118

6 years ago[dataset]: Remove extra `repeat` in the docstring for `shard`.
A. Unique TensorFlower [Fri, 18 May 2018 19:41:20 +0000 (12:41 -0700)]
[dataset]: Remove extra `repeat` in the docstring for `shard`.

PiperOrigin-RevId: 197185877

6 years ago[TF:XLA] Delete the reverseDFS scheduler. With recent improvements to the List schedu...
Dimitris Vardoulakis [Fri, 18 May 2018 19:24:20 +0000 (12:24 -0700)]
[TF:XLA] Delete the reverseDFS scheduler. With recent improvements to the List scheduler, reverseDFS is no longer needed.

PiperOrigin-RevId: 197183727

6 years agoExpose read-only versions of input tensors in tflite.
A. Unique TensorFlower [Fri, 18 May 2018 19:21:44 +0000 (12:21 -0700)]
Expose read-only versions of input tensors in tflite.

PiperOrigin-RevId: 197183345

6 years agoEnable `SeedStream` construction from other `SeedStream` instances.
Joshua V. Dillon [Fri, 18 May 2018 19:17:05 +0000 (12:17 -0700)]
Enable `SeedStream` construction from other `SeedStream` instances.

PiperOrigin-RevId: 197182686

6 years agoAdd eager tests for automatic tensor flattening
Igor Ganichev [Fri, 18 May 2018 19:14:47 +0000 (12:14 -0700)]
Add eager tests for automatic tensor flattening

PiperOrigin-RevId: 197182339

6 years agoAdd an in-memory evaluator for Estimator. It will run evaluation without a checkpoint...
Mustafa Ispir [Fri, 18 May 2018 19:09:55 +0000 (12:09 -0700)]
Add an in-memory evaluator for Estimator. It will run evaluation without a checkpoint. This will let user get evaluation metrics on more steps without saving.

  Example:

  ```python
  def train_input_fn():
    ...
    return train_dataset

  def eval_input_fn():
    ...
    return eval_dataset

  estimator = tf.estimator.DNNClassifier(...)

  evaluator = tf.contrib.estimator.InMemoryEvaluatorHook(
      estimator, eval_input_fn)
  estimator.train(train_input_fn, hooks=[evaluator])
  ```

PiperOrigin-RevId: 197181726

6 years agoWhen converting an unsupported op in TOCO, we can possibly infer the output type...
A. Unique TensorFlower [Fri, 18 May 2018 19:08:32 +0000 (12:08 -0700)]
When converting an unsupported op in TOCO, we can possibly infer the output type from an attribute named Tout (this works, e.g., for RandomUniformInt).

PiperOrigin-RevId: 197181552

6 years ago[TF:XLA] Bump open source llvm revision to r332697
Sanjoy Das [Fri, 18 May 2018 18:56:28 +0000 (11:56 -0700)]
[TF:XLA] Bump open source llvm revision to r332697

PiperOrigin-RevId: 197179581

6 years agoboosted_trees: allow labels to have rank 1 as other estimators.
Younghee Kwon [Fri, 18 May 2018 18:46:54 +0000 (11:46 -0700)]
boosted_trees: allow labels to have rank 1 as other estimators.

PiperOrigin-RevId: 197178169

6 years agoFix the TFLite iOS demo apps.
Yu-Cheng Ling [Fri, 18 May 2018 18:46:06 +0000 (11:46 -0700)]
Fix the TFLite iOS demo apps.

This partially reverted 2bf2308872a6dfa8d6d0809acf0098f666e00fe8.
The demo apps in `lite/examples` depends on CocoaPod, not the Github
head code.

6 years ago[TF:XLA] Remove underscore prefix from XlaLaunch operator.
Peter Hawkins [Fri, 18 May 2018 18:43:25 +0000 (11:43 -0700)]
[TF:XLA] Remove underscore prefix from XlaLaunch operator.
Minor fixes to comments.

PiperOrigin-RevId: 197177582

6 years agoValidate the file signatures before issusing a content read in GCS. Remove the
Ruoxin Sang [Fri, 18 May 2018 18:28:18 +0000 (11:28 -0700)]
Validate the file signatures before issusing a content read in GCS. Remove the
checkpoint hack. Enable the stat cache by default, as the block cache has
already been enabled by default. Set the default stat cache max_age to 5s,
which is the same in the Cloud TPU server.

PiperOrigin-RevId: 197175258

6 years agoUpdate test case to cover all scenarios
Yong Tang [Fri, 18 May 2018 17:59:31 +0000 (17:59 +0000)]
Update test case to cover all scenarios

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoAdd additional test case
Yong Tang [Fri, 18 May 2018 17:58:57 +0000 (17:58 +0000)]
Add additional test case

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoAdd test case for empty tensor with clip ops.
Yong Tang [Fri, 18 May 2018 17:29:26 +0000 (17:29 +0000)]
Add test case for empty tensor with clip ops.

This fix is based on 19337 and 19338. The issue was that
previously an empty tensor for tf.clip_by_value on GPU
triggers a crash. The issue should have been fixed by 19338 and
the recent master. It makes sense to adds the test case for this issue.

This fix adds the test case.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoAutomated g4 rollback of changelist 197118212
A. Unique TensorFlower [Fri, 18 May 2018 17:42:50 +0000 (10:42 -0700)]
Automated g4 rollback of changelist 197118212

PiperOrigin-RevId: 197167501

6 years agoOp version: Populate version in Toco TFLite exporter
Yu-Cheng Ling [Fri, 18 May 2018 17:39:45 +0000 (10:39 -0700)]
Op version: Populate version in Toco TFLite exporter

PiperOrigin-RevId: 197166962

6 years ago[TF:XLA] Allow the HloEvaluator to be changed for the HLO interpreter.
Nick Desaulniers [Fri, 18 May 2018 17:23:34 +0000 (10:23 -0700)]
[TF:XLA] Allow the HloEvaluator to be changed for the HLO interpreter.

PiperOrigin-RevId: 197164443

6 years ago[tf.data] Changed internal implementation of `make_csv_dataset`, and removed argument...
Rachel Lim [Fri, 18 May 2018 17:21:59 +0000 (10:21 -0700)]
[tf.data] Changed internal implementation of `make_csv_dataset`, and removed arguments `default_float_type` and `comment` from `make_csv_dataset`

PiperOrigin-RevId: 197164167

6 years agoImprove TFLite generated example test speed.
Yu-Cheng Ling [Fri, 18 May 2018 17:12:37 +0000 (10:12 -0700)]
Improve TFLite generated example test speed.

PiperOrigin-RevId: 197162686

6 years agoUpdate the docstring on function.Defun to reflect current graph/session freezing...
Brian Patton [Fri, 18 May 2018 15:38:40 +0000 (08:38 -0700)]
Update the docstring on function.Defun to reflect current graph/session freezing behavior.

PiperOrigin-RevId: 197150790

6 years agoRestructure BUILD rules to be modularly correct
A. Unique TensorFlower [Fri, 18 May 2018 14:52:32 +0000 (07:52 -0700)]
Restructure BUILD rules to be modularly correct

PiperOrigin-RevId: 197145545

6 years agoMark link-time dependency library as alwayslink=1.
A. Unique TensorFlower [Fri, 18 May 2018 14:49:06 +0000 (07:49 -0700)]
Mark link-time dependency library as alwayslink=1.

PiperOrigin-RevId: 197145205

6 years agoMerge pull request #18240 from Intel-tensorflow/ashraf/direct_session_bugfix
Tatiana Shpeisman [Fri, 18 May 2018 14:50:54 +0000 (07:50 -0700)]
Merge pull request #18240 from Intel-tensorflow/ashraf/direct_session_bugfix

INTEL MKL:  Fixing a unit test failure, for direct session memory allocation

6 years agoModify PadInsertion pass so that it matches other passes.
A. Unique TensorFlower [Fri, 18 May 2018 14:47:41 +0000 (07:47 -0700)]
Modify PadInsertion pass so that it matches other passes.

Currently, PadInsertion only iterates over the instructions in the
entry_computation. Other passes iterate over MakeNonfusionComputations.
When we run on HloSnapshots derived from TPU benchmarks, this makes a
difference, because it seems none of the convolutions are inside the entry
computation.

PiperOrigin-RevId: 197145067

6 years agofix include error when building with PYTHON_BINDINGS off
Erik Smistad [Fri, 18 May 2018 14:08:39 +0000 (16:08 +0200)]
fix include error when building with PYTHON_BINDINGS off

6 years agoDropping support for CUDA < 8.
A. Unique TensorFlower [Fri, 18 May 2018 13:31:20 +0000 (06:31 -0700)]
Dropping support for CUDA < 8.

PiperOrigin-RevId: 197137612

6 years agoExtracts the following optimizations into methods:
A. Unique TensorFlower [Fri, 18 May 2018 13:27:13 +0000 (06:27 -0700)]
Extracts the following optimizations into methods:

SimplifyArithmeticOperations
ReduceDivToReciprocalMul

PiperOrigin-RevId: 197137281

6 years agoUpdate downloadable clang to a new revision
Ilya Biryukov [Fri, 18 May 2018 10:14:27 +0000 (03:14 -0700)]
Update downloadable clang to a new revision

PiperOrigin-RevId: 197121447