platform/upstream/tensorflow.git
6 years agoMerge pull request #16704 from tensorflow/yifeif-patch-1
Amit Patankar [Fri, 2 Feb 2018 19:38:07 +0000 (11:38 -0800)]
Merge pull request #16704 from tensorflow/yifeif-patch-1

Remove all_files rule from com_google_absl.BUILD

6 years agoRevert "Updating the version to 1.6.0-rc0." (#16700)
Amit Patankar [Fri, 2 Feb 2018 19:13:44 +0000 (11:13 -0800)]
Revert "Updating the version to 1.6.0-rc0." (#16700)

6 years agoRemove all_files rule from com_google_absl.BUILD
Yifei Feng [Fri, 2 Feb 2018 19:02:34 +0000 (11:02 -0800)]
Remove all_files rule from com_google_absl.BUILD

6 years agoMerge pull request #16699 from case540/branch_184236409
Amit Patankar [Fri, 2 Feb 2018 18:19:24 +0000 (10:19 -0800)]
Merge pull request #16699 from case540/branch_184236409

Branch 184236409

6 years agoMerge commit for internal changes
Michael Case [Fri, 2 Feb 2018 16:33:33 +0000 (08:33 -0800)]
Merge commit for internal changes

6 years agoMerge pull request #16672 from av8ramit/update_version_16
Amit Patankar [Fri, 2 Feb 2018 08:35:03 +0000 (00:35 -0800)]
Merge pull request #16672 from av8ramit/update_version_16

Updating the version to 1.6.0-rc0.

6 years agoFix sanity build (#16674)
Yifei Feng [Fri, 2 Feb 2018 06:51:33 +0000 (22:51 -0800)]
Fix sanity build (#16674)

* Fix sanity.

* Add back other sanity tests.

* Add sanity test back.

* Fix build error.

* Add blacklist.

* Add whitelist.

6 years agoAutomated g4 rollback of changelist 183874527
A. Unique TensorFlower [Fri, 2 Feb 2018 04:35:29 +0000 (20:35 -0800)]
Automated g4 rollback of changelist 183874527

PiperOrigin-RevId: 184236409

6 years agoSupporting new saving op structure.
A. Unique TensorFlower [Fri, 2 Feb 2018 03:50:34 +0000 (19:50 -0800)]
Supporting new saving op structure.

PiperOrigin-RevId: 184233513

6 years agoAdd darwin_x86_64 config in TF Lite BUILD file.
Yu-Cheng Ling [Fri, 2 Feb 2018 02:27:31 +0000 (18:27 -0800)]
Add darwin_x86_64 config in TF Lite BUILD file.

PiperOrigin-RevId: 184227786

6 years agoFixed the description of the fake GPU device to avoid a division by 0
Benoit Steiner [Fri, 2 Feb 2018 02:05:15 +0000 (18:05 -0800)]
Fixed the description of the fake GPU device to avoid a division by 0

PiperOrigin-RevId: 184225409

6 years agoMerge pull request #16680 from yifeif/branch_184220615
Amit Patankar [Fri, 2 Feb 2018 02:58:21 +0000 (18:58 -0800)]
Merge pull request #16680 from yifeif/branch_184220615

Branch 184220615

6 years agoForce sorting of CUDA and Python headers to avoid spurious rebuilds (#16586)
lissyx [Fri, 2 Feb 2018 02:03:31 +0000 (03:03 +0100)]
Force sorting of CUDA and Python headers to avoid spurious rebuilds (#16586)

If one does try to re-use Bazel cache of a TensorFlow CUDA-enabled or
Python-enabled build, then it might happen that readdir() syscall behind
the use of find in _read_dir() will generate a different ordering of the
very same list of headers. This will make new genrules for symlinking
the CUDA headers and in the end it will result in different actionKey
computed by Bazel, hence invalidating the action cache.

Fixes #16585

6 years agoMerge commit for internal changes
Yifei Feng [Fri, 2 Feb 2018 01:58:54 +0000 (17:58 -0800)]
Merge commit for internal changes

6 years agoAdd whitelist.
Yifei Feng [Fri, 2 Feb 2018 00:27:49 +0000 (16:27 -0800)]
Add whitelist.

6 years agoAdd blacklist.
Yifei Feng [Thu, 1 Feb 2018 23:45:39 +0000 (15:45 -0800)]
Add blacklist.

6 years agoFix build error.
Yifei Feng [Thu, 1 Feb 2018 21:23:12 +0000 (13:23 -0800)]
Fix build error.

6 years agoAdd sanity test back.
Yifei Feng [Thu, 1 Feb 2018 19:00:14 +0000 (11:00 -0800)]
Add sanity test back.

6 years agoAdd back other sanity tests.
Yifei Feng [Thu, 1 Feb 2018 18:59:16 +0000 (10:59 -0800)]
Add back other sanity tests.

6 years agoFix sanity.
Yifei Feng [Thu, 1 Feb 2018 18:57:29 +0000 (10:57 -0800)]
Fix sanity.

6 years agoFix tests
Brennan Saeta [Fri, 2 Feb 2018 01:20:11 +0000 (17:20 -0800)]
Fix tests

PiperOrigin-RevId: 184220615

6 years agoSkip unknown devices since we can't optimize for them
Benoit Steiner [Fri, 2 Feb 2018 01:19:32 +0000 (17:19 -0800)]
Skip unknown devices since we can't optimize for them

PiperOrigin-RevId: 184220515

6 years agoAllow reordering of execution order of nodes with indirect execution_plan.
Andrew Selle [Fri, 2 Feb 2018 00:51:59 +0000 (16:51 -0800)]
Allow reordering of execution order of nodes with indirect execution_plan.

Now whenever we want to operate in dependency order we use execution_plan.
It begins as identity map (0, ..., nodes_size()) but can be changed
in the future. This is the basis for more pluggable delegation.

PiperOrigin-RevId: 184216885

6 years agoAutomated g4 rollback of changelist 184188816
Jacques Pienaar [Fri, 2 Feb 2018 00:29:30 +0000 (16:29 -0800)]
Automated g4 rollback of changelist 184188816

PiperOrigin-RevId: 184213576

6 years agoGCS Throttle: 1 token == 1 Kb
Brennan Saeta [Fri, 2 Feb 2018 00:22:24 +0000 (16:22 -0800)]
GCS Throttle: 1 token == 1 Kb

Previously, 1 token was approximately 256 bytes. This is slightly less
intuitive than 1 kb.

PiperOrigin-RevId: 184212503

6 years agoAdd functionality to fold batch norm (supporting both fused and unfused batch norm...
Raghuraman Krishnamoorthi [Fri, 2 Feb 2018 00:14:51 +0000 (16:14 -0800)]
Add functionality to fold batch norm (supporting both fused and unfused batch norm) to support quantized training. The weights are always now scaled by gamma/sigma, where sigma is the moving standard deviation for stability prior to quantization.  For improved performance, the moving means and variances are frozen and the training graph modified accordingly.

An additional parameter freeze_batch_norm_delay is added to foldbatchnorm function to set the delay at which training switches from regular batch norm to frozen mean and variances.

Remove placement options within FoldBatchNorm as this causes folded training to place all ops on a single GPU. The modification now significantly speeds up distributed training.

The tests for folding batch norms are also updated to reflect the additional topological changes to the graph.

PiperOrigin-RevId: 184211434

6 years agoAdd iterate_batches arg to Estimator.predict
A. Unique TensorFlower [Thu, 1 Feb 2018 23:32:20 +0000 (15:32 -0800)]
Add iterate_batches arg to Estimator.predict

PiperOrigin-RevId: 184205196

6 years agoMake jit_test.py work with C API enabled.
Skye Wanderman-Milne [Thu, 1 Feb 2018 23:11:35 +0000 (15:11 -0800)]
Make jit_test.py work with C API enabled.

PiperOrigin-RevId: 184202470

6 years ago[XLA] add DotGeneral to the local Python XLA client.
A. Unique TensorFlower [Thu, 1 Feb 2018 23:11:20 +0000 (15:11 -0800)]
[XLA] add DotGeneral to the local Python XLA client.

PiperOrigin-RevId: 184202425

6 years agoRevert TensorBoard entry point back to run_main
Nick Felt [Thu, 1 Feb 2018 23:05:41 +0000 (15:05 -0800)]
Revert TensorBoard entry point back to run_main

PiperOrigin-RevId: 184201506

6 years ago Internal change.
Anna R [Thu, 1 Feb 2018 22:23:29 +0000 (14:23 -0800)]
 Internal change.

PiperOrigin-RevId: 184194895

6 years agoThrow an exception when the user's batch size isn't divisible by GPUs.
Igor Saprykin [Thu, 1 Feb 2018 22:11:08 +0000 (14:11 -0800)]
Throw an exception when the user's batch size isn't divisible by GPUs.

The alternative to this is to have an adaptive approach that would unevenly split input into per-tower batches.  The concern with that was that all towers will be as slow as the one with more input reducing the performance.  Batch size seems to be commonly tailored to the available hardware.

PiperOrigin-RevId: 184192793

6 years agoReturn an error instead of assertion when processing an ill-formed graph or an
Benoit Steiner [Thu, 1 Feb 2018 22:11:08 +0000 (14:11 -0800)]
Return an error instead of assertion when processing an ill-formed graph or an
invalid set of fetch nodes

PiperOrigin-RevId: 184192790

6 years ago[TFXLA] Use data flow to determine switch grouping.
Jacques Pienaar [Thu, 1 Feb 2018 21:48:33 +0000 (13:48 -0800)]
[TFXLA] Use data flow to determine switch grouping.

* Change how switch grouping works:
  - This is an intermediate step, next is combining
    DetermineBranchMapAndFrontier into one traversal.
* Homogeneous the naming (switch_nodes -> switches);
* Change graph dumping to be due to class member - currently still performed when vlog-level is sufficiently high;
* Pass in correct library when dumping graphs;

PiperOrigin-RevId: 184188816

6 years agoAdding documentation on how to load & serve a model with the
Noah Fiedel [Thu, 1 Feb 2018 21:48:13 +0000 (13:48 -0800)]
Adding documentation on how to load & serve a model with the
TensorFlow Serving Model Server.

PiperOrigin-RevId: 184188752

6 years agoFixes a type conversion bug in losses.compute_weighted_loss for reduction=SUM_OVER_BA...
A. Unique TensorFlower [Thu, 1 Feb 2018 21:33:20 +0000 (13:33 -0800)]
Fixes a type conversion bug in losses.compute_weighted_loss for reduction=SUM_OVER_BATCH_SIZE.

PiperOrigin-RevId: 184186573

6 years agoFix segfault when Softmax is first in graph
A. Unique TensorFlower [Thu, 1 Feb 2018 21:13:12 +0000 (13:13 -0800)]
Fix segfault when Softmax is first in graph

PiperOrigin-RevId: 184183730

6 years agoVerify tensor contents of tflite model
A. Unique TensorFlower [Thu, 1 Feb 2018 21:13:10 +0000 (13:13 -0800)]
Verify tensor contents of tflite model

PiperOrigin-RevId: 184183725

6 years agoMade the addn optimization aware of the graph topology
Benoit Steiner [Thu, 1 Feb 2018 20:38:55 +0000 (12:38 -0800)]
Made the addn optimization aware of the graph topology

PiperOrigin-RevId: 184179246

6 years agoAdd a utility module that contains helper functions usable from within generated...
A. Unique TensorFlower [Thu, 1 Feb 2018 20:17:08 +0000 (12:17 -0800)]
Add a utility module that contains helper functions usable from within generated code.
Add a helper for the control dependencies context manager.

PiperOrigin-RevId: 184176409

6 years agoInternal change.
Anna R [Thu, 1 Feb 2018 20:05:23 +0000 (12:05 -0800)]
Internal change.

PiperOrigin-RevId: 184174800

6 years agoUpdate deprecated API use
A. Unique TensorFlower [Thu, 1 Feb 2018 19:54:13 +0000 (11:54 -0800)]
Update deprecated API use

PiperOrigin-RevId: 184173047

6 years ago[tf.data] Fix bug where captured resources in shared iterators were invisible.
Derek Murray [Thu, 1 Feb 2018 19:50:23 +0000 (11:50 -0800)]
[tf.data] Fix bug where captured resources in shared iterators were invisible.

This change ensures that a shared iterator (which requires a private
FunctionLibraryRuntime that outlasts the calling op's runtime, because
it can outlive a single session) uses the same Device as a non-shared
iterator, and hence capturing resources from the creating graph will
work as intended.

Fixes #16481.

PiperOrigin-RevId: 184172498

6 years agoAdded a utility to traverse the graph in reverse DFS order, identifying loops
Benoit Steiner [Thu, 1 Feb 2018 19:50:14 +0000 (11:50 -0800)]
Added a utility to traverse the graph in reverse DFS order, identifying loops
in the process.

PiperOrigin-RevId: 184172483

6 years agoAutomated g4 rollback of changelist 184153187
Anna R [Thu, 1 Feb 2018 19:33:34 +0000 (11:33 -0800)]
Automated g4 rollback of changelist 184153187

PiperOrigin-RevId: 184169668

6 years agoInternal change.
Anna R [Thu, 1 Feb 2018 19:06:53 +0000 (11:06 -0800)]
Internal change.

PiperOrigin-RevId: 184165180

6 years agoAdd function paths to their signatures.
Mark Daoust [Thu, 1 Feb 2018 18:43:29 +0000 (10:43 -0800)]
Add function paths to their signatures.

fixes #16167

PiperOrigin-RevId: 184160925

6 years agoFix nest bug with different dictionary key orderings.
A. Unique TensorFlower [Thu, 1 Feb 2018 18:38:14 +0000 (10:38 -0800)]
Fix nest bug with different dictionary key orderings.

PiperOrigin-RevId: 184160009

6 years agoAdd shape inference for outside_compilation graph rewrite. Pull out enough of the...
A. Unique TensorFlower [Thu, 1 Feb 2018 17:55:53 +0000 (09:55 -0800)]
Add shape inference for outside_compilation graph rewrite. Pull out enough of the graph to enable inference of the shape of a SendFromHost Op once the shape of corresponding RecvAtHost Ops are known.

PiperOrigin-RevId: 184153187

6 years agoUpdate ops-related pbtxt files.
A. Unique TensorFlower [Thu, 1 Feb 2018 16:18:13 +0000 (08:18 -0800)]
Update ops-related pbtxt files.

PiperOrigin-RevId: 184141875

6 years ago[TF:XLA] Implement MatrixSetDiag and MatrixBandPart.
Peter Hawkins [Thu, 1 Feb 2018 14:47:06 +0000 (06:47 -0800)]
[TF:XLA] Implement MatrixSetDiag and MatrixBandPart.
Add support for int32 indices to the MatrixBandPart operator.

PiperOrigin-RevId: 184133343

6 years ago[TF:XLA] Fix tfcompile OSS build
Sanjoy Das [Thu, 1 Feb 2018 07:05:26 +0000 (23:05 -0800)]
[TF:XLA] Fix tfcompile OSS build

 - The @org_tensorflow package designation is unnecessary, and breaks the build
   when building without a sandbox.

 - The generated tests must use tf_cc_test, not cc_test.  See the note in
   tensorflow/core/BUILD.

Partially addresses #15338

PiperOrigin-RevId: 184095571

6 years agoInternal change
Yu-Cheng Ling [Thu, 1 Feb 2018 05:17:30 +0000 (21:17 -0800)]
Internal change

PiperOrigin-RevId: 184088913

6 years agoRemove BOM (#16505)
Robin Richtsfeld [Fri, 2 Feb 2018 00:00:46 +0000 (01:00 +0100)]
Remove BOM (#16505)

6 years agoGo: Update generated wrapper functions for TensorFlow ops.
A. Unique TensorFlower [Thu, 1 Feb 2018 04:46:33 +0000 (20:46 -0800)]
Go: Update generated wrapper functions for TensorFlow ops.
PiperOrigin-RevId: 184086955

6 years agoUpdate ops-related pbtxt files.
A. Unique TensorFlower [Thu, 1 Feb 2018 04:20:18 +0000 (20:20 -0800)]
Update ops-related pbtxt files.

PiperOrigin-RevId: 184085402

6 years agoImprove shape function of NonMaxSuppression (#16664)
Yong Tang [Thu, 1 Feb 2018 23:10:06 +0000 (15:10 -0800)]
Improve shape function of NonMaxSuppression (#16664)

* Improve shape function of NonMaxSuppression

This fix tries to improve shape function of NonMaxSuppression.
As was specified in the docs, the shapes of parameters of
`tf.image.non_max_suppression` are clearly defined with:
boxes: 2-D with shape [num_boxes, 4]
scores: 1-D with shape [num_boxes]
max_output_size: 0-D scalar
iou_threshold: 0-D scalar

However, there is no shape check in the shape function of
NonMaxSuppression.

This fix adds the shape check for NonMaxSuppression,
and adds additinal test cases for it.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add additional test cases for shape check of NonMaxSuppression.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agofix python 2.7 build break & import error on windows (#16649)
fo40225 [Thu, 1 Feb 2018 23:09:05 +0000 (07:09 +0800)]
fix python 2.7 build break & import error on windows (#16649)

6 years agoadded audio_ops.cc to fix the Op type not registered DecodeWav error - https://github...
Jeff Tang [Thu, 1 Feb 2018 22:31:04 +0000 (14:31 -0800)]
added audio_ops.cc to fix the Op type not registered DecodeWav error - https://github.com/tensorflow/tensorflow/issues/15921 (#16537)

6 years agoFix linter error in losses_impl.py (#16675)
Gunhan Gulsoy [Thu, 1 Feb 2018 22:23:35 +0000 (14:23 -0800)]
Fix linter error in losses_impl.py (#16675)

6 years agoUpdating the cloud tpu version.
Amit Patankar [Thu, 1 Feb 2018 18:54:55 +0000 (10:54 -0800)]
Updating the cloud tpu version.

6 years agocompile libtensorflow on windows with AVX. (#16673)
Gunhan Gulsoy [Thu, 1 Feb 2018 18:48:44 +0000 (10:48 -0800)]
compile libtensorflow on windows with AVX. (#16673)

6 years agoRemoving the escape character.
Amit Patankar [Thu, 1 Feb 2018 18:33:21 +0000 (10:33 -0800)]
Removing the escape character.

6 years agoFix an imperfect implementation of tf.losses.mean_pairwise_squared_error (#16433)
Jin-Hwan CHO [Thu, 1 Feb 2018 18:32:36 +0000 (03:32 +0900)]
Fix an imperfect implementation of tf.losses.mean_pairwise_squared_error (#16433)

* Imperfect implementation of tf.losses.mean_pairwise_squared_error (#15968)

https://github.com/tensorflow/tensorflow/issues/15968

* To pass the test, tensorflow/python/kernel_tests/losses_test.py needs to be fixed.

6 years agoUpdating the version to 1.6.0-rc0.
Amit Patankar [Thu, 1 Feb 2018 18:28:34 +0000 (10:28 -0800)]
Updating the version to 1.6.0-rc0.

6 years agoAddress sanity build issues. (#16647)
Gunhan Gulsoy [Thu, 1 Feb 2018 18:20:31 +0000 (10:20 -0800)]
Address sanity build issues. (#16647)

* Address sanity build issues.

* More fixes.

* Final pylint fixes.

6 years agoFix do_cmake_python_sanity error. (#16650)
Yifei Feng [Thu, 1 Feb 2018 18:12:34 +0000 (10:12 -0800)]
Fix do_cmake_python_sanity error. (#16650)

* Fix do_cmake_python_sanity error.

* Update python_modules.txt

6 years agoClang on Windows will define __BYTE_ORDER__ etc. for us (#16492)
Loo Rong Jie [Thu, 1 Feb 2018 18:11:25 +0000 (02:11 +0800)]
Clang on Windows will define __BYTE_ORDER__ etc. for us (#16492)

6 years agoFix for mkl_input conversion for MKL DNN. Fix also enables elemenwise operations...
AG Ramesh [Thu, 1 Feb 2018 18:10:54 +0000 (11:10 -0700)]
Fix for mkl_input conversion for MKL DNN. Fix also enables elemenwise operations. (#16557)

6 years agoAdd a new Dataset: PrependFromQueueAndPaddedBatchDataset.
Eugene Brevdo [Thu, 1 Feb 2018 02:18:04 +0000 (18:18 -0800)]
Add a new Dataset: PrependFromQueueAndPaddedBatchDataset.

PiperOrigin-RevId: 184078894

6 years agoTest all TFLite kernel implementations (reference/optimized/...)
Yu-Cheng Ling [Thu, 1 Feb 2018 02:08:33 +0000 (18:08 -0800)]
Test all TFLite kernel implementations (reference/optimized/...)

PiperOrigin-RevId: 184077940

6 years agoTFE: Support `IndexedSlices` as inputs and outputs for `tfe.defun`.
Akshay Agrawal [Thu, 1 Feb 2018 02:03:25 +0000 (18:03 -0800)]
TFE: Support `IndexedSlices` as inputs and outputs for `tfe.defun`.

In particular, this change fixes a bug that arose when attempting to
differentiate a defun-d function whose gradient yielded `IndexedSlices`.

PiperOrigin-RevId: 184077261

6 years agoAdd a doc explaining how to convert an `Estimator` to run on a Cloud TPU.
Mark Daoust [Thu, 1 Feb 2018 01:46:43 +0000 (17:46 -0800)]
Add a doc explaining how to convert an `Estimator` to run on a Cloud TPU.

PiperOrigin-RevId: 184075365

6 years agoPooling and AddN fixes (#16607)
Mahmoud Abuzaina [Thu, 1 Feb 2018 08:37:47 +0000 (00:37 -0800)]
Pooling and AddN fixes (#16607)

6 years agoMerge pull request #16637 from case540/branch_184052073
Amit Patankar [Thu, 1 Feb 2018 06:41:17 +0000 (22:41 -0800)]
Merge pull request #16637 from case540/branch_184052073

Branch 184052073

6 years agoSupport multiple build types in Android build.gradle with the makefile build (#16640)
Andrew Harp [Thu, 1 Feb 2018 04:43:18 +0000 (23:43 -0500)]
Support multiple build types in Android build.gradle with the makefile build (#16640)

* updating CUDA srcs for Makefile build to fix unsatisfied link error

* more makefile refactoring

* Fixing Tegra build logic for Android

* reverting ndk dir

* set ccache back to default

6 years agoRe-add missing argument specifier (#16632)
Andrew Harp [Thu, 1 Feb 2018 04:42:56 +0000 (23:42 -0500)]
Re-add missing argument specifier (#16632)

The ":" was erroneously removed in 76f70f5d62f35b5cc95121e6dfffa63a8214b626

6 years agoBy default, only download inception if it doesn't exist already (#16577)
Ben [Thu, 1 Feb 2018 03:28:25 +0000 (22:28 -0500)]
By default, only download inception if it doesn't exist already (#16577)

* By default, only download inception if it doesn't exist already

* fix filename

6 years agoUpdate docs for tf.matching_files to mention non-deterministic (#16633)
Yong Tang [Thu, 1 Feb 2018 03:28:01 +0000 (19:28 -0800)]
Update docs for tf.matching_files to mention non-deterministic (#16633)

This fix tries to close the issue of 15374 by updating the
docs of `tf.matching_files` (as well as `Dataset.list_files`
and `train.match_filenames_once`), to mention that the file names
returned could be non-deterministic.

This fix fixes 15374.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6 years agoChange RELEASE.md to specify CUDA 9.0 (#16486)
Anjum Sayed [Thu, 1 Feb 2018 03:22:54 +0000 (06:22 +0300)]
Change RELEASE.md to specify CUDA 9.0 (#16486)

PR for https://github.com/tensorflow/tensorflow/issues/16348 (tinyest PR ever?)

6 years ago[XLA] Support array layout specification in local Python XLA client.
Roy Frostig [Thu, 1 Feb 2018 00:54:20 +0000 (16:54 -0800)]
[XLA] Support array layout specification in local Python XLA client.

PiperOrigin-RevId: 184069454

6 years agoAdd type check when assigning to a resource variable slice.
Derek Murray [Thu, 1 Feb 2018 00:40:10 +0000 (16:40 -0800)]
Add type check when assigning to a resource variable slice.

PiperOrigin-RevId: 184067663

6 years agoAdd note about ptxas bug affecting XLA:GPU to relnotes. (#16636)
Justin Lebar [Thu, 1 Feb 2018 03:15:44 +0000 (19:15 -0800)]
Add note about ptxas bug affecting XLA:GPU to relnotes. (#16636)

6 years agoeager: Fix dropout in MNIST example.
Asim Shankar [Thu, 1 Feb 2018 00:17:42 +0000 (16:17 -0800)]
eager: Fix dropout in MNIST example.

The dropout layer takes a training argument in __call__, which defaults
to false. So without this change, dropout was not being applied.

PiperOrigin-RevId: 184064465

6 years agoMKL is no longer enabled via ./configure. Fixed documentation to reflect this.
Tatiana Shpeisman [Wed, 31 Jan 2018 23:47:42 +0000 (15:47 -0800)]
MKL is no longer enabled via ./configure. Fixed documentation to reflect this.

PiperOrigin-RevId: 184060046

6 years agoChange recommended option for building TensorFlow with MKL from -c opt to --config...
Tatiana Shpeisman [Wed, 31 Jan 2018 23:41:03 +0000 (15:41 -0800)]
Change recommended option for building TensorFlow with MKL from -c opt to --config=opt. -c opt triggers optimized C++ compilation. --config=opt also uses additional optimization flags as set by running ./configure.

PiperOrigin-RevId: 184059060

6 years agoFix the FutureWarning: Conversion of the second argument of issubdtype from `float...
ImSheridan [Thu, 1 Feb 2018 03:03:18 +0000 (11:03 +0800)]
Fix the FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated (#16591)

6 years agoFix typos. (#16570)
hsm207 [Thu, 1 Feb 2018 03:00:51 +0000 (22:00 -0500)]
Fix typos. (#16570)

6 years agoRemove query_layer in LuongMonotonicAttention (#16602)
Colin Raffel [Thu, 1 Feb 2018 03:00:33 +0000 (19:00 -0800)]
Remove query_layer in LuongMonotonicAttention (#16602)

In the constructor for LuongMonotonicAttention, a query layer was being created but it was ultimately never used.

Fixes #16287.

6 years agoReplace 'Dan' with 'Dandelion' in the citations (#16630)
Dandelion Mané [Thu, 1 Feb 2018 02:59:31 +0000 (18:59 -0800)]
Replace 'Dan' with 'Dandelion' in the citations (#16630)

6 years agoRemove duplicated identical lines (#16573)
simsicon [Thu, 1 Feb 2018 02:59:10 +0000 (10:59 +0800)]
Remove duplicated identical lines (#16573)

6 years agoFixed typo (#16610)
Cole Gerdemann [Thu, 1 Feb 2018 02:58:56 +0000 (20:58 -0600)]
Fixed typo (#16610)

6 years agoUpdate ISSUE_TEMPLATE.md (#16635)
Mark Daoust [Thu, 1 Feb 2018 02:58:24 +0000 (18:58 -0800)]
Update ISSUE_TEMPLATE.md (#16635)

Fixes 16350

6 years agoUpdate external protobuf codebase version for Windows cmake build
A. Unique TensorFlower [Wed, 31 Jan 2018 23:32:39 +0000 (15:32 -0800)]
Update external protobuf codebase version for Windows cmake build

PiperOrigin-RevId: 184057827

6 years agoEnable AVX in all TF windows builds.
Gunhan Gulsoy [Wed, 31 Jan 2018 22:57:24 +0000 (14:57 -0800)]
Enable AVX in all TF windows builds.

PiperOrigin-RevId: 184052414

6 years agoMerge commit for internal changes
Michael Case [Thu, 1 Feb 2018 02:10:39 +0000 (18:10 -0800)]
Merge commit for internal changes

6 years agoAdd grpcio as a pip dependency of tensorflow
Shanqing Cai [Wed, 31 Jan 2018 22:55:13 +0000 (14:55 -0800)]
Add grpcio as a pip dependency of tensorflow

PiperOrigin-RevId: 184052073

6 years agoFixes minor typos.
Shivani Agrawal [Wed, 31 Jan 2018 22:35:37 +0000 (14:35 -0800)]
Fixes minor typos.

PiperOrigin-RevId: 184048812

6 years ago[XLA] Initialize linear indices used by NearComparator.
Nick Desaulniers [Wed, 31 Jan 2018 22:32:21 +0000 (14:32 -0800)]
[XLA] Initialize linear indices used by NearComparator.

In unoptimized builds, we'd see miscompares with insanely large indices when
comparing literals containing NaN.

The linear indices may never be updated/initialized if the value NaN was
compared, since:

(NaN > x) == false
(NaN < x) == false

Adds a few tests that were used when debugging, but not a perfect one for this
case. It's currently not possible to test that LiteralTestUtil::Near() fails
when given bad input since it uses the EXPECT_* family of macros, which would
cause the intentional miscompares to fail the test no matter what.

PiperOrigin-RevId: 184048275

6 years agoInternal change.
Anna R [Wed, 31 Jan 2018 22:30:22 +0000 (14:30 -0800)]
Internal change.

PiperOrigin-RevId: 184047860