platform/upstream/tensorflow.git
6 years agoFix markdown nit (#17163)
Martin Pool [Thu, 22 Feb 2018 04:13:38 +0000 (20:13 -0800)]
Fix markdown nit (#17163)

Without a leading blank line, it doesn't render properly in https://www.tensorflow.org/programmers_guide/variables#variable_collections.

6 years agoMerge pull request #17173 from tensorflow/MarkDaoust-patch-1
Martin Wicke [Wed, 21 Feb 2018 20:17:22 +0000 (12:17 -0800)]
Merge pull request #17173 from tensorflow/MarkDaoust-patch-1

Fix table format in SECURITY.md

6 years agoFix table format in SECURITY.md
Mark Daoust [Wed, 21 Feb 2018 18:20:33 +0000 (13:20 -0500)]
Fix table format in SECURITY.md

6 years agoRemove extraneous check for Eager mode (#17125)
Christopher Yeh [Wed, 21 Feb 2018 13:27:17 +0000 (05:27 -0800)]
Remove extraneous check for Eager mode (#17125)

The check is already made once at the start of the method

6 years agoAdd missing `override' (#17118)
Daniel Trebbien [Wed, 21 Feb 2018 06:59:51 +0000 (22:59 -0800)]
Add missing `override' (#17118)

This fixes a warning produced by clang:
./tensorflow/contrib/tensor_forest/kernels/v4/grow_stats.h:470:8: warning: 'InitLeafClassStats' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  void InitLeafClassStats(int best_split_index, LeafStat* left_stats,
       ^
./tensorflow/contrib/tensor_forest/kernels/v4/grow_stats.h:190:16: note: overridden virtual function is here
  virtual void InitLeafClassStats(int best_split_index, LeafStat* left_stats,
               ^

6 years agoCleaner documentation for tf.confusion_matrix (#17126)
Christopher Yeh [Wed, 21 Feb 2018 06:58:18 +0000 (22:58 -0800)]
Cleaner documentation for tf.confusion_matrix (#17126)

6 years agoDo not add --host_copt=-march=native on Power PC. (#17161)
Michael Case [Wed, 21 Feb 2018 04:45:33 +0000 (20:45 -0800)]
Do not add --host_copt=-march=native on Power PC. (#17161)

6 years agoMerge pull request #17141 from drpngx/branch_186214551
Yifei Feng [Tue, 20 Feb 2018 21:33:42 +0000 (13:33 -0800)]
Merge pull request #17141 from drpngx/branch_186214551

Branch 186214551

6 years agoFix buildifier format error.
Yifei Feng [Tue, 20 Feb 2018 20:44:17 +0000 (12:44 -0800)]
Fix buildifier format error.

6 years agoDisable flaky test
Yifei Feng [Tue, 20 Feb 2018 19:48:43 +0000 (11:48 -0800)]
Disable flaky test

tensorflow/contrib/opt:moving_average_optimizer_test

6 years agoMerge pull request #17140 from spivotron/master
Martin Wicke [Tue, 20 Feb 2018 17:29:35 +0000 (09:29 -0800)]
Merge pull request #17140 from spivotron/master

Update to mobile intro documentation

6 years agoGrammar
Martin Wicke [Tue, 20 Feb 2018 17:29:18 +0000 (09:29 -0800)]
Grammar

6 years agoMerge pull request #17142 from dgboy2000/master
Martin Wicke [Tue, 20 Feb 2018 17:27:22 +0000 (09:27 -0800)]
Merge pull request #17142 from dgboy2000/master

fix typo

6 years agofix typo
Danny Goodman [Tue, 20 Feb 2018 01:09:45 +0000 (17:09 -0800)]
fix typo

6 years agoMerge commit for internal changes
Patrick Nguyen [Tue, 20 Feb 2018 00:26:17 +0000 (16:26 -0800)]
Merge commit for internal changes

Conflicts:
RELEASE.md
configure.py
tensorflow/contrib/cmake/external/zlib.cmake
tensorflow/contrib/cmake/python_modules.txt
tensorflow/contrib/cmake/tests/cuda/compatibility_test.c
tensorflow/contrib/cmake/tests/cuda/compatibility_test.cc
tensorflow/contrib/data/python/ops/dataset_ops.py
tensorflow/contrib/gan/python/eval/python/summaries_test.py
tensorflow/contrib/layers/python/layers/layers.py
tensorflow/contrib/layers/python/layers/layers_test.py
tensorflow/contrib/tpu/profiler/pip_package/setup.py
tensorflow/core/public/version.h
tensorflow/docs_src/install/install_c.md
tensorflow/docs_src/install/install_go.md
tensorflow/docs_src/install/install_java.md
tensorflow/docs_src/install/install_linux.md
tensorflow/docs_src/install/install_mac.md
tensorflow/docs_src/install/install_sources.md
tensorflow/examples/image_retraining/retrain.py
tensorflow/python/framework/test_util.py
tensorflow/python/keras/_impl/keras/layers/lstm_test.py
tensorflow/python/layers/utils.py
tensorflow/python/ops/bitwise_ops_test.py
tensorflow/python/ops/distributions/beta.py
tensorflow/python/ops/image_ops_test.py
tensorflow/python/ops/losses/losses_impl.py
tensorflow/tools/pip_package/setup.py

6 years agoMerge pull request #1 from spivotron/spivotron-patch-1
Henry Spivey [Mon, 19 Feb 2018 22:34:16 +0000 (14:34 -0800)]
Merge pull request #1 from spivotron/spivotron-patch-1

Update mobile_intro.md

6 years agoUpdate mobile_intro.md
Henry Spivey [Mon, 19 Feb 2018 22:33:55 +0000 (14:33 -0800)]
Update mobile_intro.md

Found a grammatical/spelling error while reading the documentation.

6 years agomake "smart_cond" api public and reusable (#13954)
Michael Zhou [Mon, 19 Feb 2018 20:42:33 +0000 (12:42 -0800)]
make "smart_cond" api public and reusable (#13954)

* make smart_cond api public and reusable

* adjust function comment space

* change `smart_cond` naming schema consistent with `cond`

* Move `smart_cond` and `smart_constant_value` to tf.contrib.framework

* resolve loop import

* remove redundant constant_value

* fix function name typo

* Fix function parameter name usage

* Fix function parameter name usage(2)

* To support 0/1 interger pred

* check integer value after type check

* Lint fixes

6 years agoShare Variable objects among collections when importing metagraphs.
A. Unique TensorFlower [Mon, 19 Feb 2018 14:14:10 +0000 (06:14 -0800)]
Share Variable objects among collections when importing metagraphs.

This mirrors the behavior of usual graph construction where a Variable object is added to multiple collections.

PiperOrigin-RevId: 186214551

6 years agoRemove experimental C API from srcs rule as it requires other sources
A. Unique TensorFlower [Mon, 19 Feb 2018 13:54:27 +0000 (05:54 -0800)]
Remove experimental C API from srcs rule as it requires other sources

PiperOrigin-RevId: 186213207

6 years ago[TF:XLA] Select the update value instead of the buffer to support negative
Blake Hechtman [Mon, 19 Feb 2018 11:29:08 +0000 (03:29 -0800)]
[TF:XLA] Select the update value instead of the buffer to support negative
index scatter.

PiperOrigin-RevId: 186202761

6 years agoMerge pull request #17061 from kdavis-mozilla/mozilla-uses
Martin Wicke [Mon, 19 Feb 2018 02:21:37 +0000 (18:21 -0800)]
Merge pull request #17061 from kdavis-mozilla/mozilla-uses

Added Deep Speech use

6 years agoFix typo (#17008)
ManHyuk [Sun, 18 Feb 2018 19:33:25 +0000 (04:33 +0900)]
Fix typo (#17008)

* fix typo

6 years agoUpdating layers.md (fixing typo) (#17096)
Abe [Sun, 18 Feb 2018 14:44:12 +0000 (15:44 +0100)]
Updating layers.md (fixing typo) (#17096)

Fixing typo. Changing 'ans calling' to 'and calling'

6 years agoTweak `tf.slice` documentation.
A. Unique TensorFlower [Sat, 17 Feb 2018 16:42:40 +0000 (08:42 -0800)]
Tweak `tf.slice` documentation.

Add the input argument (`foo`) to `tf.slice` example so that it actually works if it were run.
Previously, the input argument was missing (perhaps implied), but the example is clearer with its inclusion.

PiperOrigin-RevId: 186105694

6 years ago[XLA:GPU] Fix a problem in DoGemmAutotune.
Bixia Zheng [Sat, 17 Feb 2018 15:46:14 +0000 (07:46 -0800)]
[XLA:GPU] Fix a problem in DoGemmAutotune.

Replace DCHECK with CHECK so that DoGemmWithAlgorithm is also called in
non-debug mode to perform autotune.

PiperOrigin-RevId: 186103809

6 years agoAutomated g4 rollback of changelist 186019263
A. Unique TensorFlower [Sat, 17 Feb 2018 12:46:24 +0000 (04:46 -0800)]
Automated g4 rollback of changelist 186019263

PiperOrigin-RevId: 186098155

6 years agoAdded an experimental C API TF_EnableXLACompilation() to enable XLA compilation.
Mingsheng Hong [Sat, 17 Feb 2018 06:05:07 +0000 (22:05 -0800)]
Added an experimental C API TF_EnableXLACompilation() to enable XLA compilation.

Also ran "buildozer warn //third_party/tensorflow/c/BUILD" and removed an unused symbol.

PiperOrigin-RevId: 186081948

6 years agoAutomated g4 rollback of changelist 186053793
Yu-Cheng Ling [Sat, 17 Feb 2018 03:02:58 +0000 (19:02 -0800)]
Automated g4 rollback of changelist 186053793

PiperOrigin-RevId: 186075274

6 years agoModify reference quantized LSTM implementation so that it only needs one instantiatio...
A. Unique TensorFlower [Sat, 17 Feb 2018 03:01:28 +0000 (19:01 -0800)]
Modify reference quantized LSTM implementation so that it only needs one instantiation of fixed-point Tanh, for 3 integer bits, regardless of the value of StateIntegerBits

PiperOrigin-RevId: 186075161

6 years agoMerge changes from github.
Ankur Taly [Sat, 17 Feb 2018 02:22:55 +0000 (18:22 -0800)]
Merge changes from github.

PiperOrigin-RevId: 186073337

6 years agoAdds a `shape` property to LabeledTensor.
A. Unique TensorFlower [Sat, 17 Feb 2018 02:18:35 +0000 (18:18 -0800)]
Adds a `shape` property to LabeledTensor.
#labeledtensor

PiperOrigin-RevId: 186073035

6 years ago[XLA] Pass the module to HloDataflowAnalysis by const reference.
Michael Kuperstein [Sat, 17 Feb 2018 02:13:53 +0000 (18:13 -0800)]
[XLA] Pass the module to HloDataflowAnalysis by const reference.

PiperOrigin-RevId: 186072673

6 years agoActivates Eigen path for CPU implementation of atrous/dilated convolution (only forwa...
A. Unique TensorFlower [Sat, 17 Feb 2018 01:56:36 +0000 (17:56 -0800)]
Activates Eigen path for CPU implementation of atrous/dilated convolution (only forward path).

PiperOrigin-RevId: 186071285

6 years agoChanges keep_dims to keepdims to remove deprecation warning.
A. Unique TensorFlower [Sat, 17 Feb 2018 01:55:07 +0000 (17:55 -0800)]
Changes keep_dims to keepdims to remove deprecation warning.
#labeledtensor

PiperOrigin-RevId: 186071210

6 years agoMake tf.py_func and tf.smart_cond play better with eager mode.
Akshay Modi [Sat, 17 Feb 2018 00:40:02 +0000 (16:40 -0800)]
Make tf.py_func and tf.smart_cond play better with eager mode.

PiperOrigin-RevId: 186063941

6 years agoInitializing the thread-local device to the right value.
Alexandre Passos [Sat, 17 Feb 2018 00:30:17 +0000 (16:30 -0800)]
Initializing the thread-local device to the right value.

PiperOrigin-RevId: 186062850

6 years agoReset the DAZ bit when entering the XLA CPU/GPU compiler
Sanjoy Das [Sat, 17 Feb 2018 00:15:21 +0000 (16:15 -0800)]
Reset the DAZ bit when entering the XLA CPU/GPU compiler

In an ideal world this won't make a difference since the compiler should be
disciplined about not leaking host-level optimization artifacts into generated
code.  However, I think this provides some defense-in-depth in preventing
non-obvious denormal behavior on the host side from messing up floating point
constants etc. we want to embed into generated code.

PiperOrigin-RevId: 186061140

6 years agoCheckpointable: Don't run ops automatically when graph building.
Allen Lavoie [Sat, 17 Feb 2018 00:01:54 +0000 (16:01 -0800)]
Checkpointable: Don't run ops automatically when graph building.

This is a prerequisite to moving toward a Saver-like model when graph building. We no longer mess with initializers (when graph building; eager needs it), and restore ops just get queued up and returned.

Since initializers are left alone when graph building, there is a new special case for slot variables which needs to be handled. This is the third(!) queue for deferred slot restorations ((1) variable -> slot, (2) optimizer -> slot, (3) (optimizer, variable) -> slot), and should be the last one I need (it's a hypergraph with 3-tuple edges).

The plan after this is to switch over to tf.train.Saver's existing restore op creation infrastructure, which will handle any SaveableObjects. There will also be a few CLs for making graph usage prettier, and eventually allowing eager/graph agnostic save/restore.

PiperOrigin-RevId: 186059387

6 years agoDefault eager tensor device name should match default device name.
Alexandre Passos [Fri, 16 Feb 2018 23:30:46 +0000 (15:30 -0800)]
Default eager tensor device name should match default device name.

PiperOrigin-RevId: 186055679

6 years ago[XLA] Add some plumbing, documentation, verification and shape inference for Gather
Sanjoy Das [Fri, 16 Feb 2018 23:29:35 +0000 (15:29 -0800)]
[XLA] Add some plumbing, documentation, verification and shape inference for Gather

Pretty much everything other than HLO verification and shape inference will fail
for Gather with Unimplemented.

Note that this CL is intentionally incomplete -- I figured it would be nicer to
get some of the boiler-platey stuff out of the way early.  Let me know if you
want me to send in a larger but more complete CL instead.

PiperOrigin-RevId: 186055521

6 years agoExpose the main API to the generated code as well. This allows recursive runtime...
A. Unique TensorFlower [Fri, 16 Feb 2018 23:17:04 +0000 (15:17 -0800)]
Expose the main API to the generated code as well. This allows recursive runtime conversion, and is a prerequisite to supporting dynamic non-recursive functions.

PiperOrigin-RevId: 186053846

6 years agoTFLite Conv2D: Create temporary tensors in Prepare phase.
Yu-Cheng Ling [Fri, 16 Feb 2018 23:16:38 +0000 (15:16 -0800)]
TFLite Conv2D: Create temporary tensors in Prepare phase.

PiperOrigin-RevId: 186053793

6 years agoAdd qint8 to list of types supported by the GPU ConstOp.
A. Unique TensorFlower [Fri, 16 Feb 2018 23:10:48 +0000 (15:10 -0800)]
Add qint8 to list of types supported by the GPU ConstOp.

PiperOrigin-RevId: 186053061

6 years agoAdd support for explicit `training` argument in subclassed models.
Francois Chollet [Fri, 16 Feb 2018 23:02:22 +0000 (15:02 -0800)]
Add support for explicit `training` argument in subclassed models.

PiperOrigin-RevId: 186051752

6 years agoAdd a `hash_keys` argument to the sparse hash column to enable it hash a single input...
Yuefeng Zhou [Fri, 16 Feb 2018 22:55:43 +0000 (14:55 -0800)]
Add a `hash_keys` argument to the sparse hash column to enable it hash a single input to multiple hash ids. This column can be then used by one_hot_column to create a multi-hot column.

PiperOrigin-RevId: 186050928

6 years agoFix sentence in Getting Started for ML Beginners guide.
Billy Lamberta [Fri, 16 Feb 2018 22:52:36 +0000 (14:52 -0800)]
Fix sentence in Getting Started for ML Beginners guide.

PiperOrigin-RevId: 186050529

6 years agoFix crop on images in datasets_performance guide.
Billy Lamberta [Fri, 16 Feb 2018 22:42:19 +0000 (14:42 -0800)]
Fix crop on images in datasets_performance guide.

PiperOrigin-RevId: 186049156

6 years agoChanged FTRL formula for scalars to match vector version better.
A. Unique TensorFlower [Fri, 16 Feb 2018 22:39:04 +0000 (14:39 -0800)]
Changed FTRL formula for scalars to match vector version better.

PiperOrigin-RevId: 186048665

6 years ago[TF:XLA] Adds HostCompute HLO - a pseudo-op to represent host-side computation.
A. Unique TensorFlower [Fri, 16 Feb 2018 22:34:16 +0000 (14:34 -0800)]
[TF:XLA] Adds HostCompute HLO - a pseudo-op to represent host-side computation.

PiperOrigin-RevId: 186047964

6 years agoAutomated g4 rollback of changelist 186018787
Reed Wanderman-Milne [Fri, 16 Feb 2018 22:20:36 +0000 (14:20 -0800)]
Automated g4 rollback of changelist 186018787

PiperOrigin-RevId: 186046129

6 years ago[XLA] HLO scheduling: update entries in ready queue when priority changes.
Yuanzhong Xu [Fri, 16 Feb 2018 22:17:13 +0000 (14:17 -0800)]
[XLA] HLO scheduling: update entries in ready queue when priority changes.

PiperOrigin-RevId: 186045619

6 years agoOptimization of quantized LSTM cell for the common case of batch size 1,
A. Unique TensorFlower [Fri, 16 Feb 2018 22:06:26 +0000 (14:06 -0800)]
Optimization of quantized LSTM cell for the common case of batch size 1,
where it needs efficient matrix*vector ("GEMV") code, but it's not
exactly the same as the case of stand-alone fully-connected layers
as here the output activations are 16bit-quantized.

PiperOrigin-RevId: 186044068

6 years agoRemove the __setattr__ override for Variables
Allen Lavoie [Fri, 16 Feb 2018 21:46:47 +0000 (13:46 -0800)]
Remove the __setattr__ override for Variables

Was slowing down the creation of _UnreadVariable objects. Adds CheckpointableBase without the __setattr__ override.

It's tempting to just override __setattr__ in variables to try making it faster, but it's already just doing an isinstance check. Removing the override entirely seems to be the cleanest option.

PiperOrigin-RevId: 186041147

6 years agoTFTS: Support tf.Example input
Allen Lavoie [Fri, 16 Feb 2018 21:38:11 +0000 (13:38 -0800)]
TFTS: Support tf.Example input

PiperOrigin-RevId: 186039949

6 years ago[XLA:CPU] Minor cleanup to simple_orc_jit
Sanjoy Das [Fri, 16 Feb 2018 21:33:55 +0000 (13:33 -0800)]
[XLA:CPU] Minor cleanup to simple_orc_jit

SimpleResolver became unused after an LLVM upstream merge, and we never needed
the name mangling logic in what is now FindCompiledSymbol.

PiperOrigin-RevId: 186039307

6 years agoAutomated g4 rollback of changelist 185623948
A. Unique TensorFlower [Fri, 16 Feb 2018 21:31:04 +0000 (13:31 -0800)]
Automated g4 rollback of changelist 185623948

PiperOrigin-RevId: 186038783

6 years agoClarifying the docstring for how gradients are reduced across towers in replicate_mod...
A. Unique TensorFlower [Fri, 16 Feb 2018 21:21:17 +0000 (13:21 -0800)]
Clarifying the docstring for how gradients are reduced across towers in replicate_model_fn

PiperOrigin-RevId: 186037416

6 years agoFix pontential issue with number of blocks launched for depthwise kernels: the number...
A. Unique TensorFlower [Fri, 16 Feb 2018 21:20:13 +0000 (13:20 -0800)]
Fix pontential issue with number of blocks launched for depthwise kernels: the number of work_elements was too small, which could return a block_count that is too small to cover all elements.

We also have been ignoring the suggested thread_per_block, so were potentially launching more blocks than necessary to fill the GPU (which is inefficient, but functionally correct).

Changing 'assert(false && ...' to LOG(FATAL) because it shouldn't be debug only.

PiperOrigin-RevId: 186037306

6 years agoMerge pull request #17072 from yifeif/branch_186010810
Martin Wicke [Fri, 16 Feb 2018 20:59:50 +0000 (12:59 -0800)]
Merge pull request #17072 from yifeif/branch_186010810

Branch 186010810

6 years agoMerge pull request #16560 from tadeegan/thomas.deegan/remove_control_deps_open_source
Martin Wicke [Fri, 16 Feb 2018 20:57:50 +0000 (12:57 -0800)]
Merge pull request #16560 from tadeegan/thomas.deegan/remove_control_deps_open_source

Add remove_control_dependencies() graph_transform.

6 years agoMerge pull request #17035 from si-you/master
Martin Wicke [Fri, 16 Feb 2018 20:55:51 +0000 (12:55 -0800)]
Merge pull request #17035 from si-you/master

Add clean_dep to tf_cc_test.

6 years agoAdd TODOs.
Bjarke Hammersholt Roune [Fri, 16 Feb 2018 20:41:27 +0000 (12:41 -0800)]
Add TODOs.

PiperOrigin-RevId: 186032527

6 years agoOptimized quantized LSTM cell runtime NEON implementation.
A. Unique TensorFlower [Fri, 16 Feb 2018 20:29:00 +0000 (12:29 -0800)]
Optimized quantized LSTM cell runtime NEON implementation.

Notice: unlike many NEON paths that we have in this optimized_ops.h file,
which are enabled also on x86 by means of arm_neon_sse.h (#ifdef USE_NEON),
this one is only enabled on real NEON (#ifdef GEMMLOWP_NEON). The reason
for that is that gemmlowp's FixedPoint class is templatized in the
underlying raw integer/register type, e.g. here int16x8_t, and on SSE
there is only a single __m128i type for all integer types (both int16x8_t
and int32x4_t), making it non-trivial to support this on SSE without
contriving this code on NEON.
PiperOrigin-RevId: 186031054

6 years agoMerge pull request #17055 from gunan/merge_branch
Gunhan Gulsoy [Fri, 16 Feb 2018 20:06:13 +0000 (12:06 -0800)]
Merge pull request #17055 from gunan/merge_branch

Merge branch 1.6 back to master

6 years ago[XLA] Factor out the code which adds operands to a fusion node
David Majnemer [Fri, 16 Feb 2018 19:37:49 +0000 (11:37 -0800)]
[XLA] Factor out the code which adds operands to a fusion node

This makes it easier for Hlo passes to do interesting rewrites with new,
additional parameters which were not operands to the original fusion node.

PiperOrigin-RevId: 186024182

6 years agoCache a variable scope context manager in EagerTemplate as a minor optimization
Akshay Modi [Fri, 16 Feb 2018 19:21:08 +0000 (11:21 -0800)]
Cache a variable scope context manager in EagerTemplate as a minor optimization

PiperOrigin-RevId: 186021666

6 years agoAdd getmodule to tf_inspect.
A. Unique TensorFlower [Fri, 16 Feb 2018 19:19:15 +0000 (11:19 -0800)]
Add getmodule to tf_inspect.

PiperOrigin-RevId: 186021386

6 years agoInternal change
A. Unique TensorFlower [Fri, 16 Feb 2018 19:05:02 +0000 (11:05 -0800)]
Internal change

PiperOrigin-RevId: 186019263

6 years agoAutomated g4 rollback of changelist 185927310
Reed Wanderman-Milne [Fri, 16 Feb 2018 19:02:33 +0000 (11:02 -0800)]
Automated g4 rollback of changelist 185927310

PiperOrigin-RevId: 186018787

6 years agoMerge commit for internal changes
Yifei Feng [Fri, 16 Feb 2018 18:48:57 +0000 (10:48 -0800)]
Merge commit for internal changes

6 years agoAdd the missing saver_pb2 import back to evaluation_test.py.
Gunhan Gulsoy [Fri, 16 Feb 2018 17:48:44 +0000 (09:48 -0800)]
Add the missing saver_pb2 import back to evaluation_test.py.

6 years agoMade cost_analyzer_tool accept fetch nodes when running with metagraph option. Also...
A. Unique TensorFlower [Fri, 16 Feb 2018 18:06:14 +0000 (10:06 -0800)]
Made cost_analyzer_tool accept fetch nodes when running with metagraph option. Also made it read metagraph in either binary or text format.

PiperOrigin-RevId: 186010810

6 years agoUpdate guide.md (#17066)
Abe [Fri, 16 Feb 2018 18:06:38 +0000 (19:06 +0100)]
Update guide.md (#17066)

Fixing grammatical errors in the Installation instructions

6 years agoRemove "make_oneshot_iterator" from "datasets_quickstart.md"
Mark Daoust [Fri, 16 Feb 2018 17:26:14 +0000 (09:26 -0800)]
Remove "make_oneshot_iterator" from "datasets_quickstart.md"

Also mention iterator initialization in the "datasets" section of "low_level_intro.md"

see: PR #3389
PiperOrigin-RevId: 186005742

6 years agoAvoid running //third_party/tensorflow/contrib/gan:train_test under tsan
A. Unique TensorFlower [Fri, 16 Feb 2018 17:20:46 +0000 (09:20 -0800)]
Avoid running //third_party/tensorflow/contrib/gan:train_test under tsan

PiperOrigin-RevId: 186005130

6 years ago[TF:XLA] Bump open source llvm revision to r325320
Benjamin Kramer [Fri, 16 Feb 2018 17:16:27 +0000 (09:16 -0800)]
[TF:XLA] Bump open source llvm revision to r325320

PiperOrigin-RevId: 186004694

6 years agobuild fix
A. Unique TensorFlower [Fri, 16 Feb 2018 15:54:23 +0000 (07:54 -0800)]
build fix

PiperOrigin-RevId: 185996203

6 years agoUnifying common CMake CUDA file copy between Windows and Linux.
A. Unique TensorFlower [Fri, 16 Feb 2018 15:51:43 +0000 (07:51 -0800)]
Unifying common CMake CUDA file copy between Windows and Linux.

PiperOrigin-RevId: 185995922

6 years agoAdapt to API changes in LLVM revisions r325155 and r325180.
Benjamin Kramer [Fri, 16 Feb 2018 12:33:57 +0000 (04:33 -0800)]
Adapt to API changes in LLVM revisions r325155 and r325180.

PiperOrigin-RevId: 185979538

6 years agoAdded Deep Speech use
kdavis-mozilla [Fri, 16 Feb 2018 10:41:19 +0000 (11:41 +0100)]
Added Deep Speech use

6 years agoRemove a possible ambiguity in the `py_func` documentation.
A. Unique TensorFlower [Fri, 16 Feb 2018 09:53:59 +0000 (01:53 -0800)]
Remove a possible ambiguity in the `py_func` documentation.

PiperOrigin-RevId: 185968663

6 years agoCode generator for builtin_ops.h, and a test to ensure its consistency
Yu-Cheng Ling [Fri, 16 Feb 2018 07:44:47 +0000 (23:44 -0800)]
Code generator for builtin_ops.h, and a test to ensure its consistency

PiperOrigin-RevId: 185957720

6 years agoMerge remote-tracking branch 'gtf/r1.6'
Gunhan Gulsoy [Fri, 16 Feb 2018 06:50:04 +0000 (22:50 -0800)]
Merge remote-tracking branch 'gtf/r1.6'

6 years agoMake the default values for experimental and non experimental apis match.
Suharsh Sivakumar [Fri, 16 Feb 2018 06:21:02 +0000 (22:21 -0800)]
Make the default values for experimental and non experimental apis match.

PiperOrigin-RevId: 185952648

6 years agoAutomated g4 rollback of changelist 185891869
Alina Sbirlea [Fri, 16 Feb 2018 04:18:11 +0000 (20:18 -0800)]
Automated g4 rollback of changelist 185891869

PiperOrigin-RevId: 185944719

6 years agooptimized quantized softmax
A. Unique TensorFlower [Fri, 16 Feb 2018 03:52:03 +0000 (19:52 -0800)]
optimized quantized softmax

PiperOrigin-RevId: 185943132

6 years agoFix handling of types in RNN state import. Sanitize TF node names.
A. Unique TensorFlower [Fri, 16 Feb 2018 03:47:47 +0000 (19:47 -0800)]
Fix handling of types in RNN state import. Sanitize TF node names.

PiperOrigin-RevId: 185942921

6 years agoAdd tuple targets to the context handling mechanism in templates.
A. Unique TensorFlower [Fri, 16 Feb 2018 03:34:18 +0000 (19:34 -0800)]
Add tuple targets to the context handling mechanism in templates.

PiperOrigin-RevId: 185941851

6 years agoError out when building XLA's CPU and GPU backends with fast-math
Sanjoy Das [Fri, 16 Feb 2018 03:31:11 +0000 (19:31 -0800)]
Error out when building XLA's CPU and GPU backends with fast-math

In an ideal world this won't make a difference since the compiler should be
disciplined about not leaking host-level optimization artifacts into generated
code.  However, I think this provides some defense-in-depth in preventing
fast-math optimization on the host side from messing up floating point constants
etc. we want to embed into generated code.

PiperOrigin-RevId: 185941549

6 years agoTFE SPINN example: use tensor instead of numpy array
Shanqing Cai [Fri, 16 Feb 2018 03:12:05 +0000 (19:12 -0800)]
TFE SPINN example: use tensor instead of numpy array

in inference output.

PiperOrigin-RevId: 185939805

6 years agoAdd a new tag no_cuda_on_cpu_tap for excluding failing non-gpu cuda tests.
Guangda Lai [Fri, 16 Feb 2018 02:55:22 +0000 (18:55 -0800)]
Add a new tag no_cuda_on_cpu_tap for excluding failing non-gpu cuda tests.

PiperOrigin-RevId: 185937687

6 years agoBug fix and typo fixes.
Francois Chollet [Fri, 16 Feb 2018 02:22:21 +0000 (18:22 -0800)]
Bug fix and typo fixes.

PiperOrigin-RevId: 185935199

6 years agoAdd stateful metrics support in tf.keras.
Francois Chollet [Fri, 16 Feb 2018 02:21:11 +0000 (18:21 -0800)]
Add stateful metrics support in tf.keras.

PiperOrigin-RevId: 185935092

6 years agoAddress timeout of conv_ops_test.
A. Unique TensorFlower [Fri, 16 Feb 2018 01:44:59 +0000 (17:44 -0800)]
Address timeout of conv_ops_test.

PiperOrigin-RevId: 185931585

6 years agoKeep the results below 2^31 in exp() test to avoid overflowing.
A. Unique TensorFlower [Fri, 16 Feb 2018 01:38:55 +0000 (17:38 -0800)]
Keep the results below 2^31 in exp() test to avoid overflowing.

PiperOrigin-RevId: 185931075

6 years agoMerge pull request #17040 from hdon/master
Martin Wicke [Fri, 16 Feb 2018 01:39:23 +0000 (17:39 -0800)]
Merge pull request #17040 from hdon/master

conv1d doc string misnames first argument

6 years agoMerge pull request #17042 from namkam5/master
Martin Wicke [Fri, 16 Feb 2018 01:38:46 +0000 (17:38 -0800)]
Merge pull request #17042 from namkam5/master

fixed typo in docstring for unchanged shape method

6 years agoMerge pull request #17049 from fo40225/fix_mkl_win
Martin Wicke [Fri, 16 Feb 2018 01:38:12 +0000 (17:38 -0800)]
Merge pull request #17049 from fo40225/fix_mkl_win

Fix MKL build break on Windows

6 years agoMerge pull request #17057 from deroneriksson/low_level_intro_typos
Martin Wicke [Fri, 16 Feb 2018 01:36:02 +0000 (17:36 -0800)]
Merge pull request #17057 from deroneriksson/low_level_intro_typos

Fix typos in low-level introduction documentation