History log of /external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
799544e3843277ba8d1fed75e2e0fb89b246df71 16-Feb-2018 Yifei Feng <yifeif@google.com> Merge commit for internal changes
972fa89023f8f27948321c388fa3f1f7857833c3 15-Feb-2018 A. Unique TensorFlower <gardener@tensorflow.org> Add auc_with_confidence_intervals

This method computes the AUC and corresponding confidence intervals using an efficient algorithm.

PiperOrigin-RevId: 185884228
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
38569baeb896c50b90d6f613f2ab2637e2708a34 08-Feb-2018 Rajendra arora <rajendraarora16@yahoo.com> Fixes variable name (#16797)

* Fixes variable typo name

* fixes optional typo

* Fix typo

* fixes deallocations

* typo fix

* typo fix

* fixes variable name

* fixes param typo

* Fixes typo

* fix typo

* fixes
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
9e45772d16bbcb3adb3c5faa298969e183cdc89e 03-Feb-2018 Chris Drake <cjdrake@users.noreply.github.com> Update metric_ops.py (#16712)
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
351c0a533a111636333b4ebeede16485cf679ca9 25-Jan-2018 Yifei Feng <yifeif@google.com> Add C0330 bad-continuation check to pylint.

PiperOrigin-RevId: 183270896
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
20765b3e1ae3b718699592c98aa9805cb874b6d1 29-Dec-2017 Patrick Nguyen <drpng@google.com> Merge changes from github.

PiperOrigin-RevId: 180301735
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
1c46590d8b1431805e15e35beb98f24fe0a9dae5 11-Dec-2017 A. Unique TensorFlower <gardener@tensorflow.org> Fix incorrect parameter order in recall_at_precision.

PiperOrigin-RevId: 178642393
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
ee9b4eb5ee09bc505a51b1ba9325823444ac1dd2 18-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> Rename streaming_precision_recall_at_equal_thresholds to precision_recall_at_equal_thresholds.

Add the metric to the tf.contrib.metrics namespace.

Re-order its parameters to be more in line with that of other metrics.

PiperOrigin-RevId: 176178651
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c674e27bfd68a6c990e694b6afd901bfeeaa006d 14-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> Merged commit includes the following changes:
175703479 by yifeif:

Internal change.

--
175695370 by A. Unique TensorFlower:

Implements _shared_embedding_columns and adds some tests.

--
175695349 by A. Unique TensorFlower:

Implements tf.metrics.true_negatives, adds missing tests and does some cleanup in tf.contrib.metrics.

--

PiperOrigin-RevId: 175703479
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
b9951e775e7a80b96520a1e8e0b5c4a485196796 09-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> Adds streaming_dynamic_auc to Tensorflow contrib metrics. This metric differs from streaming_auc because it uses every prediction as a threshold rather than linearly spaced fixed thresholds.

PiperOrigin-RevId: 175217002
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
e4cb8d93775bb9f47e1a632d984495debbbe1b37 07-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> Renames sparse_precision_at_k to precision_at_k and sparse_average_precision_at_k to average_precision_at_k.
Also fixes some line wrapping.

PiperOrigin-RevId: 174865470
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
88917888f509e3e61ffe632534476e7b09d3326a 02-Nov-2017 Andrew Harp <andrewharp@google.com> Merge changes from github.
END_PUBLIC

---
Commit d77b99809 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by gunan<gunan@google.com>:
Update docs for `begin_params_axis` (#13979)

This fix fixes the issue raised in 13975 where `begin_shift_axis`
is actually `begin_params_axis`.

This fix fixes 13975.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
---
Commit e6a242b4e authored by Yifei Feng<fengyifei2026@gmail.com>
Committed by gunan<gunan@google.com>:
Add GCC/Compiler version to issue template. (#14113)

As suggested in #13930
---
Commit 7ece1c0b8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Moving model_pruning library to tf.contrib

PiperOrigin-RevId: 174214419

---
Commit 693325c83 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Log the full traceback in Coordinator.request_stop if it's available

PiperOrigin-RevId: 174213375

---
Commit 6c4a769ab authored by Mark Daoust<markdaoust@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Delete duplicate label_image script.

The version in examples/label_image is more complete (with image size and normalization options), so it can be used with `mobilenets`.

Also: removed bazel from main tutorial instructions.
PiperOrigin-RevId: 174212674

---
Commit 7a5b81c29 authored by Yao Zhang<yaozhang@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Materialize shape for ShapeN.

PiperOrigin-RevId: 174211500

---
Commit 78041b1dd authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
internal change

PiperOrigin-RevId: 174211190

---
Commit 2118fcf62 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BUILD cleanup in contrib/tensor_forest/...

PiperOrigin-RevId: 174201884

---
Commit 6849ef8f6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
internal change.

PiperOrigin-RevId: 174197506

---
Commit 37370d98f authored by resec<resec0109@gmail.com>
Committed by gunan<gunan@google.com>:
Support more Android arch in Makefile build (#12806)

* Support more Android arch in Makefile build

* update Makefile

* fix MARCH_OPTION

* persist multiple architectures across builds

* persist multiple architectures across builds

* persist multiple architectures across builds

* persistence bug fix

* persistence bug fix

* persistence bug fix

* add -latomic to linker flags for benchmark

* Change ANDROID_OS_ARCH to ANDROID_HOST_OS_ARCH

---
Commit c40d54173 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Exposes recall_at_top_k under tf.metrics.

PiperOrigin-RevId: 174189641

---
Commit 18bf5b2d9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Return a classifier score of the same type as the logits.

PiperOrigin-RevId: 174184871

---
Commit 9da02be11 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make 'collections' a list, as documented and expected by downstream custom getters.

PiperOrigin-RevId: 174184867

---
Commit 16b0bb095 authored by loki der quaeler<quaeler@users.noreply.github.com>
Committed by gunan<gunan@google.com>:
Adding a feed for boolean tensors to TensorFlowInferenceInterface (#14059)

* Sublime Text index-ignore file (a copy of .gitignore)

* Adding the requested implementation to TensorFlowInferenceInterface

* Removing Sublime Text .ignore file from remote repository

* indeed there was

---
Commit fa9d8aab4 authored by Urs K?ster<ursk@users.noreply.github.com>
Committed by gunan<gunan@google.com>:
Add 'log_progress' argument for tf.estimator.Estimator's evaluate function (#13695)

* Add argument for tf.estimator.Estimator's evaluate function

* add log_progress argument to ._convert_eval_steps_to_hooks for TPU estimator

* log only every 10th step if more than 100 iterations in _StopAfterNEvalsHook

* ensure last step is logged and aim for 10 outputs total

---
Commit 07a91dac5 authored by nolan liu<nolan.liou@gmail.com>
Committed by gunan<gunan@google.com>:
make `gather` cpu kernel to be multiple threads. (#12246)

* Change the gather op to multi-thread.

* Modify the gather kernel of xla compiler in order to be compatible with multi-threads cpu kernel.

* Add prefetch logic to gather op kernel.

* Update the indention of gather op kernel code.

* Update the gather kernel code for multiple thread.

* Remove reference to ealier version of code in gather functor.

* Change the framework_lite dep of gather_functor to framework.

* Remove mutex guard in gather functor.

---
Commit a956486be authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Remove an erronous __attribute__((...)) tag.

There is no __attribute__((guarded)) or __attribute__((pt_guarded)) attribute in Clang, and if we turn on warnings for unknown attributes (which are currently turned off), this causes build failures. This means that, when the warnings are turned off, this is simply a no-op.

PiperOrigin-RevId: 174134252

---
Commit 27412f3b6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add compiler/tf2xla/sharding_util.h with utilities for getting the core device from
a Node.

PiperOrigin-RevId: 174133602

---
Commit ab4349a26 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BUILD cleanup in selected packages in contrib/...

PiperOrigin-RevId: 174115744

---
Commit 4aa90bfd3 authored by Justin Lebar<jlebar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Add HLO matchers that check parameter numbers and GTE indices.

This lets you do

EXPECT_THAT(foo, op::Parameter(42));

and

EXPECT_THAT(bar, op::GetTupleElement(baz, 8));

PiperOrigin-RevId: 174113597

---
Commit f97e7c69b authored by Olivia Nordquist<nolivia@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
partially exposing the _set_attr and _get_attr method in python

PiperOrigin-RevId: 174113043

---
Commit 8e732a312 authored by Artem Belevich<tra@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Prefer cubin over PTX when we launch CUDA kernels.

Native GPU code, if we have it, should be preferred over JIT compilation of PTX.

PiperOrigin-RevId: 174110646

---
Commit 2ccf3aba4 authored by Eugene Brevdo<ebrevdo@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Permanently remove several modules from tf.contrib.bayesflow.

These modules are very infrequently used and will not be developed moving forward.
Removing this code paves the way for remaining modules in tf.contrib.bayesflow
to move to their own repo.

PiperOrigin-RevId: 174110067

---
Commit ef7052fbd authored by Andrew Selle<aselle@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Open source build support for TensorFlow Lite Toco.

- Handle proto incompatibilities
- Mixed bazel compatibility fixes.
- Add link to absl libraries

PiperOrigin-RevId: 174103981

---
Commit d6a9cd40c authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix "hides overloaded virtual function" error in default/gpu_tracer.cc when compiled with -Werror,-Woverloaded-virtual.

PiperOrigin-RevId: 174101519

---
Commit b242a7988 authored by Mustafa Ispir<ispir@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Set metric variable initializers as lambda.

PiperOrigin-RevId: 174100686

---
Commit 57b1c5621 authored by Alan Yee<alyee@ucsd.edu>
Committed by drpngx<drpngx@users.noreply.github.com>:
Add deprecation notes (#12614)

* Update lookup_ops.py

Minor comment fix

* Update metrics_ops.py

Add deprecated notes

* Update tensor_util.py

Update deprecated note on remove_squeezable_dimensions

* Update metric_ops.py

Add deprecated notes

---
Commit 453dd5848 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
K-FAC: Support for tf.AUTO_REUSE when re-using registrations. Multi-tower support for FullFB, NaiveDiagonalFB. Removal of LayerCollection.generic_registrations.

PiperOrigin-RevId: 174092003

---
Commit 0a7be5a2f authored by Sanjoy Das<sanjoy@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Rename (Add|Get)ProfileResult to something more specific; NFC

PiperOrigin-RevId: 174084570

---
Commit f1916f8f6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
- Remove slice hack to properly initialize missing entries in weight matrices
- Add real support for EmbeddingColumns / input_layer()
- Fix warmstarting for non-PartitionedVariables

PiperOrigin-RevId: 174083777

---
Commit f567ddf87 authored by Alex Sergeev<alexander.sergeev@live.com>
Committed by drpngx<drpngx@users.noreply.github.com>:
Add tf.sysconfig.get_compile_flags() & tf.sysconfig.get_link_flags() for custom operators (#13496)

* Add flags for custom op compilation

* Move ABI logic into version_info.cc

* Add #include <string> to be able to read _GLIBCXX_USE_CXX11_ABI value.

* Make flags to be lists

* Add _flag to cxx11_abi

* Address review comment.

* Move CXX import to the top level.

* Add goldens update

---
Commit 0cddb9bca authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 174074499

---
Commit ba8c38959 authored by Neal Wu<wun@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Change wide_deep.md and wide.md to reference the TensorFlow official models version rather than the tf.contrib.learn version

PiperOrigin-RevId: 174074112

---
Commit f3006422c authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make `RunTrainOpsHook` public.

PiperOrigin-RevId: 174073925

---
Commit 21dafd6d2 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 174073569

---
Commit 66fc99a3b authored by Artem Belevich<tra@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA:GPU] Short-circuit compilation of no-op IR -> empty PTX.

There's no point constructing/running LLVM pipeline if we know that we have no
kernels in the IR we've generated for the given HLO op. This is often the case
for ops we can optimize away at the HLO level.

PiperOrigin-RevId: 174072540

---
Commit c911d0f16 authored by Dhananjay Nakrani<dhananjayn@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Switch over python calls to RandomPoissonV2.

Part 2 of Support int32/64 in tf.random_poisson().

PiperOrigin-RevId: 174071745

---
Commit b5d5326c6 authored by Justin Lebar<jlebar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA:GPU] Fix race condition in gpu_compiler.cc.

We were racing on libdevice_dir_.

PiperOrigin-RevId: 174070334

---
Commit 35939d2d3 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[TF:XLA] Fix string to HLO opcode conversion for atan2, complex, imag and real.

Make sure that we can't forget opcodes by auto-generating the conversion
functions.

Add auto-generated functions to test HLOs for properties (like IsVariadic,
IsComparison, etc.)

This makes changing HLO more robust and easier because there are fewer places
to update when adding or removing an HLO opcode.

Also:
* Fix IsElementwiseBinary for atan2.
* Add a unit test for HLO opcode helpers.
* Express IsElementwiseBinary in terms of IsElementwise() and operand_count()
to avoid having to keep the two in sync manually.
PiperOrigin-RevId: 174069664

---
Commit 3b845c80d authored by Allen Lavoie<allenl@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Disable resnet50_graph_test under TSAN due to timeouts.

PiperOrigin-RevId: 174066937

---
Commit 8a09bbc4a authored by Igor Ganichev<iga@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add TFE_Py_TensorShapeSlice function

TFE_Py_TensorShapeSlice takes a list of EagerTensors and returns a list
of their i'th dimensions. This utility is fairly niche but it is simple
and reduces SPINN training time by over 12%.

PiperOrigin-RevId: 174065044

---
Commit 585432cc2 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Refactor ArgMin / ArgMax index ops as XlaHelpers.

PiperOrigin-RevId: 174061370

---
Commit e6faa845c authored by Michael Case<mikecase@chromium.org>
Committed by gunan<gunan@google.com>:
Merge v1.4-rc1 back into master branch. (#13960)

* Update RELEASE NOTES for TensorFlow 1.4

* Update the version strings for TF 1.4-rc0.

* Update version strings in POM files missed by update script.

* Pin TensorBoard 0.4 to TensorFlow 1.4

* Fixing the name of the disabled test. (#13592)

* Revert "Implementing ghost batch norm as defined in https://arxiv.org/pdf/1705.08741."

This reverts commit 125f7afa4a483855dc75791445d2dea64587876a.

* Disable iterator_ops_test on Windows for 1.4 release (#13609)

* Disable failing Windows tests for r1.4 release.

testRemoteIteratorUsingRemoteCallOpDirectSessionGPUCPU test is failing
with "TypeError: only integer scalar arrays can be converted to a scalar
index" on the Windows GPU Release bot. Disabling test.

* Fix typo.

* Also disalbe iterator_ops_test from contrib/.

* Add contributing authors to 1.4 Release notes.

Thanks!

* Fixes to authors.

Removed duplicate and removed googler from contributing author list.

* Fixes and additions to release notes.

Added line about Keras moving into core.
Added line about CUDA/cuDNN versions.
Added line about custom ops.

* Fixing a master regression (#13562)

* Update version strings for 1.4.0rc1

* Remaining cherry-picks for 1.4.0rc1 (#13700)

* Java: Tweak to address some Javadoc errors.

PiperOrigin-RevId: 171987329

* Fix S3 BUILD not including files explicitly.

This causes remote builds to fail since they AWS headers were missing.

PiperOrigin-RevId: 171718021

* Add missing default config setting in aws.BUILD (#13662)

* Remove setting AWS logging for S3 file system.

Was causing issues with tests. Can repro test failures on Macs by running...

bazel test --config=s3 --cache_test_results=no --test_output=streamed
//tensorflow/core/kernels:control_flow_ops_test

Possible reason for error is symbol collision with AWS logging code.
One possible solution would be to split out another shared object for
the S3 filesystem op which does not link in libtensorflow_framework.so.
This is done, for example, by libforestprotos.so in
tensorflow/contrib/tensor_forest/BUILD

PiperOrigin-RevId: 171246381

* Relanding change to add config to enable S3 file system support.

Pass --config=s3 argument to Bazel to build with S3 file system support.
Change was originally rolled back due to a failure it caused in
//tensorflow/core/kernels:control_flow_ops_test on Macs which is now fixed.

PiperOrigin-RevId: 171579378

* Update release notes about Amazon S3 file system support being default.

* Add documentation to sloppy_interleave function

PiperOrigin-RevId: 171303413

* Add `cudnn_rnn_ops` to the Windows build

Fixes #13696.

* Creating a patch for the wrong links that still point to dev. (#13753)

* tfdbg release notes in r1.4

* Fix ambiguous type comparison in s3_crypto.cc (#13758)

tensorflow/contrib/s3/s3_crypto.cc(74): error C2666:
'std::fpos<_Mbstatet>::operator ==': 3 overloads have similar conversions
could be 'bool std::fpos<_Mbstatet>::operator ==(std::streamoff) const'
or 'bool std::fpos<_Mbstatet>::operator ==(const std::fpos<_Mbstatet> &)
We were seeing this compilation error on Windows builds.

* Set estimator run_config default random seed to None. This will make it aligned with other parts of the TF. Many users are not aware of impact of non-random seed. For example it may lead to train only on a small fraction of training data due to preemptions.
We're changing default behavior since we consider it as a bug fix.

PiperOrigin-RevId: 172519268

* Move global_step_read dependency to model_fn instead of input_fn.

PiperOrigin-RevId: 172366972

* [tf.data] Fix broken implementation of `Dataset.from_generator()` on Windows.

Due to a mix-up between NumPy's default array element type for a Python `int` on Windows and Linux, a tf.py_func() in `Dataset.from_generator()` would appear to return the wrong type on Windows (np.int32 instead of np.int64).

All code using `Dataset.from_generator()` on Windows was previously broken. This change fixes both `tf.data.Dataset.from_generator()` and `tf.contrib.data.Dataset.from_generator()`. It also enables test coverage for this method on Windows, which should prevent future breakage.

PiperOrigin-RevId: 172346533

* Update RELEASE notes for change to run_config random seed.

* Disable probable timeout flake on Ubuntu machines.

PiperOrigin-RevId: 172408922

* Disabling failing contrib tests.

* Disable S3 on Windows due to build issues.

* Update serving_input_fn argument name to serving_input_receiver_fn

PiperOrigin-RevId: 172787460

* Update the C++ API guide (#13858)

- Adds the standard warning at the top that people may want the master branch
- Includes a documentation fix for 1.4 (cc_binary -> tf_cc_binary to avoid
undefined symbols).

* Add known Dataset issue to RELEASE.md. (#13870)

Adding info about issue using Unicode strings with Datasets.

* Fixes to merge.

* Fix spelling of tensorflow in install_sources.md

---
Commit 6eac524ef authored by cglewis<clewis@iqt.org>
Committed by cglewis<clewis@iqt.org>:
Use 'LABEL maintainer=' in Dockerfile

* Use 'LABEL maintainer=' in Dockerfile

This fix is a follow up of 13961 to replace `MAINTAINER`
with `LABEL maintainer=` in Dockerfile. The keyword
`MAINTAINER` has long been deprecated and is replaced by `LABEL`,
which is much more flexible and is easily searchable through `docker
inspect`.

This fix replaces remaining `MAINTAINER` with `LABEL`.

Signed-off-by: Charlie Lewis <clewis@iqt.org>

* Additional `MAITAINER` -> `LABEL`

Signed-off-by: Charlie Lewis <clewis@iqt.org>

---
Commit 469970260 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Modify quantization to support add ops that occur after Conv2D

PiperOrigin-RevId: 174058697

---
Commit 938643b56 authored by Amit Patankar<amitpatankar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Replace the docker check with an OS check.

PiperOrigin-RevId: 174057778

---
Commit 5f1a66ccb authored by Igor Saprykin<isaprykin@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add more recovery functionality to MonitoredSession.run_step_fn.

Current implemention wouldn't recover from one of `_PREEMPTION_ERRORS` during a fetch through the raw session that is made available to the step_fn.

The changelist presents a way to map the desired functionality to the hiearchy of _MonitoredSession > (possibly!) _RecoverableSession > _CoordinatedSession > _HookedSession.

PiperOrigin-RevId: 174053865

---
Commit 9a2b0983a authored by Yifei Feng<fengyifei2026@gmail.com>
Committed by gunan<gunan@google.com>:
Add apt-key for ubuntu keyserver (#14114)

---
Commit 479ee24a0 authored by Asim Shankar<asimshankar@gmail.com>
Committed by gunan<gunan@google.com>:
eager: Update broken link in README (#14136)

---
Commit ad7bb2b9e authored by Asim Shankar<asimshankar@gmail.com>
Committed by gunan<gunan@google.com>:
eager: Update broken links in guide.md (#14135)

---
Commit c37ebf0d5 authored by Thomas Deegan<tadeegan@gmail.com>
Committed by gunan<gunan@google.com>:
Resolve //tensorflow relative to tensorflow repo so that tfcompile.bzl can be correctly loaded from another Bazel project (#14103)

---
Commit b2ff3ad96 authored by Mustafa Ispir<ispir@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Added GraphKeys.METRIC_VARIABLE collection. Added all variables under tf.metrics and tf.contrib.metrics into this collection. This will enable replication of model for evaluation. When we replicate a metric in multiple towers (let's say for each qpu we replicate same model/metric), we cannot reduce the output of metrics. On the other hand internal state (local-variables) of those metrics can reducible via sum.

PiperOrigin-RevId: 174051559

---
Commit 98dad195d authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds sigmoid to the list of operations that can be recomputed.

PiperOrigin-RevId: 174047825

---
Commit 123749fb1 authored by Yuan (Terry) Tang<terrytangyuan@users.noreply.github.com>
Committed by Martin Wicke<martin.wicke@gmail.com>:
Remove Scikit Flow link and description (#14036)

---
Commit 0d118e4dc authored by Benoit Steiner<bsteiner@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Implemented tensorflow::port::NominalCPUFrequency()

PiperOrigin-RevId: 174041196

---
Commit 648993e82 authored by Andrew Harp<andrew.harp@gmail.com>
Committed by Andrew Harp<andrew.harp@gmail.com>:
delete extraneous file

---
Commit c2ff8a5ab authored by Mark Daoust<markdaoust@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Delete backticks

PiperOrigin-RevId: 174030921

---
Commit 333ba224d authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Dependency information for Skylark macros

PiperOrigin-RevId: 174023371

---
Commit 9ee0cecec authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Shrink the model size for unit test.

PiperOrigin-RevId: 174001263

---
Commit c44f67a7e authored by Yifei Feng<fengyifei2026@gmail.com>
Committed by gunan<gunan@google.com>:
Disable clang_format check. (#14115)

Different clang_format version can cause different formats with the same style option. This check might be too strict. Disable for now.
---
Commit a6a618843 authored by Asim Shankar<ashankar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
eager: Documentation and example models.

- Updated README
- A preliminary "User's Guide"
- A few example models, some with benchmarks

PiperOrigin-RevId: 173996303

---
Commit de38e5dff authored by ???<dev@goodow.com>
Committed by GitHub<noreply@github.com>:
fix broken link
---
Commit cd81bc8e0 authored by Rohan Jain<rohanj@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds a PrefetchWithFn op to contrib/data. Alongwith the FunctionBufferingResource, this can be used to prefetch and fill up a buffer by making repeated function calls.

Also fixes a TODO in the ProcessFLR implementation to respect alloc_attrs for Rendezvous calls.

PiperOrigin-RevId: 173990680

---
Commit 17695212c authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[TF:XLA] Don't pass HLO operands in HandleAtan2.

This makes it consistent with the rest of the Visit methods where we only
pass the HLO itself.

PiperOrigin-RevId: 173990595

---
Commit 113be5746 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
A few profiler improvements
1. Track the full allocation history of each tensor, visualized in timeline.
2. Better ProfileContext for tracing step selection.
3. Small bug fix.

PiperOrigin-RevId: 173988293

---
Commit 6d1263cdf authored by Justin Lebar<jlebar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Remove dead opcode kIndex.

PiperOrigin-RevId: 173987428

---
Commit a4b5356e4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[TF:XLA] Reduce boilerplate code in HLO visitors.

Only pass the HloInstruction into visitor methods. This makes changing
instructions and visitors easier.

PiperOrigin-RevId: 173983398

---
Commit d9cee35b6 authored by LevineHuang<levinehuang@163.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Typo fix in file 'fully_connected_feed.py' (#14033)

* Typo fix in file 'fully_connected_feed.py'

* Minor edits to coding style

---
Commit bb7ed1c88 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
K-FAC: Multi-tower ConvNet example.

PiperOrigin-RevId: 173982527

---
Commit 2ba529856 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Initial add of docs for Tensorflow on Mobile.

PiperOrigin-RevId: 173980290

---
Commit 187453d61 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Change momentum optimizer to allow callable learning_rate and momentum
parameters. This can be useful for implementing learninge rate decay.

PiperOrigin-RevId: 173975321

---
Commit 542b323e5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Register quint16/qint16 for GatherOp.

PiperOrigin-RevId: 173974904

---
Commit 309e34061 authored by Allen Lavoie<allenl@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Avoid uncollectable cycles with a separate deleter object for resources.

PiperOrigin-RevId: 173972515

---
Commit 73fdaf0b5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Summary-writing support for Evaluators.

PiperOrigin-RevId: 173971621

---
Commit 72be26dc8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[tf.data] Iterator Save and Restore for Dataset.from_tensors(..), Dataset.from_tensor_slices(..) and dataset.concatenate(..).

PiperOrigin-RevId: 173971324

---
Commit 09f62ab38 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Speeding up the case for sparse float columns that have only 1 value.

PiperOrigin-RevId: 173971121

---
Commit c315cf1ee authored by Shanqing Cai<cais@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Internal-only changes

PiperOrigin-RevId: 173968246

---
Commit 293ba20be authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make learning_rate_decay.piecewise_constant work in Eager mode.

PiperOrigin-RevId: 173967531

---
Commit 0e6abfcda authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
K-FAC: Example for multi-tower support for MNIST MLP.

PiperOrigin-RevId: 173967370

---
Commit b46c196e9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
* Add graph rewrite rule that removes repeated application of scalar unary ops that are involutions (their own inverse).
* Update rewrite rule for Transpose to also handle ConjugateTranspose.

PiperOrigin-RevId: 173967184

---
Commit ff5c276ad authored by Stephan Hoyer<shoyer@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Longer README for tf.contrib.labeled_tensor

PiperOrigin-RevId: 173966577

---
Commit 558f146e1 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 173966068

---
Commit f9a673cb7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
In the overloaded HloVerifier::CheckShape, include the failing instruction in
the error message.

PiperOrigin-RevId: 173965368

---
Commit 302ab0ff7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 173965174

---
Commit 89120eb68 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
scatter_update for resource variables

PiperOrigin-RevId: 173963715

---
Commit 8f7903b4c authored by Justine Tunney<jart@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Introduce SQLite SummaryWriterInterface

This change allows tensors to be written from the graph, as they flow, directly
to the database. Many of the important details haven't been implemented yet.

This has been done with the new summary interface that's going to be used with
eager.

PiperOrigin-RevId: 173961448

---
Commit 9aaa49a4e authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Avoid using variables as booleans (similarly to tensors).

PiperOrigin-RevId: 173956625

---
Commit a60cd87c4 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
No need for unique variable names in eager.

PiperOrigin-RevId: 173954805

---
Commit f17f389d8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add a workaround in the Grappler arithmetic optimizer for the "Add" op not being marked commutative. This will allow Grappler to dedup nodes Add(x,y) and Add(y,x).

PiperOrigin-RevId: 173950586

---
Commit e40eb810a authored by Shanqing Cai<cais@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
TFE: Add errors for classic tf.summary.* ops and FileWriter

PiperOrigin-RevId: 173949980

---
Commit 25620825b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Dataset: Adds eager warnings to make_initializable_iterator and make_one_shot_iterator.

PiperOrigin-RevId: 173949737

---
Commit 1d6dae88e authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add check to tf.device when called with a function in eager mode.

PiperOrigin-RevId: 173947845

---
Commit 3639aa7ff authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Always run iterator deleter in eager mode for safety.

PiperOrigin-RevId: 173947019

---
Commit efcbf6e34 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Supported in this CL:
* Attaching sharding descriptors to HLO ops
* Partitioning the HLO graph into per-device computations based on those sharding descriptors.
* All operator support for device placement and ops replicated on all devices.
* Elementwise op support for tiled shardings.
* 2D Convolution support for tiled shardings (no stride or dilation support).

PiperOrigin-RevId: 173946036

---
Commit 682a6ed64 authored by Jon Shlens<shlens@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update the documentation for sample_distorted_bounding_box

PiperOrigin-RevId: 173943029

---
Commit 4f6e6ea4c authored by Sanjoy Das<sanjoy@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix typo in comment; NFC

PiperOrigin-RevId: 173942305

---
Commit 07584221f authored by Anna R<annarev@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Set visibility to HIDDEN for hidden Python ops in ApiDef.

PiperOrigin-RevId: 173942001

---
Commit 35cc8bb0a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
K-FAC: Multiple minibatches support for LayerCollection.register_conv2d()

PiperOrigin-RevId: 173941279

---
Commit 32f3c3a43 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 173933228

---
Commit 8cc7b47a4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 173932574

---
Commit b9337de5b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
K-FAC: Multi-tower support for ConvKFCBasicFB

PiperOrigin-RevId: 173932013

---
Commit 1b6b7e208 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add registration for op AddV2, which is identical to Add, except that it does does not implement string concatenation. This allows us to mark AddV2 is_commutative and is_aggregate, which will allow optimizers more freedom.

PiperOrigin-RevId: 173931848

---
Commit 629e6d0c1 authored by Joshua V. Dillon<jvdillon@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Bugfix: Make `tf.contrib.distributions.Independent` tests not flaky.

PiperOrigin-RevId: 173921378

---
Commit 4b63f47d9 authored by Justin Lebar<jlebar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA:CPU] Don't crash if someone tries to do dot(X, X) or dot(X, X^T).

PiperOrigin-RevId: 173919310

---
Commit 89582677c authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
EagerVariableStore, for compatibility with functional layers.

PiperOrigin-RevId: 173915730

---
Commit cef680b53 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Enable shape inference on functions in grappler.

PiperOrigin-RevId: 173914941

---
Commit e8ac0b48f authored by Akshay Agrawal<akshayka@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Report a nicer error message when differentiating a function
that returns None in eager

PiperOrigin-RevId: 173914883

---
Commit 85f8d9240 authored by Eugene Brevdo<ebrevdo@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[tensorflow training input] If SparseTensors are used in batch* ops, ensure restoration.

This forces the ST restore op to be called if any tensors are accessed at the output
of the batch, thus fixing a memory leak.

Solution suggested by Derek Murray.

Fixes #13999.

PiperOrigin-RevId: 173904309

---
Commit 7fd261602 authored by Skye Wanderman-Milne<skyewm@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add TF_GraphVersions() to C API and use in Graph.graph_def_versions()

PiperOrigin-RevId: 173902666

---
Commit 4723f8f6e authored by RJ Ryan<rjryan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Support SymbolicGradient for functions with non-trainable arguments.

The non-trainable arguments end up with None as their incoming out_grad, which is not a valid input to SymbolicGradient (inputs have to be convertible to Tensor, and None isn't).

PiperOrigin-RevId: 173901727

---
Commit 494672475 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Added "NOTE: You may only install TensorFlow on 64-bit machines" to all the
TensorFlow Install guides.

PiperOrigin-RevId: 173899394

---
Commit b73743e3a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Remove accidental disablation of (already manual) tests.

PiperOrigin-RevId: 173898910

---
Commit ce0238198 authored by Skye Wanderman-Milne<skyewm@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add ability to fetch return nodes and unused input mappings from C API GraphDef import

This change introduces yet another ImportGraphDef function to the C
API (TF_GraphImportGraphDefWithResults), but this one has extensible
return values so we shouldn't have to add more in the future.

This change also modifies the ImportGraphDef C interface to manage all
string data for the user.

PiperOrigin-RevId: 173894710

---
Commit ef4490f63 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BUILD cleanup in contrib/...

PiperOrigin-RevId: 173889798

---
Commit 2e54fd6de authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds eager execution compatibility note in Readers, Queues, and QueueRunner.

Raises a RuntimeError in base classes for QueueBase, ReaderBase, and QueueRunner.

PiperOrigin-RevId: 173888425

---
Commit 32ab30cb0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fixes typo in compatibility.

PiperOrigin-RevId: 173887031

---
Commit 325c8e5ef authored by Justine Tunney<jart@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Improve C++ SQLite veneer

- Use shared_ptr for Sqlite
- Don't need unique_ptr on SqliteStatement
- Don't need db namespace
- Include SQL in error statuses

PiperOrigin-RevId: 173802267

---
Commit 0eba15fe6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds eager compatability message for PartitionedVariable.

PiperOrigin-RevId: 173772851

---
Commit e7645b629 authored by Justin Lebar<jlebar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] DOT dumper: Handle fusion nodes nested inside other nodes (e.g. map).

PiperOrigin-RevId: 173752314

---
Commit 8ec7540e0 authored by Shanqing Cai<cais@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
TFE: Fix pip test for tf.contrib.summary

Fixes test failure in tensorflow/contrib/summary:summary_ops_test, e.g.,
http://ci.tensorflow.org/job/tensorflow-cl-cpu-python3-pip/10933/console

PiperOrigin-RevId: 173749502

---
Commit c16797ec3 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds eager execution compatibility note in Estimators.

Raises a RuntimeError in Estimator base class.

PiperOrigin-RevId: 173744765

---
Commit e8a62a30b authored by ???<dev@goodow.com>
Committed by GitHub<noreply@github.com>:
Fix minor typo
---
Commit 36696ad58 authored by ???<dev@goodow.com>
Committed by Larry Tin<dev@goodow.com>:
tf.zeros doesn't accept a tensor argument

ValueError: Shape must be rank 1 but is rank 0 for 'zeros_2' (op: 'Fill') with input shapes: [], [].

---
Commit 9f4b12bb5 authored by Justin Lebar<jlebar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] DOT dumper: Print constant shape when we elide the constant's value.

For example, instead of "operand 1 = %constant.42", we now print
"operand 1 = %constant.42 (f32[100])".

PiperOrigin-RevId: 173741373

---
Commit 45c5118f0 authored by Mark Heffernan<meheff@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
When creating an HloModule from an HloProto construct the HloModuleConfig
with a correct ProgramShape which matches the shapes of the entry computation.
Previously the module config had a bogus or default constructed ProgramShape.

PiperOrigin-RevId: 173741104

---
Commit 09a89ae57 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add `tf.contrib.distributions.bijectors.Reshape`.

PiperOrigin-RevId: 173740491

---
Commit 729db035e authored by Mark Daoust<markdaoust@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Allow compatibility notes in class, property and module doc-strings

PiperOrigin-RevId: 173739674

---
Commit ca56fa49a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 173739110

---
Commit 48df7c972 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 173738765

---
Commit fb2c84cb2 authored by Jeremy Lau<lauj@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Internal change

PiperOrigin-RevId: 173738655

---
Commit 245a5c171 authored by Akshay Agrawal<akshayka@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make functional_ops compatible with eager exeuction by ignoring
caching devices when in eager mode

PiperOrigin-RevId: 173737949

---
Commit d1c59bd37 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add tf.quantize op, which is the same as tf.quantize_v2.

PiperOrigin-RevId: 173735986

---
Commit 3ff9c8d2a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix typos in Linear Model Tutorial samples

1. test_file_name is undefined (should be test_file.name)
2. train_file_name is undefined (should be train_file.name)

PiperOrigin-RevId: 173733442

---
Commit abbab2430 authored by Michael Case<mikecase@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add bazel mirror links for newly added workspace dependencies.

PiperOrigin-RevId: 173732606

---
Commit 46a577feb authored by Derek Murray<mrry@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[CMake] Generate audio_ops wrappers in the CMake build.

Fixes #14004.

PiperOrigin-RevId: 173732397

---
Commit 7cb7f88c5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add count metric, a helper function that computes the total number or total weight of examples.

PiperOrigin-RevId: 173731046

---
Commit e1d7615eb authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix issue with gradients of functions which return multiple values.

PiperOrigin-RevId: 173730922

---
Commit 80374a7b4 authored by Joshua V. Dillon<jvdillon@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Breaking change: Rename `tf.contrib.distributions.Independent` parameter from
`reduce_batch_ndims` to `reinterpreted_batch_ndims`. Also change default;
`reinterpreted_batch_ndims` default has semantics of `tf.layers.flatten`, i.e.,
all batch dimensions except the first (batch axis 0) are interpretted as being
part of the event.

PiperOrigin-RevId: 173729585

---
Commit 5426a3c93 authored by Allen Lavoie<allenl@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add tfe.get_optimizer_variables for fetching a list of variables which an
optimizer has created. Useful for saving them if executing eagerly.

PiperOrigin-RevId: 173726859

---
Commit 02f55400f authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
custom_gradient functions should be able to return their inputs

PiperOrigin-RevId: 173723462

---
Commit 78bac7290 authored by Shanqing Cai<cais@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
TFE: Add compatbility doc string to add_to_collection() and friends

PiperOrigin-RevId: 173716912

---
Commit 9bf00c371 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Shorter import for tfe.

PiperOrigin-RevId: 173716375

---
Commit 0bc432a44 authored by Shanqing Cai<cais@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
TFE: Add compatibility errors and doc strings to queues, input pipelines and Supervisor

PiperOrigin-RevId: 173712330

---
Commit e9af1af4f authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Fixing the sources docs in master.

---
Commit b31b08bb0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds randomized tests for newly introduced complex and related ops.

PiperOrigin-RevId: 173709206

---
Commit 466b9ecf8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Report total number of bytes to be transferred when the curl request makes no progress.

PiperOrigin-RevId: 173707608

---
Commit 7c4e98eb4 authored by Igor Ganichev<iga@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add Tensor._rank() getter

It appears to speed up SPINN model by about 1%, which is not much, but
this method is very simple and easier to use than len(tensor._shape_tuple())

PiperOrigin-RevId: 173703259

---
Commit d7cffe9c0 authored by Allen Lavoie<allenl@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds save and restore methods to tfe.Network

Save just saves the variables to a checkpoint. Restore either restores immediately or defers the restoration to variable creation time with a custom getter.

PiperOrigin-RevId: 173703075

---
Commit 9158f974a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use tf.app.run in gcs_smoke, so that the flags are explicitly parsed, instead of parsed when first accessed.

PiperOrigin-RevId: 173702828

---
Commit 3d39b32b9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix a tfprof bug. Throws an error when the flops cannot be calculated.

PiperOrigin-RevId: 173702740

---
Commit 73155f56a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[TF:XLA] Small code cleanup. Re-alphabetized.

PiperOrigin-RevId: 173702336

---
Commit 32bcf46f1 authored by Mustafa Ispir<ispir@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
internal

PiperOrigin-RevId: 173697389

---
Commit 97484a4d9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 173690751

---
Commit 873ef2ca3 authored by Oleg Zabluda<ozabluda@gmail.com>
Committed by GitHub<noreply@github.com>:
Fix documentation error in tf.size() - output type
---
Commit 16538dab7 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Saves summaries in the mnist example.

PiperOrigin-RevId: 173690505

---
Commit 6b05b36cd authored by Jiri Simsa<jsimsa@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Generalizing sloppy_interleave, making sloppiness an option.

PiperOrigin-RevId: 173687797

---
Commit 7775a6604 authored by Michael Case<mikecase@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Internal Change

PiperOrigin-RevId: 173685895

---
Commit 5120e75cf authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Move `@compatibility(eager)` from class docstring to __init__ docstring

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 7d7b2ec58 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Also fixes `@end_compatiblity` -> `@end_compatibility`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 96dc501cd authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Fix incorrect annotation tag in tf.Variable

In tf.Variable the annotation tag of `@compatiblity` should be `@compatibility`

---
Commit c22973867 authored by Mark Daoust<markdaoust@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Delete bad links (md links not supported in html blocks).

PiperOrigin-RevId: 173680417

---
Commit 4198e27be authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA:CPU] [XLA:GPU] Adds compiler support for C64 primitive type, including relevant elementwise unary and binary op lowering for CPU and GPU.

We use a named LLVM struct "complex64", laid out the same as std::complex<float>. This named struct is accessed via the llvm::Module, which required changes to accessors of PrimitiveTypeToIrType & friends.

Ops that require atan2 (in particular, angle and log) are only supported on GPU at this point. LLVM lacks a CPU intrinsic for atan or atan2, whereas libdevice provides this for GPU.

PiperOrigin-RevId: 173676849

---
Commit 4ae245a7d authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
n/a (internal change only)

PiperOrigin-RevId: 173674697

---
Commit 0ccf5cf60 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Limit the amount of logspam a use of GraphKeys.VARIABLES causes.

Multiple copies of this warning next to each other often make logs unreadable.

PiperOrigin-RevId: 173672701

---
Commit a7b872527 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Fix an ouput typo in `ci_sanity.sh`

In the last PR #13924 (clang sanity check) the output message should be changed:
`due to the absence of Python code changes`
->
`due to the absence of .h or .cc code changes`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 58d2c5f50 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Shanqing Cai<cais@google.com>:
Add `SANITY_STEPS_DESC` for do_clang_format_check (#14030)

* Add `SANITY_STEPS_DESC` for do_clang_format_check

This fix is a follow up to PR #13924 to add the corresponding
description in `SANITY_STEPS_DESC`.

See comment #13924#discussion_r147314599
for details.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update description for Clang Format Check

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 62a9ab28c authored by ???<dev@goodow.com>
Committed by GitHub<noreply@github.com>:
fix broken link
---
Commit c6292a3f9 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Sanitize decode_csv_op.cc with `clang-format -i`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 285ea3910 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Add test cases for `double` support of `tf.decode_csv`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 73aaed655 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Update docs for `double` support on `tf.decode_csv`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 3595d1613 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Add `double` support for `tf.decode_csv`

In the current tensorflow `tf.decode_csv` accepts
`float`, `int32`, `int64`, `string` but not `double`.
It seems adding `double` support makes sense as `StringToNumber`
already support `double` type.

This fix adds `double` support for `tf.decode_csv`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 37d483fda authored by Sergii Khomenko<sergii.khomenko@stylight.com>
Committed by Sergii Khomenko<sergii.khomenko@stylight.com>:
Fix a typo

---
Commit 9c8a520b0 authored by Justine Tunney<jart@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add WriteEvent method to SummaryWriterInterface

Another change will follow that adds an op for this method. It will be useful
for loading event logs into other types of summary writer implementations, like
a database.

This change might also make the new summary file writer go faster, due to less
memory copying.

PiperOrigin-RevId: 173640116

---
Commit a49455812 authored by Eugene Brevdo<ebrevdo@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 172654120

PiperOrigin-RevId: 174388998
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
70698a168669e0335872ce9248a6c496328d7871 02-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> Adding streaming_recall_at_precision to Tensorflow contrib metrics.

PiperOrigin-RevId: 174250716
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c40d5417334a2131a3507ab387ace025bac222d3 01-Nov-2017 A. Unique TensorFlower <gardener@tensorflow.org> Exposes recall_at_top_k under tf.metrics.

PiperOrigin-RevId: 174189641
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
b242a7988ccd3f8f55c7ec494d2d4f76175fb6d8 31-Oct-2017 Mustafa Ispir <ispir@google.com> Set metric variable initializers as lambda.

PiperOrigin-RevId: 174100686
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
b2ff3ad96664391f1d6147b1227194b8b1c66d07 31-Oct-2017 Mustafa Ispir <ispir@google.com> Added GraphKeys.METRIC_VARIABLE collection. Added all variables under tf.metrics and tf.contrib.metrics into this collection. This will enable replication of model for evaluation. When we replicate a metric in multiple towers (let's say for each qpu we replicate same model/metric), we cannot reduce the output of metrics. On the other hand internal state (local-variables) of those metrics can reducible via sum.

PiperOrigin-RevId: 174051559
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
7cb7f88c5ff12a5ce52e82d9f07e1b489df1e0ff 28-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> Add count metric, a helper function that computes the total number or total weight of examples.

PiperOrigin-RevId: 173731046
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
bab6e69913f7fd0ad59a93e092ac28720b99a05c 26-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> Updating documentation of _remove_squeezable_dimensions (in python/ops/metrics_impl.py) and removing duplicate function in contrib/metrics/python/ops/metric_ops.py.

PiperOrigin-RevId: 173576149
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
fa5921b6cefa3e877348cfa5158143fbc764bc8c 25-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> Exposes precision_at_top_k under tf.metrics.

PiperOrigin-RevId: 173324359
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
ebcae4a5e3bf5c840d73a0d90f1b5bf01a68f82c 21-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> Add streaming_precision_recall_at_equal_thresholds

This helper method computes streaming tp, fp, tn, fp, precision, and recall for the user in a way that exhibits O(T + N) time and space complexity (instead of O(T * N)), where T is the number of thresholds and N is the size of the predictions tensor.

Thanks to Frank Chu for the efficient algorithm!

PiperOrigin-RevId: 172946073
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
71bdc0efa737e3094033f0c6ea3779b1fc3c8a94 20-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> Formatting metric_ops.

PiperOrigin-RevId: 172910546
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
a3667c483ebf839653d71cf42a0a71196a513dc9 14-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> Add streaming_false_{negative,positive}_rate and streaming_false_{negative,positive}_rate_at_thresholds.

PiperOrigin-RevId: 172191462
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
5acdad4209cc8ee1a5c9421cbe38b0f2538843eb 13-Oct-2017 Anna R <annarev@google.com> Automated g4 rollback of changelist 172048554

PiperOrigin-RevId: 172065800
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
71568313f00efc0c3521f2e194ed66dc60b61f90 13-Oct-2017 A. Unique TensorFlower <gardener@tensorflow.org> Add streaming_false_{negative,positive}_rate and streaming_false_{negative,positive}_rate_at_thresholds.

PiperOrigin-RevId: 172048554
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
a373b1f74215e44920bf9362a51bece530edf88a 16-Sep-2017 Patrick Nguyen <drpng@google.com> Merge changes from github.
END_PUBLIC

I also integrated #13073 by hand to make TAP happy.

---
Commit 92362d0f0 authored by Skye Wanderman-Milne<skyewm@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add WhileContext class and add plumbing for creating them.

This change introduces WhileContext, which stores information about a
while loop and will be used in future changes to generate while loop
gradient graphs. Exit nodes in a while loop now have a pointer to
their associated WhileContext. This will be used to retrieve the
context for a given loop.

This change adds an optional parameter to BuildWhileLoop() to create a
WhileContext for the while loop (currently this is always true, but
gradients will generate while loops without associated contexts). This
change also adds a as-yet-unused option to BuildWhileLoop() to return
the predicate output.

PiperOrigin-RevId: 168562303

---
Commit a4f6e7c1a authored by RJ Ryan<rjryan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add mel-scale conversion matrix support to tf.contrib.signal.

PiperOrigin-RevId: 168560255

---
Commit b00b6d23c authored by Henry Tan<henrytan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix a segmentation fault caused by invalid log directory in InternalFlush().

PiperOrigin-RevId: 168557063

---
Commit 2bc7a155a authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
Add uint16 support for tf.decode_raw (#12719)

* Add uint16 support for tf.decode_raw

This fix tries to address the request raised in 10124 where
uint16 support for tf.decode_raw is needed. tf.decode_raw
already support half, float32, float64, int8, int16, int32, int64,
uint8. And uint16 was not supported.

This fix adds uint16 support for tf.decode_raw.

This fix fixes 10124.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Fix test failure caused by uint16 support of decode_raw and add unit tests.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 009285c09 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Remove benchmark for TensorShapeOld.

PiperOrigin-RevId: 168551108

---
Commit dc1eda8a6 authored by Peter Hawkins<phawkins@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Fix CHECK-failure crash if a non-tuple was passed to GetTupleElement.

PiperOrigin-RevId: 168550703

---
Commit 010922ed9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 168549989

---
Commit c8a6131e9 authored by Mark Daoust<markdaoust@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
make `tf.sets` examples executable

Fixes #12969

PiperOrigin-RevId: 168549712

---
Commit bece65c6f authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use a map instead of a vector of Children() in the BeamEntry.

The assumption is that since the entries are sparse (they are all populated, but most are never Active()), using the map will save memory and make iterating over the Children() more efficient.

PiperOrigin-RevId: 168548814

---
Commit 0d5ab82ce authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 168548642

---
Commit 3331c574b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Implementing gradients for tf.image.resize_bicubic.

PiperOrigin-RevId: 168547412

---
Commit 4982ef0fa authored by Martin Wicke<wicke@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add the ability to warn only once if deprecated functionality is used, and make that the default.

PiperOrigin-RevId: 168545655

---
Commit 99423416a authored by Peter Hawkins<phawkins@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Make shape inference error messages for the While HLO more readable. Build the error lazily.

PiperOrigin-RevId: 168531083

---
Commit d10374e45 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Discard some unneccessary logging commands.

PiperOrigin-RevId: 168500721

---
Commit 83cbabb85 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix wrong format of logging message.

PiperOrigin-RevId: 168497373

---
Commit eec4f1b3a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 168494944

---
Commit 69301f352 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 168494220

---
Commit 9d56f419c authored by Mingxing Tan<tanmingxing@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add crop_and_decode_jpeg_op that combines the crop and decode for better
performance.

PiperOrigin-RevId: 168493125

---
Commit 48ddf64d0 authored by Chris Leary<leary@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Make large params test only run in opt builds.

PiperOrigin-RevId: 168491913

---
Commit 11d3ac29d authored by Chris Leary<leary@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Add tests for large numbers of parameter / return values and while loops.

PiperOrigin-RevId: 168487225

---
Commit 3cd6bdef5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Added test cases on R4 slice.

PiperOrigin-RevId: 168482049

---
Commit 46a81b5c3 authored by Jacques Pienaar<jpienaar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add cast S64 to F32 test.

PiperOrigin-RevId: 168473650

---
Commit 59bdf598d authored by Derek Murray<mrry@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add an automatically-generated "tensorflow.python.platform.build_info" script.

The motivation for this script is to provide better tools for
diagnosing load-time errors (such as the ones that plague the Windows
build due to DLL issues). Note that the script is intended to be
self-contained, so that it is possible to import it without loading
the entire TensorFlow runtime.

This generated script currently contains a single symbol,
`is_cuda_build`, which records whether the build has GPU support or not.

PiperOrigin-RevId: 168471034

---
Commit c3b86347f authored by Olivia Nordquist<nolivia@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
reenabling tests that are passing

PiperOrigin-RevId: 168466361

---
Commit c728665ec authored by Henry Tan<henrytan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add const qualifiers whenever appropriate.

PiperOrigin-RevId: 168465926

---
Commit bf96fcd13 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use the scalar cache in MeanGrad.

PiperOrigin-RevId: 168462267

---
Commit 1cada9ea2 authored by Olivia Nordquist<nolivia@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
reenabling test that passed after 100 runs w/o timing out

PiperOrigin-RevId: 168458634

---
Commit 00c865566 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Generate error (instead of segfault) when trying to copy string tensor
to GPU in EagerTensor constructor.

PiperOrigin-RevId: 168457320

---
Commit 655f26fc7 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Resurrects autograd-free eager gradients.

PiperOrigin-RevId: 168448557

---
Commit 8f37f3002 authored by Peter Hawkins<phawkins@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[TF:XLA] Cleanups to handling of arguments during XLA compilation:
* combine resource kinds in XlaCompiler::Argument::Kind, use a separate XlaResource::Kind field to distinguish different kinds of resource.
* merge XlaContext::HandleOrConstant and XlaExpression, which were almost identical.
* remove XlaContext::Argument; instead, build XlaExpressions directly from XlaCompiler and add them to the XlaContext.

PiperOrigin-RevId: 168439341

---
Commit 7f5346a80 authored by Gunhan Gulsoy<gunan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Reduce cmake log mess.

* Echo off for the .bat scripts.
* TF cmake: disable warnings in some of the patched projects (gif,jpeg,lmdb).

PiperOrigin-RevId: 168432070

---
Commit 2ad85aa4d authored by Mark Heffernan<meheff@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use xla/tests:xla_internal_test_main for all tests under tf/compiler/xla
and remove any main() definitions in tests. This enables use of flags
in all tests.

PiperOrigin-RevId: 168424796

---
Commit cd377811d authored by Henry Tan<henrytan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Comment and error message consistency cleanup.

PiperOrigin-RevId: 168422582

---
Commit 7c19b82af authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update tf.sparse_reset_shape so that when shrinking the shape of an empty
sparse tensor, the result has a shape of all zeros.

PiperOrigin-RevId: 168419639

---
Commit fcacb40d4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
FirstReadyManager for scheduling nodes in VirtualScheduler.
The current FIFOManager may yield inefficient scheduling; _Recv pushed to the
FIFO blocks other nodes that can run before _Recv due to the node order in FIFO.
FirstReadyManager picks a node with the earliest time_ready in the queue,
avoiding this problem.

Also, fixed VirtualPlacer to properly set device when Node's device name does not
include job name and to set GPU:0 as default device.

PiperOrigin-RevId: 168418455

---
Commit 7e47624f5 authored by Asim Shankar<ashankar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
eager: Initial support for iteration over tf.contrib.data.Dataset objects.

TODO:
- Support function-valued operation attributes in eager
(Required for MapDataset, FilterDataset etc. which encode the
per-element computation in a TensorFlow function)
PiperOrigin-RevId: 168418250

---
Commit b0a397fce authored by Asim Shankar<ashankar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
eager: Remove unnecessary TFE_Context argument to TFE_OpSetDevice.

PiperOrigin-RevId: 168417999

---
Commit 86211d554 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Graph transform to flatten atrous (dilated) convolutions (i.e., a sequence of SpaceToBatchND-Conv-BatchToSpaceND ops) to a regular Conv op with upsampled filters.

PiperOrigin-RevId: 168414124

---
Commit 3438981ca authored by David G. Andersen<dga@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Apply exported symbol filtering to the c++ API analogously to
what is filtered for the C API.
Fixes bug reported in comments on #1924

PiperOrigin-RevId: 168413719

---
Commit 7e023d865 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA:CPU] Remove code from parallel CPU backend outlining that was causing unnecessary copies to be inserted, and which is no longer necessary since we added co-located buffer support for kCall.
*) All bitcast copy is no longer necessary as CopyInsertion will insert copies
at the root of the computation for a parameter which is live-out.
*) Copy if root does not define buffer no longer necessary because colocated
assignment looks at points-to set of root instruction.

PiperOrigin-RevId: 168412076

---
Commit 5da4df92c authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Simplify some code in grappler_item_builder.cc, no change in logic.

PiperOrigin-RevId: 168409110

---
Commit 82ec6241a authored by drpngx<drpngx@users.noreply.github.com>
Committed by GitHub<noreply@github.com>:
Add six and numpy imports
---
Commit 9c4ce2452 authored by Mark Heffernan<meheff@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add flag parsing to more tests in xla/service specifically those which build
HLO graphs. This enables, for example, dumping of the graphs with
--xla_generate_hlo_graph. Also remove some superfluous tensorflow test_main
dependencies.

PiperOrigin-RevId: 168406746

---
Commit d4efa695c authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Relax the feed_nodes collection check, which triggers a false positive in some modes where the feed node collection is auto-generated. Keep it as a warning to help correct user-provided feed node lists.

PiperOrigin-RevId: 168396408

---
Commit cbc46a856 authored by Changming Sun<chasun@microsoft.com>
Committed by gunan<gunan@google.com>:
Add a missing template explicit instantiation of SetZeroFunctor (#12791)

---
Commit 7bb08f5bf authored by Kevin Slagle<kjslag@gmail.com>
Committed by drpngx<drpngx@users.noreply.github.com>:
fix ExponentialMovingAverage documentation so that ExponentialMovingAverage.apply is evaluated within control_dependencies (#12987)

---
Commit e6b011763 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Extend c++ gradient_checker to complex types.

PiperOrigin-RevId: 168392949

---
Commit 4086219a4 authored by Lyndon White<oxinabox@ucc.asn.au>
Committed by drpngx<drpngx@users.noreply.github.com>:
Correct minor typo in substr docs example (#12991)

---
Commit f63aa7f49 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Migrate core TFGAN functions to opensource.

PiperOrigin-RevId: 168391923

---
Commit bc6b60f1b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix tuple_losses bug caused by Python bug.

PiperOrigin-RevId: 168386341

---
Commit 7a8c63da3 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Migrate `leaky_relu` to `nn_ops.py`. Will be used for TFGAN.

PiperOrigin-RevId: 168386268

---
Commit f7ba16fdf authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Do not export from eval on train data steps.

PiperOrigin-RevId: 168374021

---
Commit 9b9e54b34 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adding NCCL sum op, register all_sum gradient.
Streamlining nccl test.

PiperOrigin-RevId: 168347428

---
Commit bc300318e authored by Gunhan Gulsoy<gunan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update gemmlowp hash as the commit history seems to have changed in the
repository.

PiperOrigin-RevId: 168343607

---
Commit 1e96d54d9 authored by gunan<gunan@google.com>
Committed by GitHub<noreply@github.com>:
Also accept non-k8 CPU types in build pip package. (#12975)

* Also accept non-k8 CPU types in build pip package.
Fixes #12735

* Make the script work with `set -e`.

---
Commit c0a4c7ffc authored by Chris Leary<leary@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Fix bug in ShapeUtil::ShapeIs that would lead to type inference errors.

PiperOrigin-RevId: 168323589

---
Commit 4af9be964 authored by Amy<amy@infosleuth.net>
Committed by drpngx<drpngx@users.noreply.github.com>:
support passing in a source url to the mnist read_data_sets function, to make it easier to use 'fashion mnist' etc. (#12983)

---
Commit 9f848734f authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Tweak layer a bit to be eager friendly.

PiperOrigin-RevId: 168312865

---
Commit 60f15462b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Change conv_input_scale and side_input_scale from attributes to inputs for improved flexibility, in fused_conv2d_bias_activation op.

PiperOrigin-RevId: 168311988

---
Commit 4b4e10f9c authored by Jianwei Xie<xiejw@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Adds dict support of eval metrics.

PiperOrigin-RevId: 168310444

---
Commit ab7f22de6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Move FusedConvBiasActivationShape out of common_shape_fns.cc to a lambda inside the op.

PiperOrigin-RevId: 168300911

---
Commit 3a98035fa authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Augment metadata output with source-line info, as before.

PiperOrigin-RevId: 168292527

---
Commit 349188152 authored by Yao Zhang<yaozhang@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Enable fused batch norm, which is 15-20% faster for training and inference.

PiperOrigin-RevId: 168288154

---
Commit 08587d45b authored by Yuefeng Zhou<yuefengz@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Added back persistent memory tracking in queue op. The new tracking logic has avoided the crash in previous implementation: the queue_ passed to CreateTypedQueue may be unreffed if the resource is already created by another resource op that shares the same resource name and type.

PiperOrigin-RevId: 168284509

---
Commit 733063d55 authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Fixing awkward wording.

---
Commit c7ad6bfef authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Removing accidental hash.

---
Commit 53dbc761a authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Adding Windows self check script to docs.

---
Commit ed1135994 authored by Andrew Harp<andrewharp@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add -latomic flag to benchmark_model target to fix Android x86 build.

PiperOrigin-RevId: 168281337

---
Commit c0348bb55 authored by Anna R<annarev@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update tf_export.py to take constant name as an argument instead of a constant.

PiperOrigin-RevId: 168280613

---
Commit c3d19e40a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Cleanup training_ops to reduce code redudancy.

PiperOrigin-RevId: 168280069

---
Commit 123fb01ee authored by Yao Zhang<yaozhang@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Set fused=False for batch norm, because the test assumes no bessel's
correction. Fused=True would add bessel's correction to variance.

PiperOrigin-RevId: 168274392

---
Commit f0e8c545e authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Switch resource variables from copy-on-read to copy-on-write.

RELNOTES: Change the signature of (C++) GetInputTensorFromVariable in
training_op_helpers to support new copy-on-write semenatics of resource
variables.
PiperOrigin-RevId: 168273249

---
Commit 495cc8e47 authored by Yuan (Terry) Tang<terrytangyuan@users.noreply.github.com>
Committed by drpngx<drpngx@users.noreply.github.com>:
Minor wording change in timeseries module's README (#12938)

* Minor wording change in timeseries module's README

* Address comments

---
Commit f13b876ed authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Making the default build from source version 1.4.0dev. The whl files that are built will be 1.3.0devDDMMYYYY.

---
Commit 2356c0ff4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Delete ScopedTFStatus to avoid leaking it for long running trainers(1+day).

PiperOrigin-RevId: 168259652

---
Commit e15f4cae2 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Don't remove all aliases from linalg namespace.
Get rid of redundant aliases.

PiperOrigin-RevId: 168257658

---
Commit c58082642 authored by postBG<profile2697@gmail.com>
Committed by drpngx<drpngx@users.noreply.github.com>:
Fix minor typo in Programmers guide (#12965)

* Fix minor typo in Programmers guide

* change to "this"

---
Commit 509372c2e authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add a lot of operations' flops calculations

PiperOrigin-RevId: 168256746

---
Commit 80ed8afc0 authored by Francois Chollet<fchollet@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add Flatten to core layers.

PiperOrigin-RevId: 168254118

---
Commit a6223c01a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix locking of variables in SparseProximalGradientDescent,
AdagradDA, SparseAdagradDA.

PiperOrigin-RevId: 168252530

---
Commit abde00830 authored by Olivia Nordquist<nolivia@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
adding InputTensor class for symmetry with OutputTensor

PiperOrigin-RevId: 168250085

---
Commit 0451032ca authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Fix variable naming style guide violation.

PiperOrigin-RevId: 168245542

---
Commit a202a5a94 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 168245371

---
Commit f93e354cb authored by Derek Murray<mrry@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[tf.contrib.data] Switch backend Dataset representation to DT_VARIANT.

This change introduces a new `DatasetWrapper` type that wraps a
`DatasetBase*` and can be stored in a DT_VARIANT tensor. All Dataset
ops now consume and produce DT_VARIANT instead of DT_RESOURCE, and the
underlying implementation is simplified because the `DatasetWrapper`
can be passed directly by value without using the `ResourceMgr`.

PiperOrigin-RevId: 168240571

---
Commit a4042cd2a authored by Jianwei Xie<xiejw@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Introduces the placeholder for _TrainingExecutor, which serves the implementation of tf.estimator.train_and_evaluate.

PiperOrigin-RevId: 168240151

---
Commit 10ba148f7 authored by Peter Hawkins<phawkins@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Switch control_flow_ops library to use Resource variants of Stack operators, instead of deprecated Ref variants.

PiperOrigin-RevId: 168234822

---
Commit ca43fe82b authored by Ali Yahya<alive@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
TFE: Improves the interfaces of tape.watch_variable() and implicit_grad().

tape.watch_variable() replaces tape.watch() and now is called on ResourceVariable objects instead of their underlying handles.

implicit_grad() now returns a list of (gradient, variable) pairs to be consistent with tf.Optimizer's interface.

PiperOrigin-RevId: 168232055

---
Commit b72862dfc authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
internal change

PiperOrigin-RevId: 168225993

---
Commit da3280f4d authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Re-enable tsan for sdca_estimator_test.

PiperOrigin-RevId: 168186374

---
Commit c936c1155 authored by Yifei Feng<yifeif@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix pip tests for contrib/gan.
- Add *_impl.py so tests can still access removed symbols.
- Add /python directory layer to make *_impy.py and __init__.py not in the same dir.

PiperOrigin-RevId: 168161722

---
Commit ce9a2b00f authored by Toby Boyd<tobyboyd@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Performance guide update

PiperOrigin-RevId: 168159289

---
Commit 3bce4f9a0 authored by Shanqing Cai<cais@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
TFE: expose tfe.num_gpus()

PiperOrigin-RevId: 168154345

---
Commit 67a7cbc28 authored by Jianwei Xie<xiejw@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Changed the default eval throttle secs from 2 min to 10 mins.

PiperOrigin-RevId: 168120323

---
Commit 92bed178f authored by Eugene Brevdo<ebrevdo@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Reduce cmake log mess.

* Echo off for the .bat scripts.
* TF cmake: disable warnings in some of the patched projects (gif,jpeg,lmdb).

PiperOrigin-RevId: 168119914

---
Commit 702d59582 authored by joshkyh<joshkyh@users.noreply.github.com>
Committed by Yifei Feng<fengyifei2026@gmail.com>:
Corrected hyperlink for audio training tutorial (#12923)

---
Commit 877c9deca authored by Frank Chen<frankchn@gmail.com>
Committed by Yifei Feng<fengyifei2026@gmail.com>:
Reverse change eb75ded6 so that internal tests will pass. (#12933)

As support for int64 global steps is not ready in TPUs, I am reversing this change so that our internal performance and regression tests will pass.
---
Commit 665966438 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Re-enable grpc_session_test.

PiperOrigin-RevId: 168078694

---
Commit 405def792 authored by Chris Leary<leary@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Switch CallInliner to use CallGraph::VisitNodes.

PiperOrigin-RevId: 168078645

---
Commit aba3466f1 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Exposes Head and factory methods in tf.contrib.estimator.

PiperOrigin-RevId: 168071246

---
Commit b76565b39 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Some profiler fixes and cleanup.

PiperOrigin-RevId: 168069346

---
Commit 32ffc5a81 authored by Jonas<sauercrowd@users.noreply.github.com>
Committed by Yifei Feng<fengyifei2026@gmail.com>:
Just a dot in order to be consistent (#12919)

added a dot to the `7` to make clear it's a float (like every other number)
---
Commit 0753b0c79 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Scope the scalar cache in the context.

PiperOrigin-RevId: 168065417

---
Commit 48deb206b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Migrate TFGAN features to third_party.

PiperOrigin-RevId: 168060880

---
Commit d2ae1311f authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fixing an issue in the BUILD file of the LSH ops.

PiperOrigin-RevId: 168056645

---
Commit 2f440eda4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Expose NumpyReader for reading timeseries data.

PiperOrigin-RevId: 168055838

---
Commit be1916ce7 authored by Daniel Grazian<dgr@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Added functionality to allow `SqlDataset` to interpret a database column as various numeric types, including several integer types and `dtypes.float64`.

PiperOrigin-RevId: 168055827

---
Commit fa2000a0b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Supporting nightly windows pip packages.

PiperOrigin-RevId: 168054959

---
Commit a263ea626 authored by Asim Shankar<ashankar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
eager: Treat eager tensors as constants during graph construction.

Unless capturing is explicitly enabled.

PiperOrigin-RevId: 168052675

---
Commit 6e402d0d2 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make TODO a bit more specific.

PiperOrigin-RevId: 168051381

---
Commit c779384bc authored by Daniel Grazian<dgr@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Added code example to the doc string for `SqlDataset`.

PiperOrigin-RevId: 168049037

---
Commit ff6dd474a authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use self._in_graph_mode consistently in ResourceVariable
instead of sometimes getting it from the context.

Also: fix formatting of a comment and use a more precise test to detect
if initial_value is set.
PiperOrigin-RevId: 168047258

---
Commit f331f528b authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Removes "fast paths" which are not fast in eager mode.

PiperOrigin-RevId: 168046278

---
Commit 86f1713e5 authored by Jianwei Xie<xiejw@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Introduces TrainSpec and EvalSpec.

PiperOrigin-RevId: 168040435

---
Commit c8b9e92f0 authored by Asim Shankar<ashankar@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
eager: Move "register_function" to context.py

This will allow function registration from other
modules without having to import "function.py".
(And besides, the function really does belong on the context).

PiperOrigin-RevId: 168040411

---
Commit 74137f994 authored by Shanqing Cai<cais@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix signed int overflow issue in tensor_id.cc

When a node name has a long numeric suffix, e.g.,
"foo/y_0/gradient_debug_09684b60f2184c67b744721915034528" (as has happened with tfdbg GradientsDebugger),

the parsing algorithm in ParseTensorName() may experience signed int overflow. Replacing the types with "unsigned int" resolves the issue.

PiperOrigin-RevId: 168039195

---
Commit 450c3b562 authored by Rohan Jain<rohanj@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Using rendezvous manager to pass args / rets between devices during function remote execution. This enables CPU->GPU remote device executions now.

PiperOrigin-RevId: 168038285

---
Commit 82cc6529f authored by Jianwei Xie<xiejw@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fixes the wording about StopIteration.

PiperOrigin-RevId: 168034451

---
Commit fb5588002 authored by Gunhan Gulsoy<gunan@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add a statement on install/index.md on what os are supported.

PiperOrigin-RevId: 168032996

---
Commit f83f6b9ef authored by Chris Leary<leary@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Handle higher-order HLOs (e.g. While) in CallInliner and test.

PiperOrigin-RevId: 168029345

---
Commit 8988ae365 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 167916124

PiperOrigin-RevId: 168916710
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
6e3e7d18f42cb4237ce6dbe2ffd0f9f158c36daf 21-Aug-2017 Andrew Harp <andrewharp@google.com> Merge changes from github.
END_PUBLIC

---
Commit 575bd01d4 authored by Vijay Vasudevan<vrv@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Remove /replica:0 declaration in device functions and allow them
to be freely bound based on cluster names present.

When more than one value matches, it will choose the first
lexicographically available device that matches the specification,
which in practice will do pretty much the same thing as hardcoding
/replica:0.

PiperOrigin-RevId: 165766815

---
Commit d685bbc54 authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Benchmarks with backprop enabled (and removes overhead).

Before:
np.array([[3]]) took 1.50us (30000 iterations)
Tensor([[3]]) took 16.30us (30000 iterations)
MatMul [2, 2]: np.dot took 0.61us (30000 iterations)
MatMul [2, 2]: tf.matmul took 60.53us (30000 iterations)
MatMul [2, 2]: gen_math_ops.mat_mul took 25.72us (30000 iterations)
MatMul [2, 2]: TFE_Py_Execute took 2.82us (30000 iterations)
MatMul [2, 2]: defun(tf.matmul) took 45.70us (30000 iterations)
MatMul [100, 784]: np.dot took 383.32us (1000 iterations)
MatMul [100, 784]: tf.matmul took 350.35us (1000 iterations)
MatMul [100, 784]: gen_math_ops.mat_mul took 315.97us (1000 iterations)
MatMul [100, 784]: TFE_Py_Execute took 249.42us (1000 iterations)
MatMul [100, 784]: defun(tf.matmul) took 280.95us (1000 iterations)

If backprop is enabled:
np.array([[3]]) took 0.83us (30000 iterations)
Tensor([[3]]) took 15.21us (30000 iterations)
MatMul [2, 2]: np.dot took 0.63us (30000 iterations)
MatMul [2, 2]: tf.matmul took 76.31us (30000 iterations)
MatMul [2, 2]: gen_math_ops.mat_mul took 38.66us (30000 iterations)
MatMul [2, 2]: TFE_Py_Execute took 2.31us (30000 iterations)
MatMul [2, 2]: defun(tf.matmul) took 51.96us (30000 iterations)
MatMul [100, 784]: np.dot took 378.34us (1000 iterations)
MatMul [100, 784]: tf.matmul took 352.09us (1000 iterations)
MatMul [100, 784]: gen_math_ops.mat_mul took 364.28us (1000 iterations)
MatMul [100, 784]: TFE_Py_Execute took 350.68us (1000 iterations)
MatMul [100, 784]: defun(tf.matmul) took 377.19us (1000 iterations)

After:
np.array([[3]]) took 0.86us (30000 iterations)
Tensor([[3]]) took 15.19us (30000 iterations)
MatMul [2, 2]: np.dot took 0.60us (30000 iterations)
MatMul [2, 2]: tf.matmul took 64.51us (30000 iterations)
MatMul [2, 2]: gen_math_ops.mat_mul took 28.34us (30000 iterations)
MatMul [2, 2]: TFE_Py_Execute took 2.38us (30000 iterations)
MatMul [2, 2]: defun(tf.matmul) took 48.50us (30000 iterations)
MatMul [100, 784]: np.dot took 475.27us (1000 iterations)
MatMul [100, 784]: tf.matmul took 399.50us (1000 iterations)
MatMul [100, 784]: gen_math_ops.mat_mul took 307.80us (1000 iterations)
MatMul [100, 784]: TFE_Py_Execute took 272.83us (1000 iterations)
MatMul [100, 784]: defun(tf.matmul) took 350.06us (1000 iterations)
PiperOrigin-RevId: 165765641

---
Commit d902babbd authored by David Majnemer<majnemer@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Algebraic simplifier incorrectly transformed convolutions into bitcasts

PiperOrigin-RevId: 165765575

---
Commit 8e78e10ef authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
disable test temporarily

PiperOrigin-RevId: 165763204

---
Commit a271c37db authored by Benoit Steiner<bsteiner@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Small improvements to the arithmetic optimizer

PiperOrigin-RevId: 165760972

---
Commit b6409594d authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Convert some tests to cover both eager and graph.

PiperOrigin-RevId: 165760364

---
Commit 5ead76420 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Reduce XLA compile time by ~7% for a convolutional image model:

* Added CompactPointerSet<T>, which is optimized for set size <= 1.
* Changed expensive CHECKs to DCHECKS in buffer_assignment.cc
* Reserve space in DFS state array before starting DFS.
* Use unsigned arithmetic in DFS state maintenance.
* HloInstruction:
- Moved frequently used fields to start for better cache locality.
- Use InlinedVector instead of vector for operand array.
- Use InlinedVector instead of vector for DFS stack.
* Pre-compute "is array" and "is tuple" for LogicalBuffer.
* PointsToSet:
- Combine two ShapeTrees into one.
- Use CompactPointerSet instead of std::set to hold sources.
- Use CompactPointerSet instead of std::set to hold flattened buffers.
* ShapeTree: use unique_ptr instead of optional for shape storage
(reduces size and destruction overhead).
* Add proper const qualifiers to some FlatSet iterator methods.

Co-author=jeff
PiperOrigin-RevId: 165759117

---
Commit a0544b0b8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make TPU symbols more easily accessible from contrib.

PiperOrigin-RevId: 165753322

---
Commit cdc08afbb authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Slightly relax numeric tolerance for sinlge precision tests of matrix_solve_ls (and tighten it for double precision).

PiperOrigin-RevId: 165750936

---
Commit eebcc861a authored by Jianwei Xie<xiejw@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fixed the race condition between multi eval step increments.

PiperOrigin-RevId: 165750595

---
Commit bbc0b8471 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 165748384

---
Commit 65f87c967 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Change device string in RecvNodeDescriptor in VirtualScheduler from const
reference to const as the RecvNodeDescriptor (and cached_recv_nodes map)
outlives device string from the NodeDef.

PiperOrigin-RevId: 165748244

---
Commit 57b0276cf authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 165747467

---
Commit 64e54423b authored by Derek Murray<mrry@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[tf.contrib.data] Fix nested dictionary handling in dataset elements.

Backports recent changes to the core version of the nest.py library.

Fixes #12372.

PiperOrigin-RevId: 165746517

---
Commit 378463ae8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make tf.eye accept Python integer shapes and avoid generating unnecessary shape handling ops.
Clean up test and add tests with placeholders.

PiperOrigin-RevId: 165746090

---
Commit 109ecf823 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add support for complex in matrix_solve_ls_op.
Split into separate files for each data type to speed up build.

PiperOrigin-RevId: 165744539

---
Commit 51441302d authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Internal change.

PiperOrigin-RevId: 165737455

---
Commit d0cb32c2a authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Docstring for ResourceVariable.

PiperOrigin-RevId: 165735441

---
Commit 32f4c5b6e authored by Chris Leary<leary@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Add IsFinite op in tf2xla.

PiperOrigin-RevId: 165734702

---
Commit 5f5c3eb0a authored by Mark Daoust<markdaoust@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Move "supervisor.md" from programmer's guide to api_guides.

PiperOrigin-RevId: 165732026

---
Commit d001b58de authored by Derek Murray<mrry@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[tf.contrib.data] Fix handling of multi-output tf.py_func() in Dataset.map().

If the `map_func` returns a list of tensors, the current code will
attempt to stack it into a single tensor and raise an unintuitive
error. Some multi-output ops (such as `tf.py_func()`) return lists of
typically-not-stackable tensors. This change treats lists returned
from `map_func` as tuples; users who were relying on this
auto-stacking behavior should manually call `tf.stack()` (or
`tf.convert_to_tensor()`) on the list being returned.

Fixes #12396.

PiperOrigin-RevId: 165731970

---
Commit e6c60fb36 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix flakyness, sometimes the op takes ms to run.

PiperOrigin-RevId: 165728705

---
Commit 360bff8ae authored by Ali Yahya<alive@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Makes tape.watch() work with ResourceVariables.
To this end, also adds a property, `device`, to TensorNode.

PiperOrigin-RevId: 165726368

---
Commit 80bd004cd authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Implements SVDF model for keyword spotting tutorial.

PiperOrigin-RevId: 165725938

---
Commit aaabf6b90 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix bug: Using a ComputationDataHandle from the wrong ComputationBuilder.

PiperOrigin-RevId: 165724017

---
Commit 107d165d9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use 2-arg TraceMe constructor to prevent unnecessary StrCat computation when
tracing is disabled.

PiperOrigin-RevId: 165722280

---
Commit 7d01f89cc authored by Pete Warden<petewarden@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Android demo app for speech recognition

PiperOrigin-RevId: 165714459

---
Commit a6729325a authored by Alexandre Passos<apassos@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Deletes convert_n_to_eager_tensor. Moves convert_to_eager_tensor to constant_op.

PiperOrigin-RevId: 165704074

---
Commit 573b303ac authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BUILD cleanup in tensorflow/core/kernels

PiperOrigin-RevId: 165688864

---
Commit 711be6adc authored by Derek Murray<mrry@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
`Dataset.from_generator()` constructs a dataset from a Python generator.

With this change, it becomes possible to use a Python generator as the source
dataset for a `tf.contrib.data` input pipeline. This enables easier integration
with non-TensorFlow data sources. The generator can yield a nested structure of
NumPy arrays, or values convertible to NumPy arrays.

This addresses a concern raised in issue #7951.

PiperOrigin-RevId: 165663857

---
Commit 00594ecdd authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
New landing page and leftnav for Programmer's Guide.

PiperOrigin-RevId: 165660897

---
Commit 7359fec79 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Implement Batchnorm Inference by expanding them into smaller ops.

1. Add batch norm inference support in batchnorm_rewriter
2. Connect xla's batchnorm inference to tf's FusedBatchNorm

RELNOTES: n/a
PiperOrigin-RevId: 165655351

---
Commit f0da8bf56 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[Rematerialization] Reconsider to remat operations with control dependencies

We added a conservartive logic to not rematerialize operations with control dependencies since the rematerialized operations could result in undesired ordering. However, we now realize that when we remat an operation, we also copy the dependencies of them, which guarantees the rematerialized operation has the same constraint as the original operation.

PiperOrigin-RevId: 165654629

---
Commit a1225879c authored by Chris Leary<leary@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Propagate error code in computation replay tool.

PiperOrigin-RevId: 165654497

---
Commit 513def0bb authored by Benoit Steiner<bsteiner@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fixed BuildOpInfoWithoutDevice

PiperOrigin-RevId: 165653933

---
Commit d7e425f0b authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix linear algebra benchmarks.

PiperOrigin-RevId: 165653891

---
Commit 465c40819 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fix the shape information propagation for Enter op.

PiperOrigin-RevId: 165653579

---
Commit c0198fd8d authored by Derek Murray<derek.murray@gmail.com>
Committed by gunan<gunan@google.com>:
[CMake] Add missing dependencies on boosted_trees protos and other fixes (#12315)

* [CMake] Add missing dependencies

* Avoid rebuilding boosted_trees protos for Python.

* Add GPU implementation ZeroInitializerOp to the CMake build.

---
Commit 641943fd7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Update ops-related pbtxt files.

PiperOrigin-RevId: 165652758

---
Commit e31346452 authored by Jonathan Hseu<jhseu@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
TPUEstimator: Fix the outfeed thread join.

PiperOrigin-RevId: 165651781

---
Commit 565a9d350 authored by Vijay Vasudevan<vrv@google.com>
Committed by Andrew Harp<andrewharp@users.noreply.github.com>:
Add missing 'type' keyword to ArgumentParser add_argument (#12275)

Fixes #12210
---
Commit 19a55725a authored by Rohan Jain<rohanj@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Allowing functions to run across devices. This change expands the ProcessFunctionLibraryRuntime library to Instantiate and Run functions on different devices. When a FunctionLibraryRuntime encounters a function with a target that is another device, it delegates Instantiate() and Run() calls to the ProcessFunctionLibraryRuntime.

This change also moves the table_ containing all function instantiations to the PFLR instead of the FunctionLibraryRuntime.

PiperOrigin-RevId: 165651194

---
Commit 8c0853db7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add a test for negative and zero pow() input.

PiperOrigin-RevId: 165650096

---
Commit a3c4e980e authored by Pete Warden<petewarden@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Fixed input shape for freezing audio graphs

PiperOrigin-RevId: 165649546

---
Commit 9b9e5989d authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Add a call_logit_fn utility for logit_fn's, similar to Estimator's _call_model_fn.

PiperOrigin-RevId: 165649388

---
Commit 4ff1f4442 authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Remove the script as well if building tf_nightly.

---
Commit 373d78987 authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Adding the break.

---
Commit 0139ac983 authored by Amit Patankar<amitpatankar@google.com>
Committed by Amit Patankar<amitpatankar@google.com>:
Remove tensorboard as a required package if we are building tf_nightly.

---
Commit a92bd5d5c authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 165630063

PiperOrigin-RevId: 165957821
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
0815de21239955e346b562e899640649c8d2b9cb 05-Aug-2017 Benoit Steiner <bsteiner@google.com> Merge changes from github.
END_PUBLIC

---
Commit cf375f067 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Adds cudnn_rnn_ops_op_lib and cudnn_rnn_kernels to contrib_ops_op_lib and
contrib_kernels respectively.

PiperOrigin-RevId: 164170971

---
Commit 95ec58e27 authored by Asim Shankar<ashankar@google.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
C API: Make TF_TensorFromTensor return an error instead of just logging it.

PiperOrigin-RevId: 164167582

---
Commit 15175c870 authored by Jonathan Hseu<jhseu@google.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Build fixes.

- Allow var_list as a positional argument in CrossShardOptimizer.
- Set the number of shards to 1 when not running on TPU, to allow evaluate() and predict() on CPU/GPU to work.

PiperOrigin-RevId: 164161640

---
Commit bd3e894f7 authored by Yao Zhang<yaozhang@google.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Support freeze mode for fused batch norm.

PiperOrigin-RevId: 164149032

---
Commit e6b6b84c0 authored by Asim Shankar<ashankar@google.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
C API: TF_Tensors will always be in host memory.

This change undoes some experimentation in
commit 22651083406ca01ac9d481e3367a3510d25f88cd
and restores TF_Tensor behavior to what is was prior to that change.

PiperOrigin-RevId: 164146670

---
Commit 8bf3f88f7 authored by Peter Hawkins<phawkins@google.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[TF:XLA] Add _XLASend and _XLARecv TF ops that wrap the XLA Send/Recv HLO ops.

PiperOrigin-RevId: 164124764

---
Commit 626d3200f authored by Peter Hawkins<phawkins@google.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[XLA] Add test blacklist mechanism for XLA C++ unit tests.

PiperOrigin-RevId: 164124423

---
Commit 359cc5f5e authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Document dict ordering in nest and make it consistent with sonnet.

PiperOrigin-RevId: 164114335

---
Commit 05813b531 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 164089206

---
Commit c451f465d authored by Anna R<annarev@google.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 164078808

PiperOrigin-RevId: 164318935
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
bf02164c0c2ce20b46d7fb57234d937af9f827f4 02-Aug-2017 A. Unique TensorFlower <gardener@tensorflow.org> Fixed typo in documentation for streaming_precision_at_thresholds to change 'auc' to 'precision'

PiperOrigin-RevId: 164010488
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
01126f4d141a67b9caf63419fe2c57cdaf19c22a 06-Jul-2017 A. Unique TensorFlower <gardener@tensorflow.org> streaming_covariance and streaming_pearson_correlation are modified to return nan when they have seen less or equal to 1 unit of weight. This addresses an issue where a first singleton batch would sometimes result in plotting a 0.0 for cov/correlation where the correct value is nan until we have >1 sample.

Along the way, also taking advantage of our upgraded numpy to use fweights= with np.cov and get rid of the _reweight workaround we had in place.

PiperOrigin-RevId: 161077110
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
59c4cfee63b1b5d40b337cf3a14b2c8cd9d4c1b1 09-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Fix true_negatives and false_negatives to handle unsqueezed dimensions (as is already done for true_positives and false_positives).

PiperOrigin-RevId: 158548096
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
cd6c02985e482d344adf1f2bdf5a4980e53f726e 02-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Add 'streaming_curve_points' metric which returns curve [ROC, PR] approximation at specified number of points.

PiperOrigin-RevId: 157851535
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
7e0b20510f25c6fb12ee8c055e32fb575f588abb 04-May-2017 A. Unique TensorFlower <gardener@tensorflow.org> Add sparse_recall_at_top_k which takes top-k class indices instead of class logits.
Change: 155121560
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
0845c9c976974ced632cb85e52808b22c1e7c669 17-Apr-2017 Alexandre Passos <apassos@google.com> Makes calls to variables.Variable resource-safe.
Change: 153351835
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
6db81d2cfffa6c4bcbd31701e555cb6c17ed8b0a 29-Mar-2017 A. Unique TensorFlower <gardener@tensorflow.org> Remove superfluous dependencies.
Change: 151600516
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
bc456e361d49d1d89a74b80060c70efb51fd7d87 23-Mar-2017 Martin Wicke <wicke@google.com> Merge changes from github.
Change: 151046259
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
a62ed13bf366cb1a99183f93c859b6786f9d3070 09-Mar-2017 A. Unique TensorFlower <gardener@tensorflow.org> Update metric_ops "Returns" comment to say `mean` instead of `mean_value` for
consistency.
Change: 149672185
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
8334b2741522b7e32ab96cc7e077cf2293d57957 21-Feb-2017 A. Unique TensorFlower <gardener@tensorflow.org> Add sparse_average_precition_at_top_k which takes top-k class indices instead of class logits.
Change: 148111829
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
d1ba01f81d8fa1d0171ba9ce871599063d5c7eb9 02-Feb-2017 A. Unique TensorFlower <gardener@tensorflow.org> Merge changes from github.
Change: 146316196
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
37bfbfbde2f3db46773210c068803a04fd282374 02-Feb-2017 A. Unique TensorFlower <gardener@tensorflow.org> Remove code duplication between contrib metrics and core metrics and delete unused methods in contrib metrics.
Change: 146294596
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
cb45a7d952ee126efe43ef1b2c08fb3503e2f6bd 30-Jan-2017 Martin Wicke <wicke@google.com> Seal contrib interfaces (as much a feasible). If you were using a symbol which is now hidden, it should be added to the _allowed_symbols list in the appropriate __init__.py file.
Change: 145943844
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c22547e9fea01857ddb05f5a7cbe300d4fe1bf35 17-Jan-2017 A. Unique TensorFlower <gardener@tensorflow.org> Make dtype consistent with docs for TP/TN/FP/FN ops.
Change: 144737436
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
be270ecb79c8548a0caddf67908189e6169b1472 11-Jan-2017 Andrew Selle <aselle@google.com> Deprecate tf.neg, tf.mul, tf.sub (and remove math_ops.{neg,mul,sub} usages

tf.negative, tf.multiply, tf.subtract are the new names
- Also enabled deprecation warning (to be completely removed by friday)
Change: 144215355
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
0e226af7eed5e2764aa8acb825af4cd3e06d2452 11-Jan-2017 A. Unique TensorFlower <gardener@tensorflow.org> Switch tf.concat_v2 references in third_party/tensorflow to tf.concat.
Change: 144153795
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
e24d01704ce01dc57af2300238aa7dde565eec8f 04-Jan-2017 A. Unique TensorFlower <gardener@tensorflow.org> Restrict weights rank to be the same as the broadcast target, to avoid ambiguity on broadcast rules.
Add `weights` to dependency check in `confusion_matrix`.
Remove 'Streaming' from test names.
Change: 143492455
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
cb4acf5e47574deccf0c578d6d1d18d74f6117af 20-Dec-2016 Andrew Selle <aselle@google.com> Rename usages of tf.mul, tf.neg, tf.sub that are used internally
Change: 142595367
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
42e0bf0bf6a15ae9008466d538193a5df04f110d 20-Dec-2016 A. Unique TensorFlower <gardener@tensorflow.org> Improve documentation of precision and recall metrics.
Change: 142578639
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c5dc750ba9fab7e7f1f05ee0e0cdb04ae96e0e32 15-Dec-2016 A. Unique TensorFlower <gardener@tensorflow.org> Switch array_ops.pack/unpack to array_ops.stack/unstack. Also switch a few remaining references to tf.pack/unpack to tf.stack/unstack.
Change: 142108785
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c0047aba0c9e8f293ee9ee1e06f3b19ec46b385b 12-Dec-2016 A. Unique TensorFlower <gardener@tensorflow.org> Allow last dimension of labels for "at_k" metrics to be missing if num_labels=1.

Replace some instances of SparseTensor.shape with SparseTensor.dense_shape.
Change: 141800708
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c49e52cf0ea40670f202fcdc605b34ec387f245a 09-Dec-2016 A. Unique TensorFlower <gardener@tensorflow.org> Remove an unnecessary assert in metrics.streaming_sparse_precision_at_top_k.
Change: 141592580
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
d4eb834824d79c6a64a3c4a1c4a88b434b73e63e 07-Dec-2016 A. Unique TensorFlower <gardener@tensorflow.org> Switch all tf.concat(concat_dim, value, name) calls in third_party/tensorflow to tf.concat_v2(value, axis, name).
Change: 141255675
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
6de612e7767c4114d65cb06fc6606436e3081dc3 06-Dec-2016 Andrew Selle <aselle@google.com> Force fix documentation causing open source blocks.
Change: 141201358
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
0e5015bb7d58dc273e019a19875b55bf9c362950 03-Dec-2016 A. Unique TensorFlower <gardener@tensorflow.org> Moves most metrics from contrib into core.
Change: 140914784
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c8e1e5d818ac99d533ad75d2c9ef37c771ab8c48 02-Dec-2016 Olivia Nordquist <nolivia@google.com> removing tf.slice as it is soon to be deprecated. replaced with tf.strided_slice in the following 15 files. more to come!
Change: 140875384
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
fe558b0b0ca3866b1b3b5484625c41877ac0fd57 30-Nov-2016 A. Unique TensorFlower <gardener@tensorflow.org> Deprecate tf.select since it is getting replaced by tf.where.
Change: 140632089
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
648bbfdf706fb29ae51c62a003137113e79cff26 23-Nov-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add binary classification confusion matrix metrics.
Change: 140046076
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
2800e4d47be9078d2688057722f1385276aae8b7 21-Nov-2016 A. Unique TensorFlower <gardener@tensorflow.org> Minor headers fixes.
Change: 139804256
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
85eeec0d415a1478bbeffc3d4545c795bee64e9f 19-Nov-2016 Jonathan Hseu <jhseu@google.com> Automated rollback of change 139400135
Change: 139632235
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
7e8728662120df0a80720bb7527613f96d58271e 17-Nov-2016 Jonathan Hseu <jhseu@google.com> Rename `Tensor` to `Output` in all Python docs

Generated by running:
$ find . -name '*.py' | xargs sed -i 's/a `Tensor`/an `Output`/g'
$ find . -name '*.py' | xargs sed -i 's/A `Tensor`/An `Output`/g'
$ find . -name '*.py' | xargs sed -i 's/`Tensor`/`Output`/g'
$ find . -name '*.py' | xargs sed -i 's/`tf.Tensor`/`tf.Output`/g'
$ find . -name '*.py' | xargs sed -i 's/`Tensors`/`Output`s/g'
$ find . -name '*.py' | xargs sed -i 's/#Tensor)/#Output)/g'
$ find . -name '*.py' | xargs sed -i 's/#Tensor\./#Output./g'

Manually fixed up lines that exceeded 80 characters after the change.
Change: 139400135
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
7c89c44112a50d0fcf8888f14c799eefda841454 02-Nov-2016 A. Unique TensorFlower <gardener@tensorflow.org> Update generated Python Op docs.
Change: 137988710
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
2939f53ea2d5dc9de018d9ad64a3ac03d03d4925 02-Nov-2016 Eugene Brevdo <ebrevdo@google.com> Move SparseTensor into its own framework.py, add get_shape().
Change: 137887950
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c944d1a96e1fbc48d689381cf93e91946087ee01 24-Oct-2016 A. Unique TensorFlower <gardener@tensorflow.org> Remove deprecated ignore_mask field from streaming metrics.
Change: 137056449
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
dc46a47f48690a2d8a30ca99144fbde47661771c 21-Oct-2016 Zakaria Haque <zakaria@google.com> Refactors linear classifier/model_fn and svm estimator to use head. Also,
+ Supports model_fn returning ModelFnOps in Estimator (needed for the refactoring)
+ Fixes a bug with unintended weight broadcasting.
+ Fixes PedictionKey->PredictionKey
Change: 136790906
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c5ab3dd177dc16bb211821e38219f350a613b5e8 20-Oct-2016 Patrick Nguyen <drpng@google.com> Merge changes from github.
Change: 136750267
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
33970acb0a94fbf3f3ef0f56733fd6d6a4af4a01 14-Oct-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add streaming_sparse_precision_at_top_k in metric_ops.
Change: 136189470
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
ef527ab8d3295c2a8213c9788ac41be7a2e7f0bc 14-Oct-2016 A. Unique TensorFlower <gardener@tensorflow.org> Write tests for sparse metric_ops with out-of-range labels or class_id and fix documentation.
Change: 136178519
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c2cfc048b8080b8f3e7990d07fa99cf4deb7935b 14-Oct-2016 A. Unique TensorFlower <gardener@tensorflow.org> Allows metrics.streaming_concat() to be used inside evaluation.evaluation_loop().
Change: 136104979
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
cfff4ae42751566fdf4041fcb7bcf4023b53de60 13-Oct-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add tests for dense labels.

Deprecate `streaming_recall_at_k` in favor of the more flexible `streaming_sparse_recall_at_k`.

Change `_select_class_id` to return the same shape for both sparse and dense inputs.
Change: 136078146
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
b1bd36b33b526530338e4fd4d00a4186b56c2ba6 03-Oct-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add comment that argument can be either dense Tensor or SparseTensor.
Change: 135010699
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
dd7d5dc68ec6b0bb07fa4fd7b9f427f84d348fc2 29-Sep-2016 Patrick Nguyen <drpng@google.com> Fix broken lists in documentation, and back-quote more identifiers.
Change: 134628004
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c672ae6c90f829eec7ab0dc593af8da15b90a363 29-Sep-2016 Patrick Nguyen <drpng@google.com> Fix spelling in docstrings.
Change: 134622348
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
adbad380a1fc3a446f274913fa0379a1f01f3866 27-Sep-2016 Nathan Silberman <nsilberman@google.com> Moving remove_squeezable_dimensions to framework/tensor_util so that it can be used outside metrics.
Change: 134449221
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
e7b2114e0732a11cf610b388f92a46fa8f9da3c4 27-Sep-2016 Stephan Hoyer <shoyer@google.com> Add tf.contrib.metrics.streaming_concat

This op is useful, on small datasets, for evaluating metrics that otherwise
cannot be updated incrementally.
Change: 134332647
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
79d7ea98b59e7e0841186a6f31b85e8c4bbe5d62 23-Sep-2016 A. Unique TensorFlower <gardener@tensorflow.org> Fix pydoc for _safe_scalar_div.
Change: 134115246
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
ff40bc4d422f201b85c36721fb3d7ed1cf84c241 22-Sep-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add `streaming_sparse_average_precision_at_k`, aka "mean average precision".

The following were used as references:
en.wikipedia.org/wiki/Information_retrieval#Average_precision
fastml.com/what-you-wanted-to-know-about-mean-average-precision
Change: 133984427
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
214a94a354d391fc06f288e947c2b3d4a5fac97f 21-Sep-2016 A. Unique TensorFlower <gardener@tensorflow.org> Fix weights broadcasting.
Change: 133860277
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
4fb94d38b25c73d3bd8bd6a0ea632eb34c2787d6 16-Sep-2016 A. Unique TensorFlower <gardener@tensorflow.org> Introduces new tf.contrib.metrics for streaming covariance and pearson product-moment correlation.
Change: 133388403
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
7416a007a381fc519092ccade2577037a4a19f94 15-Sep-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add weights to streaming metrics that lack them, and clean up documentation along the way.
Change: 133301923
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
a274c662b3f090193ead4138791896ffb65d680e 02-Sep-2016 Martin Wicke <wicke@google.com> Add a more principled way to connect metrics the the output of a model. Instead of increasingly opaque tuples, a MetricSpec object is introduced which contains all information needed to connect a metric function to multi-headed models.
Change: 132033966
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
f7197d23d3c987515f9070d1abff569970925ffb 31-Aug-2016 A. Unique TensorFlower <gardener@tensorflow.org> Make sure the metric's keywords are not None before using. Partial's should have `keyword` attribute, but it can be None when given no kwargs.
Change: 131769367
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
4f353f0ef6e921da1e768b4013beea73f8f8860f 27-Aug-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add support of weights in metrics in _get_eval_op of Estimator.
Change: 131464187
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
a85ed2e4601a8111d25f30b14421cac7a94ad372 25-Aug-2016 A. Unique TensorFlower <gardener@tensorflow.org> Make _tp_tn_fp_fn have weights as an optional parameter. I was using this in a few places in prototype code, and noticed that the docstring did not match the declaration.
Change: 131296046
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
6e7c8b76bf2931754d28928623196c8090e87dc0 17-Aug-2016 Frank Li <lif@google.com> Add support for weighted streaming AUC / P@thresholds / R@thresholds calculations
Change: 130546880
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
0f7c3b0a886300c332fa66df58b4d4a5d477a4d9 16-Aug-2016 A. Unique TensorFlower <gardener@tensorflow.org> Update generated Python Op docs.
Change: 130356783
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
3d1ee95e612b1987e664ca46a7c584872d36dde9 12-Aug-2016 Lukasz Kaiser <lukaszkaiser@google.com> Deprecate variable_op_scope by extending variable_scope and move callers to the new variable_scope.

Instead of tf.variable_op_scope(values, name, default_name, ...) please use now
tf.variable_scope(name, default_name, values, ...). Only the name parameter is required,
and when other are absent, it behaves exactly as tf.variable_scope did before.
Change: 130054667
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
1df3fb0b4ae5915364f09e233496e98a99a4a886 09-Aug-2016 Lukasz Kaiser <lukaszkaiser@google.com> Deprecate op_scope by extending name_scope and move all callers to the new name_scope.

Instead of tf.op_scope(values, name, default_name) please use now
tf.name_scope(name, default_name, values). Only the name parameter is required,
and when other are absent, it behaves exactly as tf.name_scope did before.
Change: 129776424
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
879270bb027075b8968d7a7a6893d87a3d21139e 20-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Added streaming_mean_tensor which keeps a streaming mean of the N-dimensional tensor (unlike streamin_mean which keeps a scalar).
Change: 127977144
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
333b69580537bf14a3072f1388de64eb3fb5ebc2 15-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Moves eval op from dnn_linear_combined to TargetColumn.
Change: 127504952
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
0aceaaea433963c5b25c6086f19b9293c29ec536 11-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Replace "Scikit Flow Authors" with "TensorFlow Authors", and remove "pylint: disable=g-bad-file-header".
Change: 127106850
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
93367103edc6f79fd779bc1ed873f9f9da1dec3f 08-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Moving aggregate metrics functions to tf.contrib.
Change: 126943819
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
ebf59be3e1a7224aa19a89e0291b25a64a29cc22 08-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Adds the precision recall AUC to slim metrics.
Change: 126882604
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
547f524f59b4dc8f56180fbb8389f91ac8857422 07-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Automated rollback of change 126829119
Change: 126840202
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
c5bcaf99a46bd448dd35047a33267eafaf1c2b67 07-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Adds the precision recall AUC to slim metrics.
Change: 126829119
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
7db10c442f678653932419fda5e0c8612639d291 06-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Modify confusion_matrix_ops so that the output data type can be specified.
The default output data type is int32 for backward compatibility.
In the case of large-scale datasets, confusion matrix should have dtype=int64.

Modify streaming_mean_iou to employ a confusion matrix with dtype=int64.
Change: 126738446
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
4399d0ab0ada9b35d3167dee1e130559bc661c85 03-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add streaming_mean_iou to metric_ops.
streaming_mean_iou computes the mean intersection-over-union, a typical
evaluation metric in the task of semantic image segmentation.

Factor out the utility function, remove_squeezable_dimensions, to
metric_ops_util.py, move its test and make changes for the other
dependencies as well.
Change: 126530424
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
cf7230b8e6bc5c8ae80d64e8f9eda03cae437da1 23-Jun-2016 A. Unique TensorFlower <gardener@tensorflow.org> Modify metric_ops.remove_squeezable_dimensions to handle statically unknown ranks.

Add tests to assert all update_op tensors returned from metric_ops produce the proper metric value, and fix streaming_auc to do so.
Change: 125639012
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
71a17b8133bd047245efca7ccdb1e2eefa6701be 08-Jun-2016 A. Unique TensorFlower <nobody@tensorflow.org> Fixes typos in docs.
Change: 124345819
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
122cdce33e3e0a01a7f82645617317530aa571fb 02-Jun-2016 A. Unique TensorFlower <nobody@tensorflow.org> Update copyright for 3p/tf.
Change: 123901292
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
83258dbc06a3e033a7bce50fcbc81668d0477400 23-May-2016 A. Unique TensorFlower <nobody@tensorflow.org> Fixing bug in streaming_mean_relative_error where a zero in the normalizer caused NaNs.
Change: 123017812
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
12c1176d6a434cc73c2b9cff904f67e3a80edf52 21-May-2016 A. Unique TensorFlower <nobody@tensorflow.org> Adds a metric for a streaming precision recall curve.
A few values (determined by given thresholds) are computed on the curve.
Change: 122881711
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
fe7ed68f4aa5a119305eabd2e5d474cbaba4e328 20-May-2016 A. Unique TensorFlower <nobody@tensorflow.org> Fixing documentation references to 'weights' which should read 'ignore_mask'.
Change: 122783756
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
9ef6ee228110878418898d65063b2bd08489326a 13-May-2016 A. Unique TensorFlower <nobody@tensorflow.org> Registering tf.contrib.metrics with documentation
Change: 122223545
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
1b5e110a67b1f70c3491874d842b62a04b244cf5 10-May-2016 A. Unique TensorFlower <nobody@tensorflow.org> Add multiclass multilabel precision and recall metric operations.
Change: 121975222
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
fd25fa1854690ba4f7432057ebdb318d88d9231e 09-May-2016 A. Unique TensorFlower <nobody@tensorflow.org> Add multiclass multilabel precision and recall metric operations.
Change: 121871361
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
3f84717445b6da22c82155ed6a43214b21bedc9f 09-May-2016 A. Unique TensorFlower <nobody@tensorflow.org> Add multiclass multilabel precision and recall metric operations.
Change: 121863903
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py
e8304043aaff8d676ff4a69ef6e10cd2833746ed 27-Apr-2016 A. Unique TensorFlower <nobody@tensorflow.org> Adding a series of streaming metrics to contrib including: streaming_accuracy, streaming_auc, streaming_mean, streaming_mean_absolute_error, streaming_mean_cosine_distance, streaming_mean_relative_error, streaming_mean_squared_error, streaming_percentage_less,streaming_precision, streaming_recall, streaming_recall_at_k, streaming_root_mean_squared_error.
Change: 120882499
/external/tensorflow/tensorflow/contrib/metrics/python/ops/metric_ops.py