1. 23 11月, 2017 1 次提交
  2. 22 11月, 2017 2 次提交
  3. 25 10月, 2017 1 次提交
    • B
      Merge changes from github. · 355e25eb
      Benoit Steiner 提交于
      END_PUBLIC
      
      ---
      Commit 9f852364 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 173145770
      
      ---
      Commit 01b6b063 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Cut tracing memory cost
      
      PiperOrigin-RevId: 173144626
      
      ---
      Commit 5e23e0e6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Erase cloned instructions on the fly when merging fusion nodes.
      
      This avoids the awkward situation where an RNG which is clearly eligible for fusion becomes ineligible mid-fusion because it suddenly has an extra (dead) user.
      
      PiperOrigin-RevId: 173141716
      
      ---
      Commit 1038927c authored by Saurabh Saxena<srbs@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add SerializeIterator op that serializes an IteratorResource into a variant tensor.
      Add DeserializeIterator op that builds IteratorResource from a variant tensor.
      Move BundleReaderWrapper and BundleWriterWrapper from dataset.h to iterator_ops.cc.
      Add generic key-value store interfaces IteratorStateReader and IteratorStateWriter for reading/writing state of iterators.
      Get rid of IteratorBundleReader and IteratorBundleWriter.
      
      PiperOrigin-RevId: 173140858
      
      ---
      Commit 57f3e529 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change
      
      PiperOrigin-RevId: 173136642
      
      ---
      Commit 0e56ffb7 authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix breakages in OSS builds
      
      See example breakages logs at:
      http://ci.tensorflow.org/job/tensorflow-cl-cpu-python3-pip/10847/console
      http://ci.tensorflow.org/job/tensorflow-cl-gpu/11008/console
      
      1. CL/172477381 added the no_oss tag to tests with oss_serial tags, which broke the logic of OSS_SERIAL tests in pip.sh and run_pip_test.sh. This CL fixes that.
      
      2. The nccl_kernels BUILD target in contrib/nccl/BUILD was missing some dependencies. This CL adds the missing ones.
      
      Fixes: #13918
      PiperOrigin-RevId: 173133914
      
      ---
      Commit 3ed049b6 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allows calling keras layers in eager mode.
      
      PiperOrigin-RevId: 173129805
      
      ---
      Commit 4ec6f2b0 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Switching contrib.summaries API to be context-manager-centric
      
      PiperOrigin-RevId: 173129793
      
      ---
      Commit 03b02ffc authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Put Bazel mirror URLs first
      
      PiperOrigin-RevId: 173127955
      
      ---
      Commit 46ab25e4 authored by David Majnemer<majnemer@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add support for convolutions with no spatial dimensions
      
      PiperOrigin-RevId: 173126950
      
      ---
      Commit fc56349b authored by Derek Murray<mrry@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf.data] Convert dataset arguments to tensors as early as possible.
      
      This change raises a `TypeError` earlier if (for example) the `batch_size`
      argument to `Dataset.batch()` has the incorrect type.
      
      PiperOrigin-RevId: 173126678
      
      ---
      Commit 4f7503a8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      K-FAC: Support for registering multiple minibatches with register_fully_connected()
      
      PiperOrigin-RevId: 173121735
      
      ---
      Commit 2845bfcd authored by Tim Harley<tharley@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Avoid listing all modified Enter/RefEnter nodes on INFO, use VLOG(1) instead.
      
      Leave a single, simple, message on INFO.
      
      PiperOrigin-RevId: 173121726
      
      ---
      Commit 43469592 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      K-FAC: _check_registration() supports multiple towers.
      
      PiperOrigin-RevId: 173115870
      
      ---
      Commit 670dddf4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Multi-minibatch support for
      tf.contrib.kfac.fisher_blocks.FullyConnectedKFACBasicFB.
      
      PiperOrigin-RevId: 173109677
      
      ---
      Commit dc13a8e2 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix import of meta graphs with partitioned variables into a scope.
      
      Saver inspects SliceInfo to decide the variable name when creating a
      checkpoint. Before this fix even if a partitioned variable ("weights")
      was imported into a scope "a" it would still be checkpointed as ("weights")
      instead of ("a/weights") since import_scoped_meta_graph was not adjusting
      the SliceInfo.
      
      WARNING: if you use import_meta_graph on graphs with partitioned_variables WITH an import_scope argument AND then create a Saver to write/read checkpoints this change
      may break your checkpoint loading.
      PiperOrigin-RevId: 173105796
      
      ---
      Commit eea089bd authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      K-FAC: Multi-tower support for ConvDiagonalFB.
      
      PiperOrigin-RevId: 173105412
      
      ---
      Commit 9b9cbbe2 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Add int64 Tperm type support for `Transpose` (#13909)
      
      * Add int64 Tperm type support for `Transpose`
      
      This fix adds int64 Tperm support for `Transpose`. In
      `array_ops.cc`, `Transpose` and `ConjugateTranspose`
      have been specified as accepting int32 and int64 perm
      types. However, only int32 kernels has been registered.
      
      This fix adds the int64 perm support by removing
      the constraint on Tperm, resolve the type at runtime,
      and copying the data type accordingly to correctly handle
      the int64/int32 types.
      
      Additional tests have been added as well.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add test cases for int64 of perm in Transpose.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add namespace to hide PermutationHelper
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Enable use_gpu=True for perm type test.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * extra // namespace annotation
      
      * Adding a comment about int32 casting that should be safe.
      
      Permutations only contain values that refer to dimensions, and the maximum number of dimensions we have is 254, so an int32 is always safe here.
      
      ---
      Commit ac0004e7 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Add int64 shape support on GPU for stateless random ops. (#13908)
      
      * Add int64 shape support on GPU for stateless random ops.
      
      This fix adds int64 shape support on GPU for stateless random ops
      `StatelessRandomUniform`, `StatelessRandomNormal`, `StatelessTruncatedNormal`.
      
      The int64 shape for stateless random ops is already supported on CPU
      with int32/int64 processed properly through `MakeShape`.
      
      However, on GPU a type constraint `.TypeConstraint<int32>("T")`
      has been improperly added. Such a type constraint actually prevents
      an int64 shape type to run on GPU. (As a comparision, no type constraint
      on CPU).
      
      This fix removes the type constraint and allows int64 shape to be run on GPU.
      
      This fix also adds test cases for int64 shape support on stateless random ops.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add test cases for int64 shape support for stateless random ops.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add int32 to shape types tested.
      
      ---
      Commit 0d437c3b authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Add int64 padding support for MirrorPad (#13907)
      
      * Add int64 padding support for MirrorPad
      
      This fix adds int64 padding support for `MirrorPad`.
      In the `array_ops.cc` the `MirrorPad`/`MirrorPadGrad`
      has been specified as supporting int64 padding. The related
      kernels does not have the int64 padding registered though.
      This fix adds the int64 padding support. This fix also adds
      additional test cases for coverage.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Update template for CPU and GPU support of int64 paddings.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add int64 padding support for MirrorPad
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Put eigen header first like before, just in case.
      
      ---
      Commit 690003cc authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Add `int64` type `multiples` support for `tf.tile` (#13884)
      
      * Add `int64` type `multiples` support for `tf.tile`
      
      In the doc of `tf.tile` (tf.tile.__doc__) both `int32`
      and `int64` are supported for `multiples`. However, the kernel
      for `int64` is not registered yet.
      
      This fix adds the support of `int64` `multiples` so that the
      behavior matches the description of the docs.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Update functors for int64 multiples support in `tf.tile`
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Update test cases for int64 of multiples in `tf.tile`
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add GPU and non GPU tests
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * format with clang-format -i
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Move Tmultiples after T (as it is  auxilliary)
      
      And use `use_gpu=True`
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit fd8d517b authored by Yunxing Dai<yunxing@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add tests for convolution 1D
      RELNOTES: n/a
      
      PiperOrigin-RevId: 173060283
      
      ---
      Commit 40c475b4 authored by formath<jinpengliu@163.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      add segment_reduction_ops to tf_op_files (#13901)
      
      ---
      Commit bfa4ec19 authored by Tayo Oguntebi<10927929+tayo@users.noreply.github.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Update node_def.proto comments (#13874)
      
      The device field had outdated comments.
      
      Note: We could consider adding tpu as an example here, e.g. "gpu" | "cpu" | "tpu".  Thoughts?
      ---
      Commit c9cb5a58 authored by formath<jinpengliu@163.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      protobuf lib path bug fix for benckmark on osx (#13878)
      
      ---
      Commit 1c1dad10 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Add int64 axis support for reduction ops. (#13891)
      
      * Add int64 axis support for reduction ops.
      
      This fix is a follow up to PR 13863. In PR 13863 the
      program crash is fixed if int64 axis is passed to reduction ops,
      e.g. reduce_sum, reduce_max, etc. However, 13863 does not
      process the case of int64 support, it merely fixes the crash.
      
      This fix adds the support for int64 axis of reduction ops.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add int64 axis support for mean, prod, sum
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add int64 axis support for min and max.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add int64 axis support for reduce_all and reduce_any
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add test cases for int64 axis support of reduce_any and reduce_all
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit 17096081 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Improve resize_bicubic performance by reorganizing loops (#13840)
      
      * Improve resize_bicubic performance by reorganizing loops
      
      This fix tries to address the issue raised in 13693 where
      performance of `resize_bicubic` is not on par with opencv.
      
      This fix rearranges the loops so that it is the same for
      num_channel=40 and num_channel=3:
      
      Pre-fix:
      ```
      CHANNEL=40
      opencv: 145.08ms
      tf: 314.26ms
      
      CHANNEL=3
      opencv: 11.95ms
      tf: 8.95ms
      ```
      
      Post-fix:
      ```
      CHANNEL=40
      opencv: 144.25ms
      tf: 214.55ms
      
      CHANNEL=3
      opencv: 11.78ms
      tf: 14.07ms
      ```
      
      This fix fixes 13693.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Keep special handling of `num_channels=3` for `resize_bicubic`
      
      This commit keeps special handling of `num_channels=3` for
      `resize_bicubic`:
      Without special handling:
      ```
      opencv: 11.78ms
      tf: 14.07ms
      ```
      With special handling:
      ```
      opencv: 11.74ms
      tf: 9.46ms
      ```
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Expand Benchmark test for resize_bicubic
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Update from review feedback.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit b927df57 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Update protobuf.cmake to b04e5cba356212e4e8c66c61bbe0c3a20537c5b9 (#13893)
      
      This fix tries to address the issue raised in 8187 where
      protobuf.cmake used different version as bazel.
      
      The reason for discrepancy was due to the fact that a customerized
      protobuf was needed with Windows patch. Since the patch has been
      merged in (https://github.com/google/protobuf/pull/2203),
      it makes sense to update protobuf.cmake so that the same version
      of cmake is used.
      
      This fix fixes 8187.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      ---
      Commit d1183ca6 authored by Vijay Vasudevan<vrv@google.com>
      Committed by GitHub<noreply@github.com>:
      Give each variable a unique name in accumulate_n_v2_eager_test. (#13886)
      
      ---
      Commit a6994581 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update pin for bazel-toolchains to latest version
      
      PiperOrigin-RevId: 173002530
      
      ---
      Commit 9d55c249 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Fix doc in TF_CALL_ when invoked in mobile platform (#13881)
      
      * Fix doc in TF_CALL_ when defined(IS_MOBILE_PLATFORM) && !defined(__ANDROID_TYPES_FULL__)
      
      This is a small doc fix that includes bool as part of the types
      that is supported in mobile (IS_MOBILE_PLATFORM && !__ANDROID_TYPES_FULL__),
      as bool is clearly invoked in the following define.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Also add bool to android full version.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit ba49d858 authored by Bjarke Hammersholt Roune<broune@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Slight change to reduce_test to avoid generating inf, which was triggering an inf detector unnecessarily.
      
      PiperOrigin-RevId: 172965466
      
      ---
      Commit 93e8f3c6 authored by Anna R<annarev@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adding Python ApiDef overrides.
      
      PiperOrigin-RevId: 172960496
      
      ---
      Commit 0d6a2e35 authored by Anna R<annarev@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change.
      
      PiperOrigin-RevId: 172960439
      
      ---
      Commit 62df65c7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add dtype argument to Mean and Accuracy object-oriented metrics.
      
      PiperOrigin-RevId: 172957714
      
      ---
      Commit d7409d32 authored by Simone Cirillo<my.accounts@gmx.se>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Fix import of spatial_softmax from tensorflow.contrib.layers (#13833)
      
      ---
      Commit df8bce63 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Fix crash when `int64` axis is passed to `tf.reduce_sum` (#13863)
      
      * Fix crash when `int64` axis is passed to `tf.reduce_sum`
      
      This fix tries to fix the crash triggered by `int64` axis passed
      to `tf.reduce_sum`:
      ```
      ubuntu@ubuntu:~/tensorflow2$ (cd && python)
      Python 2.7.12 (default, Nov 19 2016, 06:48:10)
      [GCC 5.4.0 20160609] on linux2
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import tensorflow as tf
      >>> v = tf.reduce_sum([1,2,3], tf.constant(0, tf.int64))
      2017-10-20 15:55:06.993430: F tensorflow/core/framework/tensor.cc:601] Check failed: dtype() == expected_dtype (9 vs. 3)
      ubuntu@ubuntu:~/tensorflow2$
      ```
      
      The issue is caused by the fact that shape inference in `common_shape_fns.cc`
      only assumes int32 without proper handling of diffent types. In `math_ops.cc`
      both int32 and int64 are mentioned.
      
      NOTE that this fix does not address the issue that int64 is not supported.
      To allow int64 axis it is more than adding a template in `ReductionOp` as the type
      of the axis seems to be decided by some other ways in Eigen.
      
      This fix merely fixed the crash so that an error message will return without
      exit from the python program "No OpKernel was registered to support Op 'Sum' with these attrs".
      
      Still, I think its worth to at least allow the program to continue in case of unsupported kernel.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Update implementation with a template helper function.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit 29c7b465 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adding the Stanford Tensorflow class to community resources.
      
      PiperOrigin-RevId: 172956049
      
      ---
      Commit f758b24a authored by Alexandre Passos<apassos@google.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Variable name for the eager test (#13873)
      
      ---
      Commit a5fe66b1 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Removed some unnecessary broadcasts in binary ops where only one input needs
      broadcasting (which is a fairly common case, even in the fallback path).
      
      PiperOrigin-RevId: 172950493
      
      ---
      Commit c77090a0 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Fix issues where int64 crops could not be passed to batch_to_space. (#13862)
      
      * Fix issues where int64 crops could not be passed to batch_to_space.
      
      This fix tries to address the issue where int64 `crops` could
      not be passed to `batch_to_space` even though both int32 and
      int64 are specified as supported in the docs (tf.batch_to_space.__doc__)
      
      The reason is that BatchToSpace kernel puts a constraint of int32 to crops
      data types.
      
      This fix removed the constraint so that int64 `crops` could be supported.
      
      NOTE: Just removing the constraint should work and it is not necessary
      to add specification to the kernel class template, as `SubtleMustCopyFlat`
      called in the class already correctly handled both int32 and int64 cases.
      Besides, other data types (e.g., float or double) will not be passed to the
      kernel as they are guarded by the specification in `array_ops.cc`.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Also remove int64/int32 type constraints for SpaceToBatch kernels
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add test cases for int64 crops of batch_to_space and space_to_batch
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Fix test failures.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit 49483793 authored by Joshua V. Dillon<jvdillon@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make `tf.contrib.distributions` quadrature family accept a `Tensor` for
      `quadrature_grid_and_probs` argument.
      
      PiperOrigin-RevId: 172950094
      
      ---
      Commit 9c825d32 authored by Jinze Bai<baijinze1994@163.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Merge two GPU kernel launching to one in DiagOp. (#13859)
      
      ---
      Commit c0ca50a4 authored by Yan Facai (???)<facai.yan@gmail.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      ENH: add Relu6GradGrad (#13268)
      
      * ENH: add Relu6GradGrad
      
      * TST: add test case
      
      * CLN: import nn_grad
      
      * TST: add init value
      
      ---
      Commit 8ff33271 authored by Justin Lebar<jlebar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Dump the computation's SessionModule as part of the tf_compile rule.
      
      PiperOrigin-RevId: 172946149
      
      ---
      Commit ebcae4a5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<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
      
      ---
      Commit ccfd9c1e authored by Sanjoy Das<sanjoy@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Log Hlo IR during AOT compilation
      
      PiperOrigin-RevId: 172944165
      
      ---
      Commit 985031a1 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allows tfe.enable_eager_execution(device_policy=tfe.DEVICE_POLICY_WARN).
      
      PiperOrigin-RevId: 172943398
      
      ---
      Commit 703182d8 authored by Mingxing Tan<tanmingxing@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add performance guide for fused decode_and_crop_jpeg optimization.
      
      PiperOrigin-RevId: 172943116
      
      ---
      Commit 66b1f438 authored by Francois Chollet<fchollet@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make Network compatible with eager mode. Currently it only allows to instantiate a Network in eager mode using the regular Keras API, and call it on eager tensors.
      
      PiperOrigin-RevId: 172942569
      
      ---
      Commit 41df2cec authored by ashankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Testing pending CL: 172939383
      
      ---
      Commit 37fd9517 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Simplifies capturing code in graph_callable to use recent function improvements.
      
      PiperOrigin-RevId: 172937003
      
      ---
      Commit d1e7382a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 172924803
      
      PiperOrigin-RevId: 173347587
      355e25eb
  4. 07 10月, 2017 1 次提交
    • F
      Merge changes from github. · 5eaefbab
      Frank Chen 提交于
      END_PUBLIC
      
      ---
      Commit ee0fdc29 authored by Gunhan Gulsoy<gunan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add noasan tag to estimator_test
      
      PiperOrigin-RevId: 171075499
      
      ---
      Commit a0211688 authored by Justin Lebar<jlebar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA:CPU] Put the HLO name in IR values that hold the HLO's value.
      
      PiperOrigin-RevId: 171075449
      
      ---
      Commit 89aaac4b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allow Layer.add_update() in Eager mode.
      
      PiperOrigin-RevId: 171070861
      
      ---
      Commit 840dcae5 authored by Amit Patankar<amitpatankar@google.com>
      Committed by gunan<gunan@google.com>:
      Updating the install sources file with a supported configs table (#13450)
      
      * Updating the install sources file with a supported configs page.
      
      * Implementing Gunan's suggestions.
      
      * Adding GCC string to Linux compiler.
      
      * Updating the bazel/cmake column.
      
      ---
      Commit 89df2e33 authored by Igor Saprykin<isaprykin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add the 'is_the_final_export' signal to Exporters. Use them in training.
      
      When the training ends, the final export is performed via `Exporter.export()` call.  That final export is going to have is_the_final_export parameter being set to true.
      
      If `TrainSpec.max_steps` is `None`, then "when training ends" is undefined.  We are going to train forever.  In that case, `is_the_final_export` is going to be always False.  I added a note about it.
      
      PiperOrigin-RevId: 171070760
      
      ---
      Commit 4486b4f6 authored by Akshay Agrawal<akshayka@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make graph_callable compatible with functions that do not return anything
      
      PiperOrigin-RevId: 171067061
      
      ---
      Commit 39565c0c authored by Martin Wicke<wicke@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Publish train_and_evaluate and associated classes.
      
      PiperOrigin-RevId: 171066379
      
      ---
      Commit 3b447700 authored by Saurabh Saxena<srbs@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make VariantTensorData::tensors_size() const.
      
      PiperOrigin-RevId: 171063397
      
      ---
      Commit 53cc63a2 authored by Dhananjay Nakrani<dhananjayn@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [part 1] Add support for int32 & int64 in RandomPoissonOp.
      
      This computes int32/int64-precision poisson samples with double precision intermediate calculations (same as it's done for `half`) respectively.
      
      part 2 will switch over python calls to new op once forward compatibility period has passed.
      
      PiperOrigin-RevId: 171058336
      
      ---
      Commit 70fc9bf9 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Java: Add support for loading op libraries dynamically.
      
      This change adds the equivalent of tf.load_op_library in Python to Java.
      (https://github.com/tensorflow/tensorflow/commit/5c7f9e316d8c7735308a217310350d416d7498cc
       was required to make this possible)
      
      Though, TensorFlow.loadLibrary() is likely to fail on Windows as symbols
      required by custom op libraries (those exported by the tensorflow_framework library)
      are not exported by the monolithic JNI library yet.
      
      This should help with #10454 and #13476
      
      PiperOrigin-RevId: 171054707
      
      ---
      Commit e7c53698 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal cleanup
      
      PiperOrigin-RevId: 171053770
      
      ---
      Commit cc8ee6c0 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fast path for tf.conj when it should be pass-through.
      
      PiperOrigin-RevId: 171053662
      
      ---
      Commit c41dbc3c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adding TF Boosted trees regression example on boston dataset, minor fix for mnist example.
      
      PiperOrigin-RevId: 171052367
      
      ---
      Commit d66e77f7 authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Added get variable utils to tf.estimator.Estimator.
      
      PiperOrigin-RevId: 171052121
      
      ---
      Commit 083bd5dd authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Java: Add support for loading op libraries dynamically.
      
      This change adds the equivalent of tf.load_op_library in Python to Java.
      (https://github.com/tensorflow/tensorflow/commit/5c7f9e316d8c7735308a217310350d416d7498cc
       was required to make this possible)
      
      Though, TensorFlow.loadLibrary() is likely to fail on Windows as symbols
      required by custom op libraries (those exported by the tensorflow_framework library)
      are not exported by the monolithic JNI library yet.
      
      This should help with #10454 and #13476
      
      PiperOrigin-RevId: 171054707
      
      ---
      Commit 2fe6cf28 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal cleanup
      
      PiperOrigin-RevId: 171053770
      
      ---
      Commit 15155493 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fast path for tf.conj when it should be pass-through.
      
      PiperOrigin-RevId: 171053662
      
      ---
      Commit 6c954d0b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adding TF Boosted trees regression example on boston dataset, minor fix for mnist example.
      
      PiperOrigin-RevId: 171052367
      
      ---
      Commit ad69076e authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Added get variable utils to tf.estimator.Estimator.
      
      PiperOrigin-RevId: 171052121
      
      ---
      Commit 3cf41b2e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Test save/restore variable from graph_callable.
      
      PiperOrigin-RevId: 171051237
      
      ---
      Commit cf17ec96 authored by Yangzihao Wang<yangzihao@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add V2 versions of output window size computation functions for convolution.
      These V2 versions take arbitrary dilation rates.
      In preparation for the support of native cudnn dilated convolution.
      
      PiperOrigin-RevId: 171048878
      
      ---
      Commit 491584ff authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      eager: Always run dataset iterator operations on CPU.
      
      It has no kernels for other devices.
      With an explicit "tf.device()" before invoking the kernel we ensure
      that Iterator.next() functions even when placed inside a:
      
      with tf.device("/device:GPU:0")
      
      PiperOrigin-RevId: 171048558
      
      ---
      Commit 3b354016 authored by Igor Saprykin<isaprykin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Rename SavedModelExporter to LatestExporter.
      
      PiperOrigin-RevId: 171048345
      
      ---
      Commit 943c6d7a authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      errors out if the evaluator has task id > 0.
      
      PiperOrigin-RevId: 171047652
      
      ---
      Commit 8c9ef446 authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Expand set of 64-bit type tests in LocalClientExecuteTest.ShapeBufferToLiteralConversion64bit and factor out into their own test.
      
      PiperOrigin-RevId: 171043047
      
      ---
      Commit cc521eb0 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Place all the nodes created by the trivial_test_graph_input_yielder
      
      PiperOrigin-RevId: 171045878
      
      ---
      Commit 9b930124 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA:CPU] Factor out parallel task assignment from cpu parallelization prep (no functional changes).
      
      PiperOrigin-RevId: 171045137
      
      ---
      Commit 558d878d authored by Allen Lavoie<allenl@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      TFTS: Move normalization to the base class, start using it for state space models
      
      Preivously, state space models adjusted their priors based on the data
      (e.g. setting initial variances to match sample variance) but did not normalize
      the data itself. When the data has a rather extreme scale, this runs into
      precision issues. After this CL, state space models will first normalize, then
      use adjusted statistics on top of that normalization to estimate initial
      observation/transition noise.
      
      Also fixes an issue where start-of-series statistics were incorrect for the first
      batch (which only shows up with large input scales).
      
      PiperOrigin-RevId: 171044863
      
      ---
      Commit 266f7715 authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Expand set of 64-bit type tests in LocalClientExecuteTest.ShapeBufferToLiteralConversion64bit and factor out into their own test.
      
      PiperOrigin-RevId: 171043047
      
      ---
      Commit c9915d1a authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf-signal] Fix pip tests by including test_util in signal_py
      
      PiperOrigin-RevId: 171042732
      
      ---
      Commit f8550f4e authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Expand set of 64-bit type tests in LocalClientExecuteTest.ShapeBufferToLiteralConversion64bit and factor out into their own test.
      
      PiperOrigin-RevId: 171043047
      
      ---
      Commit 87dc532c authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf-signal] Fix pip tests by including test_util in signal_py
      
      PiperOrigin-RevId: 171042732
      
      ---
      Commit 0578dd65 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add more debugging output for XLA send/recv.
      
      PiperOrigin-RevId: 171041978
      
      ---
      Commit 23992bb0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Several minor documentation fixes.
      
      PiperOrigin-RevId: 171038610
      
      ---
      Commit af14ed3f authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Some docstring twists and argument validations.
      
      PiperOrigin-RevId: 171037949
      
      ---
      Commit 6b90a65f authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove "hybrid" HloModuleConfig option. The option was used to generate executables which only generated the array values of tuple-shaped outputs, not the tuple index tables.. With cl/170133015, ShapedBuffers which hold the computation output now have materialized tuples with these index tables so this option is no longer desired or necessary.
      
      No functional change. Just cleanup.
      
      PiperOrigin-RevId: 171035738
      
      ---
      Commit 41a0264a authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Added utilities to make global step reading deterministic. Used them in Estimator.
      Enabled/Fixed some tests.
      
      PiperOrigin-RevId: 171035291
      
      ---
      Commit 9d7843c0 authored by Skye Wanderman-Milne<skyewm@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add optional unused_input_map_keys output param to ImportGraphDef
      
      This is a more general feature than that in the Python importer, which
      raises an exception if the input map contains unused names.
      
      PiperOrigin-RevId: 171029316
      
      ---
      Commit 4f10a659 authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add vlogging of HloModule before and after fusion.
      
      PiperOrigin-RevId: 171029054
      
      ---
      Commit 9e658545 authored by Reed Wanderman-Milne<reedwm@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Document what dtype tf.image.resize_images returns.
      
      For consistency, tf.image.resize_images now will always return a float32 when method != ResizeMethod.NEAREST_NEIGHBOR. Before, it returned the same dtype as its input if it could be determined statically that the height and width would not be changed.
      
      PiperOrigin-RevId: 171028825
      
      ---
      Commit 4d70239f authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Replace the contrib FC with core FC  in canned Estimator docstring.
      
      PiperOrigin-RevId: 171027602
      
      ---
      Commit 6a1b867f authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds the docstring with details for tf.estimator.train_and_evaluate
      
      PiperOrigin-RevId: 171027527
      
      ---
      Commit 7209c160 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Mark IdentityN as CompilationOnly().
      
      PiperOrigin-RevId: 171025171
      
      ---
      Commit 8e22eb87 authored by FAIJUL<md.faijul.amin@intel.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      Eigen BiasAdd and BiasAddGrad Fix for NCHW Format. (#13158)
      
      ---
      Commit 7db7a890 authored by Jingyue Wu<jingyue@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [Grappler] Move InferOutputShapes to GraphProperties.
      
      So it can be used by other optimizers. No functional changes.
      
      PiperOrigin-RevId: 171010106
      
      ---
      Commit 2114fd51 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Improve numerical stability of SoftPlus.
      
      PiperOrigin-RevId: 171003559
      
      ---
      Commit 727d6270 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix race condition in TensorForest tree traversal.
      
      PiperOrigin-RevId: 170990425
      
      ---
      Commit d016cb02 authored by Suharsh Sivakumar<suharshs@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix c++ gradients issue where multiple dependent outputs result in incorrect answer.
      
      The issue is that we incorrectly calculate the pending num_expected_backprops for outputs nodes when one output transitively depends on another. this is because we use output nodes as an indicator of when we need to end our traversal. Instead we should only use output nodes that don't transitively get consumed by other output nodes as end indicators for our traversal. This change implements that fix.
      
      Fixes #13190
      
      PiperOrigin-RevId: 170971937
      
      ---
      Commit 5405f3bd authored by gunan<gunan@google.com>
      Committed by Frank Chen<frankchn@gmail.com>:
      Fix tf-signal tests on pip packages. (#13483)
      
      ---
      Commit f9f037c1 authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Bugfix to LSTMBlockCell and friends: clipping is off by default.
      
      * Rename broken API argu clip_cell boolean to cell_clip value.
      * Make default no clipping.
      
      PiperOrigin-RevId: 170960975
      
      ---
      Commit bfaaefa9 authored by Frank Chen<frankchn@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update APIs for TPU Cluster Resolver to remove the custom API definition and instead use a standard definition file stored in GCS.
      
      PiperOrigin-RevId: 170960877
      
      ---
      Commit c31c118a authored by Ian Langmore<langmore@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Extend tf.contrib.bijector API to handle some non-injective transforms.
      AbsoluteValue Bijector added to contrib/distributions/bijectors/
      TransformedDistribution udpated to handle some non-injective transforms.
      
      PiperOrigin-RevId: 170960054
      
      ---
      Commit 664dd085 authored by Frank Chen<frankchn@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Disable cluster_function_library_runtime_test on Mac OS as it is currently failing with an Unimplemented error
      
      PiperOrigin-RevId: 170958505
      
      ---
      Commit 6af7ab97 authored by Mahmoud Abuzaina<mahmoud.abuzaina@intel.com>
      Committed by gunan<gunan@google.com>:
      MKL-DNN open source integration. (#13135)
      
      * MKL-DNN conv and build integration
      
      * Adding new files that were mistakenly missing from the PR
      
      * Minor change in the pip package build file
      
      * Added missing #include
      
      * Fixed a linking failure when running the bazel test
      
      * Fixing BUILD file format
      
      * Using -fopenmp for building mkl_dnn only when running on linux
      
      * Fixing build rule attribute value
      
      * Removing unnecessary deps from mkl test rule
      
      * Removed deps on mkl-dnn when not building with --config=mkl
      
      ---
      Commit 93fa1af7 authored by Akshay Agrawal<akshayka@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make graph_callable, defun tf_decorators
      
      PiperOrigin-RevId: 170948777
      
      ---
      Commit b3952578 authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Added comment re:behavior of listener in case of multiple saver hooks.
      
      PiperOrigin-RevId: 170946536
      
      ---
      Commit de14fcbb authored by Igor Saprykin<isaprykin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Support evaluation in `_TrainingExecutor.run_master()`.
      
      This CL aims to address the following TODO:
      
          # TODO(b/66720832): Once listener API is added into Estimator.train, the
          # eval and export process should be wrapped as a listener and passed to
          # _start_distributed_training. The expected behavior should be
          # 1. The export is invoked after each intermediate evaluation.
          # 2. The evaluation and export should be invoked correctly at the end of
          # training. This should be fine if the listener works as intended (it will
          # send the `after_save` signal for the final ckpt saving).
      
      1. is achieved as follows:
        a. saving_evaluators are added to the CheckpointSaverHook's listeners inside the Estimator.
        b. MonitoredSession calls after_run() of CheckpointSaverHook, which in turn calls after_save on the listeners.
      
      2. is achieved in a similar way, but when MonitoredSession calls .end() on CheckpointSaverHook.
      
      PiperOrigin-RevId: 170945961
      
      ---
      Commit d4ea993c authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Removes unnecessary eager-mode call to convert_to_tensor in record_gradient.
      
      PiperOrigin-RevId: 170944265
      
      ---
      Commit add6d2d0 authored by RJ Ryan<rjryan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf-signal] Use tf.spectral.dct in mfccs_from_log_mel_spectrograms instead of a private implementation.
      
      PiperOrigin-RevId: 170943986
      
      ---
      Commit b959da92 authored by Jiri Simsa<jsimsa@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixing CPU implementation of parallel_stack for tensors with non-zero rank.
      
      PiperOrigin-RevId: 170942814
      
      ---
      Commit 4cf61262 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Improve TFGAN documentation.
      
      PiperOrigin-RevId: 170940188
      
      ---
      Commit 0068086b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Introduce `tf.data` namespace.
      
      PiperOrigin-RevId: 170939033
      
      ---
      Commit 0c8dbc1f authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      matmul uses shape_tuple internally
      
      PiperOrigin-RevId: 170938790
      
      ---
      Commit ad37fa81 authored by Igor Saprykin<isaprykin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Refactor ExportStrategies into Exporters.
      
      This design eliminates some indirection.  Instead of combining an `export_fn` with `make_export_strategy` call to arrive at an ExportStrategy that is going to call the supplied `export_fn` inside its `export` call with Exporters one just defines the `export` call in an Exporter.
      
      PiperOrigin-RevId: 170936640
      
      ---
      Commit b925f855 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fast-path for EagerTensorBase.dtype
      
      PiperOrigin-RevId: 170933005
      
      ---
      Commit 08e266d9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Pass activity_regularizer to __init__ instead of using the (now
      deprecated) property setter.
      
      PiperOrigin-RevId: 170932807
      
      ---
      Commit b002c8b7 authored by Jingyue Wu<jingyue@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [Grappler] Fold chains of reshapes.
      
      Reshape(Reshape(input, shape1), shape2) is equivalent to Reshape(input,
      shape2).
      
      PiperOrigin-RevId: 170932278
      
      ---
      Commit 075d1d13 authored by horance<horance@aliyun.com>
      Committed by Frank Chen<frankchn@gmail.com>:
      remove warning for forward decl (#13459)
      
      ---
      Commit 931609fc authored by Ryohei Kuroki<ryohei.kuroki@gmail.com>
      Committed by Frank Chen<frankchn@gmail.com>:
      Remove unnecessary specification for default kernel name (#13465)
      
      ---
      Commit 94463f52 authored by Akshay Agrawal<akshayka@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Preserve target function signature in custom_gradient decorator
      
      PiperOrigin-RevId: 170931715
      
      ---
      Commit 68105663 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change to simplify prediction ops.
       - it no longer returns predictions_no_dropout, which is mostly for debugging purpose.
       - as a consequence, MultipleAdditiveTrees::Predict() doesn't return prediction_no_dropout, and it accept trees_to_include indexes intead of trees_to_drop indexes.
      
      PiperOrigin-RevId: 170926422
      
      ---
      Commit d6e963b8 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      SYCL: Fix build breakage introduced in
      https://github.com/tensorflow/tensorflow/commit/f0e8c545e0196b8b48ce0ad0f116df97d980d1f1
      
      Fixes #13350
      
      PiperOrigin-RevId: 170923862
      
      ---
      Commit 5123f297 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal cleanup.
      
      PiperOrigin-RevId: 170922297
      
      ---
      Commit d0c76cd1 authored by Igor Saprykin<isaprykin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Handle the absence of a fresh eval checkpoint in `run_local`.
      
      It is ~unexpected condition for an eval checkpoint to not be available after a train call to the estimator.  There is a corner case when it is possible, but that's going to be resolved soon.
      
      This case is handled for continuous (distributed) evaluation differently.  Instead of erroring out, we skip evaluation runs.  That behavior is captured in the `test_skip_evaluation_due_to_ckpt` test.
      
      PiperOrigin-RevId: 170919925
      
      ---
      Commit 435b31b9 authored by Gunhan Gulsoy<gunan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 170892257
      
      PiperOrigin-RevId: 171321707
      5eaefbab
  5. 26 9月, 2017 1 次提交
    • S
      Merge changes from github. · e2e3a943
      Shanqing Cai 提交于
      END_PUBLIC
      
      ---
      Commit 1e1b3d90 authored by Pete Warden<pete@petewarden.com>
      Committed by gunan<gunan@google.com>:
      Changed output directory for Pi CI build to fix permissions problem with nightlies (#13257)
      
      * Fix for RTLD_GLOBAL breakage of Pi builds, and removed Eigen version change for Pi that's no longer needed
      
      * Fixed Pi Zero OpenBLAS build problems and tidied up directories used
      
      * More robust checks in Pi build script
      
      * Changed output directory for Pi CI build to fix permissions problem
      
      ---
      Commit fe3a2e65 authored by Yan Facai (???)<facai.yan@gmail.com>
      Committed by drpngx<drpngx@users.noreply.github.com>:
      check invalid string type for dest_nodes in extract_sub_graph (#13057)
      
      * BUG: check str type
      
      * TST: add unit test
      
      * CLN: remove list check
      
      * CLN: use warning
      
      * CLN: 2 indent
      
      * CLN: raise TypeError if not list
      
      * CLN: check string only
      
      ---
      Commit 225ab762 authored by Jean Wanka<jm.wanka@gmail.com>
      Committed by Jean Wanka<jm.wanka@gmail.com>:
      Fix polynomial decay with cycle for global step=0
      
      For polynomial decay with cycle=True the learning rate at
      step 0 becomes NaN, because in the process of calculating it we
      devide by 0. This change should fix it, by setting the multiplier
      for the decay steps to one for global_step=0.
      
      ---
      Commit 286f5706 authored by Bjarke Hammersholt Roune<broune@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make Service::TransferToClient not attempt to manipulate the literal when the transfer failed, preventing a crash and allowing the caller to see the reason for the failed transfer.
      
      PiperOrigin-RevId: 169770126
      
      ---
      Commit e0501bc4 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Shanqing Cai<cais@google.com>:
      Fix GRUBlockCell parameter naming inconsistency (#13153)
      
      * Fix GRUBlockCell parameter naming inconsistency
      
      This fix tries to fix the issue in 13137 where
      parameter `cell_size` is used instead of `num_units`.
      This is inconsistent with other RNN cells.
      
      This fix adds support of `num_units` while at the same
      time maintains backward compatiblility for `cell_size`.
      
      This fix fixes 13137.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add `@deprecated_args` for 'cell_size' in `GRUBlockCell`
      
      This commit adds `@deprecated_args` for 'cell_size' in `GRUBlockCell`
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Address review comment
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit 02a2eba0 authored by Pete Warden<pete@petewarden.com>
      Committed by gunan<gunan@google.com>:
      Fix for RTLD_GLOBAL breakage of Pi builds, and removed Eigen version change that's no longer needed (#13251)
      
      * Fix for RTLD_GLOBAL breakage of Pi builds, and removed Eigen version change for Pi that's no longer needed
      
      * Fixed Pi Zero OpenBLAS build problems and tidied up directories used
      
      * More robust checks in Pi build script
      
      ---
      Commit 8ef72225 authored by Sanjoy Das<sanjoy@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove a redundant setName.
      
      The EmitComputation should have emitted a function with the right name, so use a
      CHECK instead.
      
      PiperOrigin-RevId: 169764856
      
      ---
      Commit 1b94147d authored by Neal Wu<wun@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix broken GitHub links in tensorflow and tensorflow_models resulting from The Great Models Move (a.k.a. the research subfolder)
      
      PiperOrigin-RevId: 169763373
      
      ---
      Commit b1ada5f0 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix TensorBoard python -m invoke in docs
      
      PiperOrigin-RevId: 169758752
      
      ---
      Commit 2957cd89 authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Local run option of estimator training.
      
      PiperOrigin-RevId: 169756384
      
      ---
      Commit 1dc2fe7a authored by Gunhan Gulsoy<gunan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 166264198
      
      PiperOrigin-RevId: 169998124
      e2e3a943
  6. 16 9月, 2017 1 次提交
    • P
      Merge changes from github. · a373b1f7
      Patrick Nguyen 提交于
      END_PUBLIC
      
      I also integrated #13073 by hand to make TAP happy.
      
      ---
      Commit 92362d0f 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 a4f6e7c1 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 b00b6d23 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 2bc7a155 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: NYong Tang <yong.tang.github@outlook.com>
      
      * Fix test failure caused by uint16 support of decode_raw and add unit tests.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit 009285c0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove benchmark for TensorShapeOld.
      
      PiperOrigin-RevId: 168551108
      
      ---
      Commit dc1eda8a 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 010922ed 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 c8a6131e 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 bece65c6 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 0d5ab82c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 168548642
      
      ---
      Commit 3331c574 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 4982ef0f 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 99423416 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 d10374e4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Discard some unneccessary logging commands.
      
      PiperOrigin-RevId: 168500721
      
      ---
      Commit 83cbabb8 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 eec4f1b3 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 69301f35 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 168494220
      
      ---
      Commit 9d56f419 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 48ddf64d 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 11d3ac29 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 3cd6bdef 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 46a81b5c authored by Jacques Pienaar<jpienaar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add cast S64 to F32 test.
      
      PiperOrigin-RevId: 168473650
      
      ---
      Commit 59bdf598 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 c3b86347 authored by Olivia Nordquist<nolivia@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      reenabling tests that are passing
      
      PiperOrigin-RevId: 168466361
      
      ---
      Commit c728665e authored by Henry Tan<henrytan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add const qualifiers whenever appropriate.
      
      PiperOrigin-RevId: 168465926
      
      ---
      Commit bf96fcd1 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use the scalar cache in MeanGrad.
      
      PiperOrigin-RevId: 168462267
      
      ---
      Commit 1cada9ea 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 00c86556 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 655f26fc authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Resurrects autograd-free eager gradients.
      
      PiperOrigin-RevId: 168448557
      
      ---
      Commit 8f37f300 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 7f5346a8 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 2ad85aa4 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 cd377811 authored by Henry Tan<henrytan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Comment and error message consistency cleanup.
      
      PiperOrigin-RevId: 168422582
      
      ---
      Commit 7c19b82a 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 fcacb40d 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 7e47624f 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 b0a397fc 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 86211d55 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 3438981c 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 7e023d86 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 5da4df92 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 82ec6241 authored by drpngx<drpngx@users.noreply.github.com>
      Committed by GitHub<noreply@github.com>:
      Add six and numpy imports
      ---
      Commit 9c4ce245 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 d4efa695 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 cbc46a85 authored by Changming Sun<chasun@microsoft.com>
      Committed by gunan<gunan@google.com>:
      Add a missing template explicit instantiation of SetZeroFunctor (#12791)
      
      ---
      Commit 7bb08f5b 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 e6b01176 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 4086219a 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 f63aa7f4 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 bc6b60f1 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 7a8c63da 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 f7ba16fd 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 9b9e54b3 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 bc300318 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 1e96d54d 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 c0a4c7ff 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 4af9be96 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 9f848734 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 60f15462 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 4b4e10f9 authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds dict support of eval metrics.
      
      PiperOrigin-RevId: 168310444
      
      ---
      Commit ab7f22de 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 3a98035f 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 34918815 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 08587d45 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 733063d5 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Fixing awkward wording.
      
      ---
      Commit c7ad6bfe authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Removing accidental hash.
      
      ---
      Commit 53dbc761 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Adding Windows self check script to docs.
      
      ---
      Commit ed113599 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 c0348bb5 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 c3d19e40 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 123fb01e 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 f0e8c545 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 495cc8e4 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 f13b876e 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 2356c0ff 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 e15f4cae 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 c5808264 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 509372c2 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 80ed8afc authored by Francois Chollet<fchollet@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add Flatten to core layers.
      
      PiperOrigin-RevId: 168254118
      
      ---
      Commit a6223c01 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 abde0083 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 0451032c 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 a202a5a9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 168245371
      
      ---
      Commit f93e354c 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 a4042cd2 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 10ba148f 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 ca43fe82 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 b72862df authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      internal change
      
      PiperOrigin-RevId: 168225993
      
      ---
      Commit da3280f4 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 c936c115 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 ce9a2b00 authored by Toby Boyd<tobyboyd@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Performance guide update
      
      PiperOrigin-RevId: 168159289
      
      ---
      Commit 3bce4f9a authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      TFE: expose tfe.num_gpus()
      
      PiperOrigin-RevId: 168154345
      
      ---
      Commit 67a7cbc2 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 92bed178 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 702d5958 authored by joshkyh<joshkyh@users.noreply.github.com>
      Committed by Yifei Feng<fengyifei2026@gmail.com>:
      Corrected hyperlink for audio training tutorial (#12923)
      
      ---
      Commit 877c9dec 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 66596643 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Re-enable grpc_session_test.
      
      PiperOrigin-RevId: 168078694
      
      ---
      Commit 405def79 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 aba3466f 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 b76565b3 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Some profiler fixes and cleanup.
      
      PiperOrigin-RevId: 168069346
      
      ---
      Commit 32ffc5a8 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 0753b0c7 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 48deb206 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 d2ae1311 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 2f440eda 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 be1916ce 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 fa2000a0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Supporting nightly windows pip packages.
      
      PiperOrigin-RevId: 168054959
      
      ---
      Commit a263ea62 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 6e402d0d 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 c779384b 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 ff6dd474 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 f331f528 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 86f1713e authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Introduces TrainSpec and EvalSpec.
      
      PiperOrigin-RevId: 168040435
      
      ---
      Commit c8b9e92f 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 74137f99 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 450c3b56 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 82cc6529 authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixes the wording about StopIteration.
      
      PiperOrigin-RevId: 168034451
      
      ---
      Commit fb558800 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 f83f6b9e 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 8988ae36 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
      a373b1f7
  7. 03 9月, 2017 1 次提交
  8. 26 8月, 2017 1 次提交
    • J
      Merge changes from github. · 008910f1
      Jonathan Hseu 提交于
      END_PUBLIC
      
      ---
      Commit b30ce471 authored by James Qin<jamesqin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Revamp CudnnRNN Saveables
      
      1. Use a lossy way to save/restore cudnn biases during checkpointing.
      Cudnn uses 2 biases each gate for all RNNs while tf uses one. To allow cudnn checkpoints
      to be compatible with both Cudnn and platform-independent impls, previously both
      individual bias and summed biases each gate were stored.
      The new way only stores the bias sum for each gate, and split it half-half when
      restoring from a cudnn graph. Doing this does not cause problems since RNNs do not use
      weight-decay to regularize.
      
      2. Use inheritance instead of branching
      * Split RNNParamsSaveable to 1 base class and 4 subclasses.
      * Extract common routines and only overwrite rnn-type-specific pieces in subclasses.
      
      PiperOrigin-RevId: 166413989
      
      ---
      Commit ebc421da authored by Alan Yee<alyee@ucsd.edu>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Update documentation for contrib (#12424)
      
      * Update __init__.py
      
      Remove ## for standardization of api docs
      
      * Create README.md
      
      Add README to define this directory's purpose
      
      * Update __init.py
      
      Markdown styling does not show up well in api docs
      
      * Update README.md
      
      Add short mention of describing what to deprecate
      
      * Update README.md
      
      Capitalize title
      
      * Update README.md
      
      Revert README change
      
      * Delete README.md
      
      ---
      Commit fd295394 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use latest version of nsync library, which now allows use of cmake on MacOS.
      
      PiperOrigin-RevId: 166411437
      
      ---
      Commit 587d728e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Refactor reduce-precision-insertion filters, add several more options.
      
      In particular, this adds the ability to add reduce-precision operations after fusion nodes based on the contents of those fusion nodes, and the ability to filter operations based on the "op_name" metadata.
      
      PiperOrigin-RevId: 166408392
      
      ---
      Commit 3142f8ef authored by Ali Yahya<alive@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Steps toward making ResourceVariables compatible with Eager.
      
      This change forces the value of the reuse flag in variable scopes to be tf.AUTO_REUSE when in Eager mode.
      
      This change also adds comprehensive Eager tests for ResourceVariable.
      
      PiperOrigin-RevId: 166408161
      
      ---
      Commit b2ce4515 authored by Igor Ganichev<iga@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make Graph::IsValidNode public
      
      It can be reimplemented with existing public APIs, but instead of doing so,
      making this one public seems better.
      
      PiperOrigin-RevId: 166407897
      
      ---
      Commit 0a2f40e9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA::CPU] Fix HLO profiling in parallel CPU backend.
      
      PiperOrigin-RevId: 166400211
      
      ---
      Commit c4a58e3f authored by Yao Zhang<yaozhang@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Identify frame ids for all nodes in a graph.
      
      PiperOrigin-RevId: 166397615
      
      ---
      Commit 989713f2 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 166294015
      
      PiperOrigin-RevId: 166521502
      008910f1
  9. 22 8月, 2017 1 次提交
    • A
      Merge changes from github. · 6e3e7d18
      Andrew Harp 提交于
      END_PUBLIC
      
      ---
      Commit 575bd01d 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 d685bbc5 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 d902babb 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 8e78e10e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      disable test temporarily
      
      PiperOrigin-RevId: 165763204
      
      ---
      Commit a271c37d authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Small improvements to the arithmetic optimizer
      
      PiperOrigin-RevId: 165760972
      
      ---
      Commit b6409594 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 5ead7642 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 a0544b0b 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 cdc08afb 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 eebcc861 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 bbc0b847 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 65f87c96 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 57b0276c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 165747467
      
      ---
      Commit 64e54423 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 378463ae 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 109ecf82 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 51441302 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change.
      
      PiperOrigin-RevId: 165737455
      
      ---
      Commit d0cb32c2 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Docstring for ResourceVariable.
      
      PiperOrigin-RevId: 165735441
      
      ---
      Commit 32f4c5b6 authored by Chris Leary<leary@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add IsFinite op in tf2xla.
      
      PiperOrigin-RevId: 165734702
      
      ---
      Commit 5f5c3eb0 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 d001b58d 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 e6c60fb3 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 360bff8a 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 80bd004c 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 aaabf6b9 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 107d165d 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 7d01f89c authored by Pete Warden<petewarden@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Android demo app for speech recognition
      
      PiperOrigin-RevId: 165714459
      
      ---
      Commit a6729325 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 573b303a 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 711be6ad 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 00594ecd 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 7359fec7 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 f0da8bf5 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 a1225879 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 513def0b authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixed BuildOpInfoWithoutDevice
      
      PiperOrigin-RevId: 165653933
      
      ---
      Commit d7e425f0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix linear algebra benchmarks.
      
      PiperOrigin-RevId: 165653891
      
      ---
      Commit 465c4081 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 c0198fd8 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 641943fd authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 165652758
      
      ---
      Commit e3134645 authored by Jonathan Hseu<jhseu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      TPUEstimator: Fix the outfeed thread join.
      
      PiperOrigin-RevId: 165651781
      
      ---
      Commit 565a9d35 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 19a55725 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 8c0853db 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 a3c4e980 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 9b9e5989 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 4ff1f444 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Remove the script as well if building tf_nightly.
      
      ---
      Commit 373d7898 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Adding the break.
      
      ---
      Commit 0139ac98 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 a92bd5d5 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
      6e3e7d18
  10. 16 8月, 2017 1 次提交
    • A
      Merge changes from github. · 28ce1d16
      A. Unique TensorFlower 提交于
      END_PUBLIC
      
      ---
      Commit 9f81374c authored by raymondxyang<zihao.yang@microsoft.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Add option for build more python tests in Cmake (#11853)
      
      * Ignore Windows built project
      
      * Fix deprecated methods in tf.contrib.python
      
      * Fix regex match for Windows build in contrib.keras
      
      * Fix Regex match for Windows build in session_bundle
      
      * * Fix deprecated methods
      * Fix regex match for Windows
      * Fix compatibility issue with Python 3.x
      
      * Add missing ops into Windows build for test
      
      * Enabled more testcases for Windows build
      
      * Clean code and fix typo
      
      * Add conditional cmake mode for enabling more unit testcase
      
      * Add Cmake mode for major Contrib packages
      
      * Add supplementary info in RAEDME for new cmake option
      
      * * Update tf_tests after testing with TF 1.3
      * Clean code and resolve conflicts
      
      * Fix unsafe regex matches and format code
      
      * Update exclude list after testing with latest master branch
      
      * Fix missing module
      
      ---
      Commit 98f0e1ef authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Dynamic ksize and strides with MaxPool (#11875)
      
      * Dynamic ksize with max_pool
      
      This fix tries to fix the issue raised in 4746 where ksize
      is static (attr) with max_pool.
      This fix changes ksize to input tensor so that it is dynamic now.
      
      This fix fixes 4746.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add dynamic ksize to MaxPoolGrad and MaxPoolGradGrad
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Add test cases for max_pool_v2
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Fix GPU Jenkins issue.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Enable MaxPoolV2 in GPU
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      * Hide MaxPoolV2 and other fixes.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit 02d6bc18 authored by Bairen Yi<byronyi@users.noreply.github.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      remove useless variable (#12212)
      
      ---
      Commit ed6b0d90 authored by namrata-ibm<bhavenamrata@gmail.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Adding support for s390x in calculation of cpu_frequency (#12201)
      
      ---
      Commit 627dfc9d authored by Taehoon Lee<taehoonlee@snu.ac.kr>
      Committed by Taehoon Lee<taehoonlee@snu.ac.kr>:
      Fix typos
      
      ---
      Commit c0f9b0a9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      In fast-math mode emit a tanh that has a faster min/max.
      
      PiperOrigin-RevId: 164943597
      
      ---
      Commit 87605f3d authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Use HloEvaluator for ComputeConstant, remove the need of a dedicated
      compute constant backend.
      
      PiperOrigin-RevId: 164940970
      
      ---
      Commit 881de45c authored by Taehoon Lee<me@taehoonlee.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Add bool type supports for GPU kernels (#11927)
      
      * Add bool type supports for GPU kernels
      
      * Add bool type test codes for GPU kernels
      
      ---
      Commit eeacdcdb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add missing "CPU" suffix in registrations.
      
      PiperOrigin-RevId: 164939527
      
      ---
      Commit de01be95 authored by namrata-ibm<bhavenamrata@gmail.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Adding support for Big Endian in graph_constructor_test and wav_io (#12179)
      
      ---
      Commit 26719d29 authored by QingYing Chen<pkudysj@126.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Implement CRF decode (Viterbi decode) for tensor (#12056)
      
      * Implement CRF decoding for tensors
      
      * add test code for tensor version's CRF decoding
      
      * made modifications according to pylint
      
      * add some comments for crf decode
      
      * remove useless code
      
      * add comments at the top comment of crf module and add more comments in crf_test
      
      * capitalize first char of first word in comments
      
      * replace crf_decode test code with a deterministic example
      
      ---
      Commit f9a81ca2 authored by Pete Warden<pete@petewarden.com>
      Committed by gunan<gunan@google.com>:
      Create CI build script for Raspberry Pi (#12190)
      
      * Create CI build script for Raspberry Pi
      
      * Moved location of Pi build script
      
      ---
      Commit e2a163a9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Merge code from PR #11940 with internal changes from cl/164796436, and update Python tests to also run on GPU.
      
      PiperOrigin-RevId: 164929133
      
      ---
      Commit 08bbfa18 authored by Taehoon Lee<me@taehoonlee.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Fix typos (#12195)
      
      ---
      Commit ab96f41f authored by Luke Iwanski<luke@codeplay.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      [OpenCL] Extends matmul_benchmark.py to cover SYCL (#11697)
      
      * [OpenCL] Extends matmul_benchmark.py to cover SYCL
      
      * Fixed typo
      
      * /gpu:0 -> /device:GPU:0
      
      * Fixes control_flow_ops_py_test
      
      * /gpu: -> /device:GPU:
      
      * Fixes //tensorflow/python/profiler/internal:run_metadata_test
      
      * gpu: -> GPU:
      
      * Fixes tfprof_node
      
      * [OpenCL] Fixes device path to name with many colons (#123)
      
      The device path is constructed from a device name by replacing all
      colons with underscores. Some device names contain more than one colon,
      for example 'device:SYCL:0' which gives a path 'device_SYCL_0'. The
      previous code would not convert this back to the original device name,
      but rather to 'device:SYCL_0'.
      
      An alternative fix would be to convert all underscores to colons in the
      device name (i.e. remove the restriction inside `replace("_", ":", 1)`),
      however I'm not sure if there are any device names which contain
      underscores.
      
      * If no gpu device aviable fake one
      
      * gpu: -> device:GPU
      
      * Fixes profiler test
      
      * /gpu:x -> /device:GPU:x
      
      * Fixes debug_io_utils_test.cc test
      
      * Fixes device_name_utils_test.cc
      
      ---
      Commit 35e7a366 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      Remove unneeded casting of int64 for reverse_sequence (#12192)
      
      This fix remove unneeded cast of int64 for reverse_sequence:
      ```
      lengths = math_ops.to_int64(lengths)
      ```
      as int32 has already been enabled for reverse_sequence.
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      ---
      Commit 9fba8c18 authored by Anna R<annarev@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add benchmark dashboard link to benchmarks doc. Also, I added a link and
      description for Benchmarks page to Community index page.
      
      PiperOrigin-RevId: 164924906
      
      ---
      Commit bb6f32fa authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make HloAliasAnalysis updatable after changes to the HLO graph.
      As part of this change make HloAliasAnalysis a thinner layer which
      basically only holds a map from HloValue to HloBuffer and vice versa.
      
      PiperOrigin-RevId: 164923041
      
      ---
      Commit 9103096c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by Thomas K?ppe<tkoeppe@google.com>:
      Merged commit includes the following changes:
      164923041  by meheff:
      
          Make HloAliasAnalysis updatable after changes to the HLO graph.
          As part of this change make HloAliasAnalysis a thinner layer which
          basically only holds a map from HloValue to HloBuffer and vice versa.
      
      --
      
      PiperOrigin-RevId: 164923041
      
      ---
      Commit 822603ae authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Merging sibling fusion instruction using multi_output_fusion
      
      PiperOrigin-RevId: 164920220
      
      ---
      Commit c035aa2a 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: 164917891
      
      ---
      Commit e1e81d9b authored by Luke Iwanski<luke@codeplay.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      [OpenCL] Fixes double memcpy bug (#151) (#12173)
      
      * [OpenCL] Fixes double memcpy bug (#151)
      
      As the debg CopyOp is called on a Tensor without type, we need to use
      the DataType enum to get type information, and use this to pass the type
      on to Eigen. This is a workaround Eigen's need to have a type when
      calling memcpy. If the Eigen memcpy can be provided without a type
      requirement, then the memcpy in sycl_util is unnecessary.
      
      * Acts on feedback from: #12173/files/32cb12a9001b672425867b5a3110fd98e737a20b#r132496277
      
      ---
      Commit d9ca2d86 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change
      
      PiperOrigin-RevId: 164916465
      
      ---
      Commit b8d13d21 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove more parts of DCASGD missed in the first pass. (47949b)
      
      PiperOrigin-RevId: 164914552
      
      ---
      Commit 73b3d52c authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      cmake fix
      
      PiperOrigin-RevId: 164911656
      
      ---
      Commit 2173b5b0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allow TFE_TensorHandleCopyToDevice to have the same device as src and
      destination. It will reuse the same underlying buffer in those cases.
      
      PiperOrigin-RevId: 164909906
      
      ---
      Commit 13eb3b90 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Experimental C and Python APIs to invoke TensorFlow kernels on concrete values.
      
      PiperOrigin-RevId: 164902588
      
      ---
      Commit 7dfabcc0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Initialize ExecutionOptions in ComputeConstant to default values.
      
      PiperOrigin-RevId: 164894867
      
      ---
      Commit c8897e9b authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Static required time computation
      
      PiperOrigin-RevId: 164894645
      
      ---
      Commit 076158f9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Enable implicit->explicit conversion by default.
      
      PiperOrigin-RevId: 164890915
      
      ---
      Commit 58c4a4cb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Bugfix: number of input channels is not necessarily in the last dimension, after introduction of data_format param.
      
      PiperOrigin-RevId: 164889729
      
      ---
      Commit 8f9b1af8 authored by Igor Saprykin<isaprykin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Recover MonitoredSession when the Coordinator is requested to stop with one of the _PREEMPTION_ERRORS.
      
      When SyncReplicasOptimizer is used, a preemption in the Coordinator may result in two cases:
      Case 1) the session gets silently marked as complete
      Case 2) the session gets stuck
      
      This CL aims to solve and verify solutions for both of these problems. Fix 1 changes the should_stop logic. Fix 2 changes the CoordinatedSession.run() logic.
      
      SyncReplicasOptimizer runs a separate set of threads using a Coordinator instance. Those threads do FIFOQueue.enqueue; the main thread does a blocking FIFOQueue.dequeue.
      
      `sync_token_q` FIFOQueue is on parameter-servers. When one of the PS instances gets preempted, an AbortedError causes the Coordinator to stop via request_stop(ex). That by itself changes the state of MonitoredSession.should_stop() to True (Fix 1).
      
      Results of the blocking Dequeue operation are sent to the chief worker via Recv. What happens next depends on the amount of tokens in `sync_token_q`. If there are enough for the next call to Dequeue to return, then the low-level "tf session run() call" returns. The next iteration of the `while not MonitoredSession.should_stop()` loop decides that the training is complete (Case 1).
      
      If there are not enough tokens in `sync_token_q`, then the blocking Dequeue is going to keep waiting for them. This results in the graph execution getting stuck and the whole session getting garbage collected after 10 minutes (Case 2).
      
      We decided to fix that by re-creating a session after it gets garbage collected (Fix 2). An alternative was to try to cancel the pending Dequeue operation, but it's not clear that it is the right thing to do and it is also not easy.
      
      PiperOrigin-RevId: 164888390
      
      ---
      Commit 46e4de6e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Undo loop fusion changes for now as they seem to be altering a few results.
      END_PUBLIC
      RELNOTES: n/a
      
      BEGIN_PUBLIC
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 164825735
      
      PiperOrigin-RevId: 165340331
      28ce1d16
  11. 02 8月, 2017 1 次提交
    • B
      Merge changes from github. · 05c491d3
      Benoit Steiner 提交于
      END_PUBLIC
      
      ---
      Commit e62de3f7 authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Handle Reverse in HloEvaluator.
      
      Also move HandleCopy to outer visitor instead, since it can be implemented
      as a type-agnostic copy instead.
      
      PiperOrigin-RevId: 163866499
      
      ---
      Commit 96675956 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      C API: Avoid converting uninitialized tensorflow::Tensor to TF_Tensor*
      
      And return error messages instead of CHECK failing when the conversion
      fails.
      
      PiperOrigin-RevId: 163863981
      
      ---
      Commit 9593704b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix framework import function dependency.
      
      PiperOrigin-RevId: 163863883
      
      ---
      Commit 66f14854 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Improve performance of compilation by ~8% by speeding up the
      hlo rematerialization pass.
      
      Changes:
      . Wrap each HloInstruction* inside an Item structure that keeps
        associated data.  This allows us to get rid of a bunch of
        hash tables indexed by HloInstruction*.
      * Switch to an intrusive linked list (instead of std::list) so
        that we can avoid a hash table that maps to std::list::iterator.
      * Use inlined vector in a few places.
      PiperOrigin-RevId: 163848365
      
      ---
      Commit 6d77a012 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Hide NonMaxSuppression and NonMaxSuppressionV2 ops and add a python wrapper that sets a backwards compatible default value for iou_threshold.
      
      PiperOrigin-RevId: 163844703
      
      ---
      Commit 1a449960 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix: add GDN to __init__. Also put it in alphabetical order.
      
      PiperOrigin-RevId: 163842410
      
      ---
      Commit db0e1c6c authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Don't force inlining of functions marked no-inline
      
      PiperOrigin-RevId: 163842238
      
      ---
      Commit 18718b6f authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Misc grappler improvements:
       * Avoid copying optimized graphs since that takes time.
       * Avoid optimizing a pruned graph, since it's already been pruned there isn't much to gain
      
      PiperOrigin-RevId: 163842122
      
      ---
      Commit 90abbf68 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use OP_REQUIRES instead of an assertion to validate op arguments
      
      PiperOrigin-RevId: 163841759
      
      ---
      Commit 203c3f5f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Infer unknown shapes for functions in C++
      
      As we are implementing function support through C API, the new code path
      runs shape inference of Operations representing functions, but we don't
      yet support shape inference for functions.
      
      Before this change, adding a function NodeDef would result in error.
      This change pairs all functions with a shape inference function that
      sets all output shapes to unknown.
      
      PiperOrigin-RevId: 163830793
      
      ---
      Commit 3cc5fc08 authored by Chris Leary<leary@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Implement MirrorPad op.
      
      Addresses #11890
      
      * Improves the shape inference error message for concatenate.
      * Adds a helper to Literal that gets an integral value converted to int64.
      
      PiperOrigin-RevId: 163829437
      
      ---
      Commit c7b674fa authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      flatten_up_to should return values, not keys
      
      PiperOrigin-RevId: 163809688
      
      ---
      Commit 6209b4b5 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Minor refactoring the TF_Tensor <-> PyArray conversion functions.
      
      PiperOrigin-RevId: 163802822
      
      ---
      Commit 618f913b authored by Yao Zhang<yaozhang@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Speed up topological sort by avoiding copies. The speedup is about 10-20%.
      
      PiperOrigin-RevId: 163800134
      
      ---
      Commit 6446895a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove and replace broken giflib download link
      
      PiperOrigin-RevId: 163796393
      
      ---
      Commit 9d561308 authored by Chris Leary<leary@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA:CPU] Atomically enqueue tuple buffers for outfeed.
      
      Previously it was possible that a distinct thread could hop in between the
      buffer enqueues done by a tuple-outfeeding thread. This changes the sequence to
      enqueue all the tuple buffers as an atomic unit.
      
      PiperOrigin-RevId: 163781804
      
      ---
      Commit b882d686 authored by Bjarke Hammersholt Roune<broune@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allow cost estimates to differ per backend and include the estimates into the HLO profile. Add a summary table for what categories have the most opportunity for optimization left in them.
      
      PiperOrigin-RevId: 163780413
      
      ---
      Commit 14b73676 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Pass stats_collector when using SymbolicGradientOp.
      
      PiperOrigin-RevId: 163773897
      
      ---
      Commit 5202a5b6 authored by RJ Ryan<rjryan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix some typos in StreamExecutor's cuFFT support.
      
      PiperOrigin-RevId: 163771825
      
      ---
      Commit edac90c7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add support to generate pprof results to tf.profiler
      
      A fun thing is, it can not only profile time,memory
      but also parameters, etc.
      
      PiperOrigin-RevId: 163767517
      
      ---
      Commit 78a90370 authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Refactor CreateModuleConfig to share code between multiple call-sites.
      
      Previously Service, LocalService and CompileOnlyService had their own code to
      create a new HloModuleConfig, with much repetition (and some ommissions);
      collect all these uses in a single method.
      
      PiperOrigin-RevId: 163766869
      
      ---
      Commit 6150611a authored by Anna R<annarev@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change.
      
      PiperOrigin-RevId: 163765028
      
      ---
      Commit 9e787543 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add the option of including Shape, ShapeN, Size and Rank in the standard TensorFlow constant propagation pass, when the inputs to those Ops have sufficiently known static shape.
      
      PiperOrigin-RevId: 163762750
      
      ---
      Commit 8b1365bb authored by Yuefeng Zhou<yuefengz@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Infer output shape for restore op.
      
      PiperOrigin-RevId: 163762216
      
      ---
      Commit 2e2a8536 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update WorkerCacheLogger::RecordDataTransfer to not modify the details if provided.
      
      PiperOrigin-RevId: 163761089
      
      ---
      Commit d03ba54f authored by Yangzihao Wang<yangzihao@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use BlasGemv() when autotune is not set.
      
      PiperOrigin-RevId: 163754092
      
      ---
      Commit 724884f1 authored by Justin Lebar<jlebar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Show layouts in HLO graph dump.
      
      Layouts are displayed as e.g. "f32[100,200]{0,1}".  But constants used
      to be displayed as e.g. "f32[]{42}".  To avoid ambiguity, constants are
      now displayed as e.g. "42 (f32[])".
      
      Also gets rid of the xla_hlo_graph_layout flag, which is no longer
      necessary since we're now showing layouts unconditionally.
      
      PiperOrigin-RevId: 163753637
      
      ---
      Commit 84c2757a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Move Grappler test GraphDefs to separate files
      
      PiperOrigin-RevId: 163751948
      
      ---
      Commit 0b3a25d6 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make TF_RESOURCE memory handling consistent with other types.
      
      TF_Tensor's are backed by a contiguous memory region for all
      but TF_RESOURCE tensors. The memory management of TF_RESOURCE
      tensors required keeping a backing tensorflow::ResourceHandle*
      object alive for the lifetime of the TF_Tensor object.
      
      This change removes that discrepancy, making the memory backing
      TF_RESOURCE tensors self-contained. This simplifies use of TF_RESOURCE
      tensors in the C API (as users of the C API do not need to worry about
      a tensorflow::ResourceHandle object and its lifetime). In doing so, this
      moves a string memory copy from the TF_Tensor <-> Numpy conversion
      to the C API from the Python session helper.
      
      Unfortunately, I couldn't figure out how to add a simple unittest in
      c_api_test.cc. The more comprehensive tensorflow/python/kernel_tests/session_ops_test.py
      does cover the changed lines though.
      
      Additionally, avoid an unnecessary copy when creating TF_STRING or TF_RESOURCE
      tensors (as eigen alignment is not a requirement for them).
      
      PiperOrigin-RevId: 163751880
      
      ---
      Commit 1333e774 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allow one tensor to be the input to the estimator.
      
      PiperOrigin-RevId: 163747076
      
      ---
      Commit 104f349e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update Conv2DShape function to handle filters that have data NCHW_VECT_C layout.
      
      PiperOrigin-RevId: 163746769
      
      ---
      Commit efb7fb8e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use XLA_VLOG_LINES() in literal_test_util to avoid truncation of large tensors.
      
      PiperOrigin-RevId: 163745522
      
      ---
      Commit 043505a0 authored by Suharsh Sivakumar<suharshs@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      MasterSession should throw error if use_per_session_threads or session_inter_op_thread_pool is set.
      
      PiperOrigin-RevId: 163743936
      
      ---
      Commit 6ba02f0e authored by Artem Belevich<tra@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Added HasAllocationAt() helper function.
      
      PiperOrigin-RevId: 163742985
      
      ---
      Commit 18304683 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Pin tensorflow to tensorflow-tensorboard 0.1.x
      
      This change will be cherry-picked into the 1.3.0 release.
      
      PiperOrigin-RevId: 163742463
      
      ---
      Commit 3445dd0e authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make 'import tensorflow' go faster
      
      It now takes about 400ms rather than 800ms, if the file system cache is warm.
      
      Most of the latency was due to parsing text_format OpList protocol buffers in
      our generated sources. We now use a binary representation, while preserving the
      text proto as a comment for readability.
      
      Note: This change does not improve the latency of dereferencing tf.contrib,
      which takes about 340ms.
      PiperOrigin-RevId: 163739355
      
      ---
      Commit c215c55d authored by Neal Wu<wun@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add missing py_binary for mnist_deep.py
      
      PiperOrigin-RevId: 163737503
      
      ---
      Commit b663c989 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make non-iterable input to `stratified_sample` produce better error message.
      
      PiperOrigin-RevId: 163735979
      
      ---
      Commit 122750a8 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [SE] Make ExecutorCache thread-safe, change ExecutorCache::Insert to ExecutorCache::GetOrCreate. Add support for creating Executors for different device ordinals in parallel.
      [XLA] Create Executors in parallel.
      
      PiperOrigin-RevId: 163734988
      
      ---
      Commit 7ebed667 authored by Frank Chen<frankchn@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add __init__.py to the contrib/cluster_resolver directory so that the Cluster Resolver classes within this are visible to open source TensorFlow users.
      
      PiperOrigin-RevId: 163733781
      
      ---
      Commit 21faf19d authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Upgrade pip version to 9.0.1; Prettier format of log text
      
      * Upgrade pip version used in virtualenv created by the test-on-install to latest (9.0.1).
      * Highlight step titles of pip builds with bold font.
      
      PiperOrigin-RevId: 163732825
      
      ---
      Commit 5887cc10 authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] In LiteralUtil::StridedConfig: choose the larger dimension between the
      source and destination shapes' minor-most dimension index.
      
      PiperOrigin-RevId: 163732014
      
      ---
      Commit f9c64469 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Disable sanitizers for depthwise conv test to fix test flakiness.
      
      PiperOrigin-RevId: 163727765
      
      ---
      Commit 6263539a authored by Allen Lavoie<allenl@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Grappler memory optimization: allow inputs to gradients with non-standard names to be recomputed
      
      Includes Python tests for name-scoped gradients.
      
      PiperOrigin-RevId: 163720208
      
      ---
      Commit 4ac19566 authored by Benoit Steiner<benoitsteiner@users.noreply.github.com>
      Committed by GitHub<noreply@github.com>:
      Branch 163695881 (#11913)
      
      * Prevent ctc_loss op from segfaulting when given empty batch.
      
      PiperOrigin-RevId: 163663460
      
      * New "SavedModel: Practical Uses" and "SavedModel: Architecture" documents.
      
      PiperOrigin-RevId: 163669809
      
      * Minor cleanup
      
      PiperOrigin-RevId: 163685423
      
      * Add regression variance over individual trees to TensorForest inference.
      
      PiperOrigin-RevId: 163695881
      
      ---
      Commit b876065a authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      graph_to_function_def gets its own file
      
      PiperOrigin-RevId: 163709410
      
      ---
      Commit 29550762 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixes unit tests for inverse hyperbolic functions that were failing because numeric gradients were computed too close to a branch cut (for complex arguments) or singularity (for real arguments) where the function is not differentiable (See, e.g., http://mathworld.wolfram.com/BranchCut.html). This change moves the test points away from the branch cut/singularity.
      
      Improves precision of double precision numerical gradients by using a smaller step size delta (the optimal for symmetric difference approximation with functions computed with O(epsilon) error is epsilon^(1/3), so for double64 it is ~1e-5).
      
      PiperOrigin-RevId: 163706297
      
      ---
      Commit 99b190a1 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Add implementation of depthwise convolution.
      
      This implementation expands the depthwise convolution kernels into a regular convolution kernel, which may not scale to large feature depths.
      
      PiperOrigin-RevId: 163705408
      
      ---
      Commit f6f07b02 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allow kernel unit tests to run on GPU
      
      PiperOrigin-RevId: 163705027
      
      ---
      Commit 4ec29c5d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Avoid direct access to Node::def() where some other method works.
      
      PiperOrigin-RevId: 163704839
      
      ---
      Commit 153be4d2 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Stats tracking (#11523)
      
      * Adds stat tracking to the SYCL allocator
      
      The SYCLAllocator will now find the max allocation size on construction,
      and keep track of the allocation stats, as given in AllocationStats.
      
      * [OpenCL] Adds buffer size tracking to SYCL allocator (#114)
      
      The SYCL buffers underlying tensors already keep track of their sizes,
      so we can easily provide this tracking information for debugging
      purposes.
      
      ---
      Commit 8d642672 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Disabling gmm_test.py on Windows builds as it's flaky on GPU nightly builds.
      
      ---
      Commit 1560c55d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add regression variance over individual trees to TensorForest inference.
      
      PiperOrigin-RevId: 163695881
      
      ---
      Commit 15e928d5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Minor cleanup
      
      PiperOrigin-RevId: 163685423
      
      ---
      Commit f9c75871 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      New "SavedModel: Practical Uses" and "SavedModel: Architecture" documents.
      
      PiperOrigin-RevId: 163669809
      
      ---
      Commit f19bb3be authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Prevent ctc_loss op from segfaulting when given empty batch.
      
      PiperOrigin-RevId: 163663460
      
      ---
      Commit 454fe936 authored by Taehoon Lee<taehoonlee@snu.ac.kr>
      Committed by Taehoon Lee<taehoonlee@snu.ac.kr>:
      Fix typos
      
      ---
      Commit e17650b6 authored by Frank Chen<frankchn@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      This adds the cluster_resolver module to contrib/__init__.py so that it is actually visible to open source TensorFlow users.
      
      PiperOrigin-RevId: 163636676
      
      ---
      Commit 926c0f6e authored by ??<awsomekde@gmail.com>
      Committed by GitHub<noreply@github.com>:
      fix minor typo
      ---
      Commit 00d3126a authored by Yao Zhang<yaozhang@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Change const nodes to variables in the test, so that they are not optimized
      away by the grappler constant folding pass.
      
      PiperOrigin-RevId: 163602405
      
      ---
      Commit 1c7c9c71 authored by Aditya Dhulipala<aditya.d@hotmail.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Minor typo correction (#11874)
      
      ---
      Commit f91a3546 authored by Sergii Khomenko<x-sam@brainscode.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Fix a minor typo (#11873)
      
      ---
      Commit adf5d1bc authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 163510186
      
      PiperOrigin-RevId: 163902859
      05c491d3
  12. 29 7月, 2017 1 次提交
    • V
      Merge changes from github. · a1fba7f5
      Vijay Vasudevan 提交于
      END_PUBLIC
      
      I dropped the following commit because it doesn't compile.
      I will follow up with Andrew to fix it or revert it.
      Commit 003deb88 authored by osdamv<osdamv@gmail.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Refactor and implementation of the camera API 1, it fixes #8736 (#10771)
      
      List of commits in this CL:
      ---
      Commit 44645036 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use identity of param variable in cudnn_rnn.RNNParamsSaveable instead of parameter
      variable directly. The RNNParamsSaveable is usually used in a graph which also
      has a saver for the cudnn param variable itself, if the same op is used for
      both, fails with a two savers for same op error.
      
      PiperOrigin-RevId: 163431826
      
      ---
      Commit d629a831 authored by RJ Ryan<rjryan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Increase bound on tf.contrib.signal.inverse_stft gradient error to avoid flakiness on macOS.
      
      PiperOrigin-RevId: 163426631
      
      ---
      Commit 253bcbb7 authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Use HloEvaluator for convolution in reference_util.
      
      Also Speed up HloEvaluator's HandleConvolution in non-opt build, by moving calls
      to HloInstruction::shape() out of the inner loop.
      
      PiperOrigin-RevId: 163416183
      
      ---
      Commit 569a00e6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update API to traffic in unique_ptrs rather than owning raw pointers
      
      PiperOrigin-RevId: 163414320
      
      ---
      Commit 31a77bc7 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Java: Update release to 1.3.0-rc1
      
      PiperOrigin-RevId: 163413736
      
      ---
      Commit 1ebbf432 authored by Jonathan Hseu<vomjom@vomjom.net>
      Committed by GitHub<noreply@github.com>:
      Add missing grpc dependency (#11828)
      
      ---
      Commit 905abb1f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Test asserts should have `expected` first.
      
      PiperOrigin-RevId: 163409348
      
      ---
      Commit d5cc143e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Increase timeout to deflake the test.
      
      PiperOrigin-RevId: 163407824
      
      ---
      Commit ce1c7f02 authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Properly include logging header in xla_internal_test_main
      
      PiperOrigin-RevId: 163405986
      
      ---
      Commit 22241cd4 authored by joetoth<joetoth@gmail.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      External leveldb link changed (#11833)
      
      table_format.txt was renamed to table_format.md
      ---
      Commit 6b7314de authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Consolidating the code to fill the partition's function library
      into one place. Previously, Partition() and MasterSession::RegisterPartition()
      both fills in the partitioned graph's function library.
      
      PiperOrigin-RevId: 163400992
      
      ---
      Commit 28373cfe authored by Frank Chen<frankchn@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds preliminary support for Cloud TPUs with Cluster Resolvers. This aims to allow users to have a better experienec when specifying one or multiple Cloud TPUs for their training jobs by allowing users to use names rather than IP addresses.
      
      PiperOrigin-RevId: 163393443
      
      ---
      Commit e5353c94 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Don't prune nodes that have reference inputs.
      
      PiperOrigin-RevId: 163390862
      
      ---
      Commit 22651083 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      C API: Groundwork for experimenting with TF_Tensor in device memory.
      
      TF_Tensor objects are always backed by host memory. This commit lays
      the groundwork for allowing TF_Tensor objects to refer to tensor data
      on device (e.g., GPU) memory.
      
      PiperOrigin-RevId: 163388079
      
      ---
      Commit 613bf1c7 authored by Yuefeng Zhou<yuefengz@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      fix asan test failure in SingleMachineTest::ReleaseMemoryAfterDestruction.
      
      PiperOrigin-RevId: 163386941
      
      ---
      Commit 4653d37a authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Change type to appease GPU builds.
      
      PiperOrigin-RevId: 163384927
      
      ---
      Commit 9f131bd1 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change
      
      PiperOrigin-RevId: 163378484
      
      ---
      Commit 8bc0236c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      PiperOrigin-RevId: 163366493
      
      ---
      Commit 3b97f1f9 authored by Yangzihao Wang<yangzihao@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Change to only run one round of matmul benchmark.
      
      PiperOrigin-RevId: 163364341
      
      ---
      Commit a4a3a333 authored by Yun Peng<pcloudy@google.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Fix ./configure on Windows (#11775)
      
      * Fix ./configure on Windows
      
      * Disable bitwise_ops_test on Windows
      
      ---
      Commit ae3119d1 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Small changes to op framework.
      
      PiperOrigin-RevId: 163361071
      
      ---
      Commit f40189d2 authored by qjivy<ji.qiu@spreadtrum.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      PR again: Enable building label_image with jpeg/gif/png decoder for Android.  (#11475)
      
      * Enable building label_image with jpeg/gif/png decoder for Android.
      Add dependency "android_tesnorflow_image_op" to label_image, which
      is not overlapped with android_tensorflow_kernels.
      
      * Running buildifier to reformat the BUILD files for
      sanity check.
      
      ---
      Commit 59916586 authored by KB Sriram<kbsriram@gmail.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Add the Constant operator class (#11559)
      
      Create a custom operator class to create constants in the Graph,
      and introduce the Operator marker annotation to identify
      operator classes.
      
      Please see #7149 for the master tracking issue.
      ---
      Commit 86ca3506 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Further BUILD cleanup
      
      PiperOrigin-RevId: 163360750
      
      ---
      Commit 376bb063 authored by Pete Warden<petewarden@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Look inside functions to see which node types are used.
      
      PiperOrigin-RevId: 163360375
      
      ---
      Commit 2139e7d8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf.contrib.data] map expects a nested structure.
      
      Fixes #11786
      
      PiperOrigin-RevId: 163359134
      
      ---
      Commit d09304fc authored by Jonathan Hseu<vomjom@vomjom.net>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Upgrade gRPC (#11768)
      
      * BUILD rule modifications
      
      * More build fixes
      
      * Code changes
      
      * More code fixes
      
      * Working tests
      
      * CMake build
      
      * Fix pprof
      
      * Fix header includes
      
      * CMake fix test
      
      * Bazel clean
      
      * Fix verbs
      
      * More verbs fixes
      
      * bazel clean for XLA
      
      * Windows build fix test
      
      * Add openssl/rand.h
      
      * New cmake build command
      
      * --config Release
      
      ---
      Commit 3cd82847 authored by David Norman<DavidNorman@users.noreply.github.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Fix error with default python path selection (#11814)
      
      * Fix error with default python path selection
      
      * Move setting of environment var outside if / else
      
      ---
      Commit ddd8e21b authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Consolidate all similar main()s in tests into a single target.
      
      PiperOrigin-RevId: 163354724
      
      ---
      Commit a36bca25 authored by Tayo Oguntebi<tayo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove ShapeWithoutPadding() utility function, as it is no longer needed.
      
      PiperOrigin-RevId: 163353430
      
      ---
      Commit b26f9cd4 authored by David Norman<DavidNorman@users.noreply.github.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Ensure that the multi-instruction fuse can take shared inputs (#11748)
      
      * Ensure that the multi-instruction fuse can take shared inputs
      
      Note that the fuse action only works when the shared input / constant
      appears after all of its consumers in the list of instructions.
      
      * Add a comment describing the test
      
      ---
      Commit 34cbf161 authored by Jiri Simsa<jsimsa@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update Dataset API documentation.
      
      PiperOrigin-RevId: 163349457
      
      ---
      Commit 2381ce5c authored by Abdullah Alrasheed<a.rasheed@tc-sa.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      DOC: Fix typo. (#11813)
      
      you could could be I/O bottlenecked.
      TO:
      you could be I/O bottlenecked.
      ---
      Commit e4a5c535 authored by Toby Boyd<tobyboyd@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      ["Variable", "VariableV2", "VarHandleOp"] is the default for ps_ops=None
      
      PiperOrigin-RevId: 163344629
      
      ---
      Commit 722f6f36 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix TensorForest's saveable object names so loading a savedmodel works.
      
      PiperOrigin-RevId: 163332598
      
      ---
      Commit cda80a78 authored by Eric Liu<ioeric@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tpu profiler] Dump HLO graphs in profile responses to the log directory.
      
      PiperOrigin-RevId: 163318992
      
      ---
      Commit cea9ef6f authored by horance<horance-liu@users.noreply.github.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Refactoring device name utils (#11797)
      
      * remove duplicated code for full_name and legacy_name for DeviceNameUtils
      
      * replace tabs
      
      * Real->Device
      
      ---
      Commit 1f7c0f91 authored by Kongsea<kongsea@gmail.com>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Refine docstrings (#11800)
      
      ---
      Commit dd1f0cdd authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Supports lookup devices by fullname either in the canonical form or the
      legacy form. This makes DeviceSet behaves the same as DeviceMgr's
      FindDevice method.
      
      PiperOrigin-RevId: 163300346
      
      ---
      Commit 631a364c authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add Reduce, DynamicSlice and DynamicSliceUpdate to HloEvaluator.
      
      - Reduce is disabled explicitly for constant folding, as not all types of
      embedded computation can be currently supported by the evaluator.
      
      - Added support to evaluate HloModule to HloEvaluator.
      
      - Minor signature change to Evaluate().
      
      PiperOrigin-RevId: 163299238
      
      ---
      Commit a5247017 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Sets the incarnation number even when the attribute is set.
      
      PiperOrigin-RevId: 163299121
      
      ---
      Commit a49fe036 authored by Suharsh Sivakumar<suharshs@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove platform bridge for grpc_response_reader.
      
      PiperOrigin-RevId: 163295986
      
      ---
      Commit 4404aa7c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add TODO comment explaining why the IsScalar check exists.
      
      PiperOrigin-RevId: 163292777
      
      ---
      Commit 43036ac1 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unnecessary break statements.
      
      PiperOrigin-RevId: 163291947
      
      ---
      Commit fd5de469 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add regression test for a corner case using Reduce that currently fails with the GPU backend.
      
      PiperOrigin-RevId: 163287986
      
      ---
      Commit 32e198f2 authored by Chris Leary<leary@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Add tf.cross support.
      
      See #11788
      
      PiperOrigin-RevId: 163287731
      
      ---
      Commit 88abddbc authored by Alan Yee<alyee@ucsd.edu>
      Committed by Vijay Vasudevan<vrv@google.com>:
      Update README.md (#11793)
      
      Remove bad practices of sudo pip and install use safer pip install commands
      ---
      Commit 9b30dc3a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove final mentions of `get_shape` in docstring.
      
      PiperOrigin-RevId: 163282839
      
      ---
      Commit 423c1eea authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BREAKING CHANGE: Fix semantic error in how maybe_batch* handles sparse tensors.
      
      PiperOrigin-RevId: 163276613
      
      ---
      Commit 6028c071 authored by Justin Lebar<jlebar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Highlight incoming/outgoing edges on hover in HLO graphviz dumps, and other improvements.
      
      Other improvements:
      
       - Don't show tooltips for nodes and clusters.  Previously we'd show a
         tooltip containing a pointer value expressed as decimal.  Not so
         useful.
      
       - Show tooltips on edges with the to/from node names.
      
       - Fix bug wherein if we had
      
         - a node at the "edge" of the graph (so its operands aren't included
           unless they're referenced by another node),
         - with all of its operands included in the graph save one or more
           constants, and
         - those constants weren't referenced by any nodes not at the edge of
           the graph,
      
         we would incorrectly draw the node as "grayed out", indicating that
         one of its operands (namely, its constant operand) wasn't present in
         the graph.
      
         This is wrong because constants are inlined into their users, so they
         should always count as "displayed" for the purposes of determining
         whether a node is grayed out.
      
      PiperOrigin-RevId: 163276108
      
      ---
      Commit ce7a355b authored by Joshua V. Dillon<jvdillon@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update contrib/distributions/estimator_test build dependency.
      
      PiperOrigin-RevId: 163272464
      
      ---
      Commit 1b8458a1 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Shorten docstring line.
      
      PiperOrigin-RevId: 163269709
      
      ---
      Commit 69e323cc authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix comment ypo
      
      PiperOrigin-RevId: 163266376
      
      ---
      Commit 08790e73 authored by Chris Leary<leary@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Fix a bug in cloning outfeeds, carried the wrong shape.
      
      PiperOrigin-RevId: 163265592
      
      ---
      Commit 1bad826d authored by Yangzihao Wang<yangzihao@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Rollback of GPU kernel implementation of transpose for tensors with one small dimension.
      END_PUBLIC
      
      BEGIN_PUBLIC
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 162525519
      
      PiperOrigin-RevId: 163490703
      a1fba7f5
  13. 14 7月, 2017 1 次提交
    • F
      Merge changes from github. · a0ffaf3c
      Frank Chen 提交于
      END_PUBLIC
      
      ---
      Commit fe533817 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: 161727345
      
      ---
      Commit c65f6911 authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Factor out DenseUpdate ops into dense_update_functor build dep.
      
      Also add support for complex types.
      
      PiperOrigin-RevId: 161726749
      
      ---
      Commit 9a172989 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 161726324
      
      ---
      Commit fd5530d6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      adding bazel-toolchains repo to workspace. This repo will be necessary for remote execution (specifically for cross OS compilation)
      
      PiperOrigin-RevId: 161719899
      
      ---
      Commit 71c4ec8e authored by Derek Murray<mrry@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add a mechanism for switching between multiple iterators by feeding a handle.
      
      With this change, you can do the following:
      
      1. Fetch a string handle for any iterator, by evaluating the result of
         `Iterator.string_handle()`.
      2. Define an `Iterator` object based on a `tf.string` placeholder handle.
      3. Feed the placeholder using an evaluated string handle to use a particular
         iterator in a particular step.
      
      Concretely, this allows you to define two iterators for a training dataset and
      a test dataset, and choose which one to use on a per-run basis:
      
      ```python
      train_iterator = tf.contrib.data.Dataset(...).make_one_shot_iterator()
      train_iterator_handle = sess.run(train_iterator.string_handle())
      
      test_iterator = tf.contrib.data.Dataset(...).make_one_shot_iterator()
      test_iterator_handle = sess.run(test_iterator.string_handle())
      
      handle = tf.placeholder(tf.string, shape=[])
      iterator = tf.contrib.data.Iterator.from_string_handle(
          handle, train_iterator.output_types)
      
      next_element = iterator.get_next()
      loss = f(next_element)
      
      train_loss = sess.run(loss, feed_dict={handle: train_iterator_handle})
      test_loss = sess.run(loss, feed_dict={handle: test_iterator_handle})
      ```
      PiperOrigin-RevId: 161719836
      
      ---
      Commit 6d6dda80 authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Fix an issue where plugin/Executor backend is used by default when TF
      is built from source with XLA support. See Github issue #11122.
      
      The priority of the executor backend is set to be higher than the default (50)
      and CPUs (<100), and is therefore selected as the default when tf.device is not
      explicitly specified.
      
      PiperOrigin-RevId: 161717173
      
      ---
      Commit 6b28eb08 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Rename HloLocation to HloPosition, to avoid ambiguity with MemoryLocation.
      
      PiperOrigin-RevId: 161716528
      
      ---
      Commit 8e7f5737 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Expose tf.contrib.nn.rank_sampled_softmax_loss.
      
      PiperOrigin-RevId: 161716450
      
      ---
      Commit e424d209 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Use a more numerically accurate formulation of ResourceApplyRMSProp.
      
      PiperOrigin-RevId: 161706120
      
      ---
      Commit 45a58d37 authored by Skye Wanderman-Milne<skyewm@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Introduce Python-only extensions to the C API
      
      Implements an incomplete version of Operation._add_control_input()
      using a new extension to make sure the plumbing works.
      
      This also adds header guards to c_api_internal.h, which were missing. For some reason the missing guards caused problems in the cmake build even though there doesn't appear to be any #include cycles.
      
      PiperOrigin-RevId: 161705859
      
      ---
      Commit 4f543363 authored by Jonathan Hseu<jhseu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Rename TpuEstimator to TPUEstimator and TpuConfig to TPUConfig to follow PEP8
      naming conventions.
      
      PiperOrigin-RevId: 161704561
      
      ---
      Commit 38180d7b authored by Yun Peng<pcloudy@google.com>
      Committed by gunan<gunan@google.com>:
      Disable nn_test on Windows (#11445)
      
      ---
      Commit e1de7a1b authored by Yun Peng<pcloudy@google.com>
      Committed by gunan<gunan@google.com>:
      Windows Bazel Build: Build TensorFlow with wrapper-less CROSSTOOL (#11454)
      
      ---
      Commit c9d03a56 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add tf.contrib.nn.rank_sampled_softmax_loss, a variant of tf.nn.sampled_softmax_loss that has been shown to improve rank loss. Paper: https://arxiv.org/abs/1707.03073
      
      PiperOrigin-RevId: 161702455
      
      ---
      Commit 9aa0dcbf authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add shape check for MakeQuantileSummariesOp.
      
      PiperOrigin-RevId: 161698801
      
      ---
      Commit 9c4da4a2 authored by vhasanov<KyotoSunshine@users.noreply.github.com>
      Committed by Frank Chen<frankchn@gmail.com>:
      Deleted unnecessary repetition of the same text. (#11459)
      
      The same text was repeated two times. I deleted the repetition.
      ---
      Commit d1e3cadd authored by DimanNe<dimanne@gmail.com>
      Committed by drpngx<drpngx@users.noreply.github.com>:
      Fix linking options issued by bazel in oorder to make gradients register (#11449)
      
      ---
      Commit 8605f7ab authored by Taehoon Lee<me@taehoonlee.com>
      Committed by Frank Chen<frankchn@gmail.com>:
      Fix typos (#11444)
      
      ---
      Commit 7c1fe906 authored by Karl Lessard<karllessard@users.noreply.github.com>
      Committed by Frank Chen<frankchn@gmail.com>:
      [Java] Add base classes and utilities for operation wrappers. (#11188)
      
      * Add base classes and utilities for operation wrappers.
      
      * Rename Input interface to Operand
      
      * Introduce changes after code review
      
      ---
      Commit 2195db6d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused flag: xla_hlo_graph_for_compute_constant
      
      PiperOrigin-RevId: 161686867
      
      ---
      Commit a72fc31b authored by Martin Wicke<martin.wicke@gmail.com>
      Committed by Martin Wicke<martin.wicke@gmail.com>:
      Remove tabs. Unassign contrib/framework.
      ---
      Commit 6e74bd65 authored by Martin Wicke<martin.wicke@gmail.com>
      Committed by Martin Wicke<martin.wicke@gmail.com>:
      Add CODEOWNERS
      
      Added what we know about contrib mainly, and some well-separated components.
      ---
      Commit de546d06 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BUILD cleanup in tensorflow/compiler/...
      
      PiperOrigin-RevId: 161679855
      
      ---
      Commit 576c7b1e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 161218103
      
      PiperOrigin-RevId: 161868747
      a0ffaf3c
  14. 11 7月, 2017 1 次提交
    • S
      Merge changes from github. · 90d6421c
      Shanqing Cai 提交于
      END_PUBLIC
      
      ---
      Commit d0f53f77 authored by Penghao Cen<scorpiocph@gmail.com>
      Committed by Shanqing Cai<cais@google.com>:
      Minor fix typo (#11323)
      
      ---
      Commit 02fcf564 authored by Chris Song<sjhshy@gmail.com>
      Committed by Chris Song<sjhshy@gmail.com>:
      Fix misspells.
      
      ---
      Commit 764c9b6b authored by Louis Tiao<ltiao@users.noreply.github.com>
      Committed by GitHub<noreply@github.com>:
      Fixed typo in docstring
      ---
      Commit f8cd1283 authored by Shanqing Cai<cais@google.com>
      Committed by Shanqing Cai<cais@google.com>:
      Chaser
      
      ---
      Commit 01383b94 authored by Shanqing Cai<cais@google.com>
      Committed by Shanqing Cai<cais@google.com>:
      Adapt TensorFlowTestCase.setUp() to new reset_default_graph() semantics
      
      Avoid calling reset_default_graph() directly to prevent exceptions in
      cases where test methods error out from within nested graph contexts,
      which can leave _default_graph_stack non-empty in certain Python
      versions.
      
      ---
      Commit 0ffc3789 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Removing second declaration of functions.
      
      ---
      Commit f9c9cacb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Refactor ElementalIrEmitter's slice index finding code into
      IrArray::Index::SourceIndexOfSlice().
      
      PiperOrigin-RevId: 161140653
      
      ---
      Commit ba297aec authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 161138258
      
      ---
      Commit 68d66673 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixes a reentrant lock issue with tensors using ndarray memory which uses tensor memory.
      
      PiperOrigin-RevId: 161137788
      
      ---
      Commit a2ee8bca authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add support for int8 x int8 -> int32 matrix multiplication via cublasGemmEx to stream_executor.
      
      PiperOrigin-RevId: 161137741
      
      ---
      Commit 755fa7b5 authored by Mark Daoust<markdaoust@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Block generate_test, and docs generating from running in python3.
      
      - Doc generation is currently unsupported in python3
      
      - These both end in errors in python 3.5.1+
      
      PiperOrigin-RevId: 161137467
      
      ---
      Commit 97cbcac4 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Fix failure in functionalize_control_flow rewrite for Enter nodes that are unused. Make sure we ignore such nodes without producing an error.
      
      PiperOrigin-RevId: 161136545
      
      ---
      Commit dabcb60b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add reasonable error messages to Builder::Build for bad parameter numbers.
      
      PiperOrigin-RevId: 161136262
      
      ---
      Commit 0cbd249e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add complex tensors support to `matrix_determinant`.
      
      PiperOrigin-RevId: 161132422
      
      ---
      Commit 335f1f14 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Extend static shape inference for SparseTensors with dense_shapes constructed using slicing.
      
      PiperOrigin-RevId: 161132391
      
      ---
      Commit 53604916 authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixed the missing labels test in TPUEstimator.
      
      PiperOrigin-RevId: 161131282
      
      ---
      Commit 9f57dc8d authored by Bruno Rosa<bruno.rosa@eldorado.org.br>
      Committed by Bruno Rosa<bruno.rosa@eldorado.org.br>:
      Use mcpu instead of march for ppc64le
      
      march is not support by gcc on ppc64le
      
      ---
      Commit 7d5c74a9 authored by Skye Wanderman-Milne<skyewm@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Move duplicate detection logic from Graph to FunctionLibraryDefinition
      
      Turns out this is more useful, since there are many function libraries
      that don't belong to a graph. This will be used in a future
      change. Note that this maintains the current behavior of Graph.
      
      In addition, updates FunctionDefsEqual() to handle unset attr entries
      (I ran into this when using this in said future change).
      
      PiperOrigin-RevId: 161126628
      
      ---
      Commit 2caec3af authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Disable more timeseries py tests failing in OSS PIP GPU builds
      
      PiperOrigin-RevId: 161124799
      
      ---
      Commit 0b5cce36 authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Get TopK op working on GPU again.  Extend using cub's radix sort.
      
      1. Undo rollback of Andreas Kirsch's initial implementation.
      2. Use cub segmented radix sort if Andreas' heap-based impl
         for large k and small num_cols (thresholds of k=100, n=1000
         determined empirically).
      3. Use cub segmented radix sort if k == num_cols (this case is always faster).
      4. Added benchmarks.
      
      Benchmarks show that the GPU implementation is up to 3x slower for small k but
      can be 10x faster for large num_cols and k.
      
      Benchmarks:
      
      Benchmark: m_128_n_10_k_5_use_gpu_False          wall_time: 0.000166 s   Throughput: 0.0077 GB/s
      Benchmark: m_128_n_10_k_5_use_gpu_True   wall_time: 0.000796 s   Throughput: 0.00161 GB/s
      Benchmark: m_128_n_10_k_9_use_gpu_False          wall_time: 0.00017 s    Throughput: 0.00751 GB/s
      Benchmark: m_128_n_10_k_9_use_gpu_True   wall_time: 0.000796 s   Throughput: 0.00161 GB/s
      Benchmark: m_128_n_10_k_10_use_gpu_False         wall_time: 0.00017 s    Throughput: 0.00753 GB/s
      Benchmark: m_128_n_10_k_10_use_gpu_True          wall_time: 0.000775 s   Throughput: 0.00165 GB/s
      Benchmark: m_128_n_100_k_1_use_gpu_False         wall_time: 0.000155 s   Throughput: 0.0826 GB/s
      Benchmark: m_128_n_100_k_1_use_gpu_True          wall_time: 0.000796 s   Throughput: 0.0161 GB/s
      Benchmark: m_128_n_100_k_50_use_gpu_False        wall_time: 0.000247 s   Throughput: 0.0519 GB/s
      Benchmark: m_128_n_100_k_50_use_gpu_True         wall_time: 0.0008 s     Throughput: 0.016 GB/s
      Benchmark: m_128_n_100_k_99_use_gpu_False        wall_time: 0.000261 s   Throughput: 0.049 GB/s
      Benchmark: m_128_n_100_k_99_use_gpu_True         wall_time: 0.000794 s   Throughput: 0.0161 GB/s
      Benchmark: m_128_n_100_k_100_use_gpu_False       wall_time: 0.000239 s   Throughput: 0.0536 GB/s
      Benchmark: m_128_n_100_k_100_use_gpu_True        wall_time: 0.000777 s   Throughput: 0.0165 GB/s
      Benchmark: m_128_n_1000_k_1_use_gpu_False        wall_time: 0.000324 s   Throughput: 0.395 GB/s
      Benchmark: m_128_n_1000_k_1_use_gpu_True         wall_time: 0.000916 s   Throughput: 0.14 GB/s
      Benchmark: m_128_n_1000_k_10_use_gpu_False       wall_time: 0.00042 s    Throughput: 0.305 GB/s
      Benchmark: m_128_n_1000_k_10_use_gpu_True        wall_time: 0.000902 s   Throughput: 0.142 GB/s
      Benchmark: m_128_n_1000_k_500_use_gpu_False      wall_time: 0.0011 s     Throughput: 0.116 GB/s
      Benchmark: m_128_n_1000_k_500_use_gpu_True       wall_time: 0.00097 s    Throughput: 0.132 GB/s
      Benchmark: m_128_n_1000_k_990_use_gpu_False      wall_time: 0.00133 s    Throughput: 0.0962 GB/s
      Benchmark: m_128_n_1000_k_990_use_gpu_True       wall_time: 0.000993 s   Throughput: 0.129 GB/s
      Benchmark: m_128_n_1000_k_1000_use_gpu_False     wall_time: 0.00102 s    Throughput: 0.126 GB/s
      Benchmark: m_128_n_1000_k_1000_use_gpu_True      wall_time: 0.000964 s   Throughput: 0.133 GB/s
      Benchmark: m_128_n_10000_k_10_use_gpu_False      wall_time: 0.002 s      Throughput: 0.64 GB/s
      Benchmark: m_128_n_10000_k_10_use_gpu_True       wall_time: 0.00288 s    Throughput: 0.445 GB/s
      Benchmark: m_128_n_10000_k_100_use_gpu_False     wall_time: 0.00233 s    Throughput: 0.549 GB/s
      Benchmark: m_128_n_10000_k_100_use_gpu_True      wall_time: 0.00325 s    Throughput: 0.394 GB/s
      Benchmark: m_128_n_10000_k_5000_use_gpu_False    wall_time: 0.0127 s     Throughput: 0.101 GB/s
      Benchmark: m_128_n_10000_k_5000_use_gpu_True     wall_time: 0.00381 s    Throughput: 0.336 GB/s
      Benchmark: m_128_n_10000_k_9900_use_gpu_False    wall_time: 0.015 s      Throughput: 0.0853 GB/s
      Benchmark: m_128_n_10000_k_9900_use_gpu_True     wall_time: 0.00438 s    Throughput: 0.292 GB/s
      Benchmark: m_128_n_10000_k_10000_use_gpu_False   wall_time: 0.0104 s     Throughput: 0.123 GB/s
      Benchmark: m_128_n_10000_k_10000_use_gpu_True    wall_time: 0.00427 s    Throughput: 0.3 GB/s
      Benchmark: m_128_n_100000_k_100_use_gpu_False    wall_time: 0.0148 s     Throughput: 0.865 GB/s
      Benchmark: m_128_n_100000_k_100_use_gpu_True     wall_time: 0.0262 s     Throughput: 0.488 GB/s
      Benchmark: m_128_n_100000_k_1000_use_gpu_False   wall_time: 0.0201 s     Throughput: 0.636 GB/s
      Benchmark: m_128_n_100000_k_1000_use_gpu_True    wall_time: 0.0263 s     Throughput: 0.486 GB/s
      Benchmark: m_128_n_100000_k_50000_use_gpu_False          wall_time: 0.214 s      Throughput: 0.0599 GB/s
      Benchmark: m_128_n_100000_k_50000_use_gpu_True   wall_time: 0.0322 s     Throughput: 0.398 GB/s
      Benchmark: m_128_n_100000_k_99000_use_gpu_False          wall_time: 0.262 s      Throughput: 0.0489 GB/s
      Benchmark: m_128_n_100000_k_99000_use_gpu_True   wall_time: 0.0377 s     Throughput: 0.34 GB/s
      Benchmark: m_128_n_100000_k_100000_use_gpu_False         wall_time: 0.118 s      Throughput: 0.108 GB/s
      Benchmark: m_128_n_100000_k_100000_use_gpu_True          wall_time: 0.0365 s     Throughput: 0.351 GB/s
      
      END_PUBLIC
      
      BEGIN_PUBLIC
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 157169178
      
      PiperOrigin-RevId: 161476569
      90d6421c
  15. 28 6月, 2017 1 次提交
  16. 27 6月, 2017 2 次提交
    • A
      Automated g4 rollback of changelist 160182040 · 1fa73c53
      A. Unique TensorFlower 提交于
      PiperOrigin-RevId: 160190881
      1fa73c53
    • A
      Merge changes from github. · f3c89936
      A. Unique TensorFlower 提交于
      END_PUBLIC
      
      Note: this CL will break builds.  cl/159887762 to follow to fix all the breakages.
      
      ---
      Commit 2336cdf7 authored by Maxwell Paul Brickner<mbrickn@users.noreply.github.com>
      Committed by gunan<gunan@google.com>:
      Updated link to use HTTPS (#10998)
      
      Howdy!
      
      I just updated a link to use https instead of http.
      
      Thanks!
      ---
      Commit ad0892df authored by Luke Iwanski<luke@codeplay.com>
      Committed by Luke Iwanski<luke@codeplay.com>:
      [OpenCL] Fixes run_metadata_test for SYCL
      
       This test is designed to test CUDA specific behavior
      
      ---
      Commit 6b37a072 authored by Todd Wang<toddwang@gmail.com>
      Committed by GitHub<noreply@github.com>:
      Update comments
      ---
      Commit 1699d904 authored by John Lawson<john@codeplay.com>
      Committed by Luke Iwanski<luke@codeplay.com>:
      [OpenCL] Fixes CUDA specific test run on SYCL (#56)
      
      The testBadParentValuesOnGPU should only be run on CUDA devices, as the
      test checks for particular CUDA behaviour. We don't actually provide a
      SYCL kernel for GatherTree and so it's not a problem that the tests
      don't target SYCL.
      ---
      Commit 3c194623 authored by myPrecious<Moriadry@users.noreply.github.com>
      Committed by Shanqing Cai<cais@google.com>:
      Java API to get the size of specified input list of operations. (#10865)
      
      * Java API to get the size of specified input list of operations
      
      * remove unnecessary explain to avoid bring a new term to users.
      
      ---
      Commit e911c748 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Luke Iwanski<luke@codeplay.com>:
      [OpenCL] REGISTER -> REGISTER6
      
      ---
      Commit fbf6c4ce authored by superryanguo<superryanguo@gmail.com>
      Committed by superryanguo<superryanguo@gmail.com>:
      Simplify the Quickstart section with the weblink is better
      
      ---
      Commit 72e2918c authored by Taehoon Lee<taehoonlee@snu.ac.kr>
      Committed by Taehoon Lee<taehoonlee@snu.ac.kr>:
      Fix typos
      
      ---
      Commit 90c4406b authored by Rishabh Patel<patelrishabh@users.noreply.github.com>
      Committed by GitHub<noreply@github.com>:
      Correct the learning rate as per the code snippet
      ---
      Commit 03da6113 authored by Todd Wang<toddwang@gmail.com>
      Committed by GitHub<noreply@github.com>:
      Update ir_array.cc
      ---
      Commit 2df6cd3a authored by Todd Wang<toddwang@gmail.com>
      Committed by GitHub<noreply@github.com>:
      Another try
      ---
      Commit af0cbace authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Transpose to go through Eigen (#10321)
      
      ---
      Commit fc736108 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Registers RGBToHSV and HSVToRGB (#91) (#10848)
      
      * [OpenCL] Added RGBToHSV and HSVToRGB
      
      * Aligning '\'
      ---
      Commit 832894ef authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Registers AdjustContrastv2 (#10949)
      
      * [OpenCL] Registers AdjustContrastv2 (#93)
      
      * [OpenCL] Extended adjust_contrast_op_benchmark_test for OpenCL (#96)
      
      * [OpenCL] Extended adjust_contrast_op_benchmark_test for OpenCL
      
      * simplified to #ifndef
      
      * Changed to "#if GOOGLE_CUDA"
      
      * Update adjust_contrast_op_benchmark_test.cc
      
      * Added comments
      
      ---
      Commit cb4c2f8d authored by Yifei Feng<yifeif@google.com>
      Committed by Yifei Feng<yifeif@google.com>:
      Make TransferBufferToInFeed not virual so it compiles.
      
      ---
      Commit e89f04d8 authored by Yifei Feng<yifeif@google.com>
      Committed by Yifei Feng<yifeif@google.com>:
      Fix calling Literal member functions.
      
      ---
      Commit 15a8df72 authored by Yifei Feng<yifeif@google.com>
      Committed by Yifei Feng<yifeif@google.com>:
      Fix mac build
      clone from meheff's change:
      [XLA] Change return type of DeviceAssignment::Deserialize to fix build
      breakage on mac.
      The mac build had the following error:
      
      error: incomplete type 'xla::DeviceAssignment' used in type trait
      expression
      
      This was due to a static method returning a StatusOr<DeviceAssignment>
      inside of the definition of DeviceAssignment.
      
      ---
      Commit a54d43fa authored by Yifei Feng<yifeif@google.com>
      Committed by Yifei Feng<yifeif@google.com>:
      Replace LiteralUtil to Literal in compiler/plugin/executor
      
      ---
      Commit 88a6bb80 authored by Guenther Schmuelling<guschmue@microsoft.com>
      Committed by Guenther Schmuelling<guschmue@microsoft.com>:
      expand inline for debug builds to limit number of symbols
      
      ---
      Commit 62fb49d3 authored by Yifei Feng<yifeif@google.com>
      Committed by Yifei Feng<yifeif@google.com>:
      Fix visibility error for contrib/remote_fused_graph/pylib/BUILD.
      
      ---
      Commit 4c75252f authored by Mark Neumann<markn@allenai.org>
      Committed by Mark Neumann<markn@allenai.org>:
      fix initial test values to avoid numerical instability
      
      ---
      Commit b58d9835 authored by sj6077<epik03sj@gmail.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      Fixes of AutoParallel bug (#10368)
      
      * Fix the bug that auto_parallel could replicate variable snapshot name
      
      * Use NodeName in grappler:utils instead of substr, convert variables->variable_def of grappler item
      
      * remove variable_def from grappler item, exclude snapshot nodes from dont_replicate_nodes in auto_parallel
      
      ---
      Commit a286b7db authored by Yifei Feng<yifeif@google.com>
      Committed by Yifei Feng<yifeif@google.com>:
      Make debug_test slice integer.
      
      ---
      Commit 97fcfdfa authored by Toby Boyd<tobyboyd@google.com>
      Committed by GitHub<noreply@github.com>:
      Fixed path to seq2seq.py and minor formatting
      ---
      Commit 63c1befb authored by Anish Shah<shah.anish07@gmail.com>
      Committed by Anish Shah<shah.anish07@gmail.com>:
      Improve docs for tf.nn.depthwise_conv2d_native
      
      ---
      Commit 8d42202b authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Yong Tang<yong.tang.github@outlook.com>:
      Fix mismatched delete in mkl_tfconv_op.cc
      
      This fix fixes mismatched new[]-delete in mkl_tfconv_op.cc
      
      (the file went through clang-format so there are some additional
      changes)
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      
      ---
      Commit 26301bd5 authored by Danny Goodman<goodman.danny@gmail.com>
      Committed by Danny Goodman<goodman.danny@gmail.com>:
      fix error format
      
      ---
      Commit b3f33ad4 authored by Yao Zhang<yaozhang@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make changes to prepare for the fused option of batch norm to be set to None (None means using fused batch norm if possible).
      
      PiperOrigin-RevId: 159649743
      
      ---
      Commit a4a46983 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add tests for select ops and while loops that produce tuples that contain predicates.
      
      PiperOrigin-RevId: 159645900
      
      ---
      Commit 980d3f2b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use C API to implement Operation.name property
      
      This name property is used in many existing tests including those that
      already run with C API enabled (math_ops_test, framework_ops_test,
      session_test, session_partial_run_test, math_ops_test_gpu, etc).
      
      PiperOrigin-RevId: 159645767
      
      ---
      Commit 26239c70 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Previously we didn't have an implementation of BatchNormInference and BatchNormTraining, which gives a linker error if anyone ever tries to call that. A dummy implementation is friendlier than a linker error.
      
      PiperOrigin-RevId: 159645612
      
      ---
      Commit f671c5ca authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 159570549
      
      PiperOrigin-RevId: 160182040
      f3c89936
  17. 10 6月, 2017 1 次提交
    • J
      Merge changes from github. · 1b5235fd
      Jonathan Hseu 提交于
      END_PUBLIC
      
      ---
      Commit f0e185d1 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Better handle nodes with a variable number of outputs
      
      PiperOrigin-RevId: 158435028
      
      ---
      Commit bc3e2080 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused BUILD dependencies
      
      PiperOrigin-RevId: 158431059
      
      ---
      Commit a0c80e4d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Delete unnecessary (mistakenly duplicated) logging message.
      
      PiperOrigin-RevId: 158428506
      
      ---
      Commit b6ad1d74 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds DNN-only tests for DNNLinearCombinedClassifier.
      
      PiperOrigin-RevId: 158423119
      
      ---
      Commit ddbb5803 authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unnecessary pylint disable
      
      PiperOrigin-RevId: 158416140
      
      ---
      Commit fcaa724e authored by Luke Iwanski<luke@codeplay.com>
      Committed by gunan<gunan@google.com>:
      [OpenCL] Cleans pack and unpack ops (#10336)
      
      * [OpenCL] Cleans pack op
      
      * [OpenCL] Cleans unpack op
      
      ---
      Commit 2f53cacb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix a test failure of quantization_utils_test on ASAN
      
      PiperOrigin-RevId: 158414538
      
      ---
      Commit 50b2f951 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 158413455
      
      ---
      Commit 1e90b78e authored by Brennan Saeta<saeta@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add CacheDataset ops.
      
      Some input pipelines may pull down data from remote webservers or perform
      expensive processing. In order to avoid extraneous work, we now support
      caching the dataset (e.g. on disk).
      
      PiperOrigin-RevId: 158411901
      
      ---
      Commit e16cd2ed authored by Taehoon Lee<taehoonlee@snu.ac.kr>
      Committed by gunan<gunan@google.com>:
      Fix typos (#10533)
      
      ---
      Commit 50d80ddf authored by Jonathan Hseu<jhseu@google.com>
      Committed by Jonathan Hseu<jhseu@google.com>:
      Fix fft_ops_test.py for CPU
      
      ---
      Commit d35cbbb4 authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add weight-column support to the heads.
      
      PiperOrigin-RevId: 158409180
      
      ---
      Commit 7fb52cd5 authored by Justin Lebar<jlebar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Don't crash when displaying XLA metrics if they happen to be negative.
      
      PiperOrigin-RevId: 158407664
      
      ---
      Commit 12a7a752 authored by Jianfei Wang<me@thinxer.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Add a tip for tf.train.LoggingTensorHook (#10237)
      
      `INFO` logs are not printed by default unless in IPython. Add a friendly tip for newcomers.
      ---
      Commit 216dcbf1 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      [OpenCL] Cleans reduction ops (#10340)
      
      * [OpenCL] Cleans reduction_ops_max.cc
      
      * [OpenCL] Cleans reduction_ops_mean.cc
      
      * [OpenCL] Cleans reduction_ops_min.cc
      
      * [OpenCL] Cleans reduction_ops_prod.cc
      
      * [OpenCL] Cleans reduction_ops_sum.cc
      
      ---
      Commit 2b351062 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Improve docs for selective registration headers (#10351)
      
      * Improve docs for selective registration headers
      
      progressing #10299
      
      * Update print_selective_registration_header.py
      
      * Mention both flags
      
      -DSELECTIVE_REGISTRATION and -DSUPPORT_SELECTIVE_REGISTRATION
      
      ---
      Commit ee919510 authored by Yun Peng<pcloudy@google.com>
      Committed by gunan<gunan@google.com>:
      Re-enable some python tests in Windows Bazel build (#10526)
      
      ---
      Commit b0e88145 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by gunan<gunan@google.com>:
      [Bash] Declare and assign separately (#10509)
      
      As proposed by static analysis tool:
      https://github.com/koalaman/shellcheck/wiki/SC2155
      ---
      Commit 284901b0 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by gunan<gunan@google.com>:
      [Bash] Remove unquoting quotes (#10506)
      
      As proposed by static analysis tool:
      https://github.com/koalaman/shellcheck/wiki/SC2027
      ---
      Commit 2a1f1155 authored by ksellesk<zhengdachuan200305@gmail.com>
      Committed by ksellesk<zhengdachuan200305@gmail.com>:
      Fix AttributeError in resnet.py
      
      There is no function tf.softmax() in Tensorflow 1.x.
      
      When running the old code, Python interpreter complains:
      
      File "resnet.py", line 152, in res_net_model
      prediction, loss = res_net(x, y)
      File "resnet.py", line 148, in res_net
      return tf.softmax(logits), loss
      AttributeError: 'module' object has no attribute 'softmax'
      
      ---
      Commit 1d68f729 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unneeded BUILD dependency
      
      PiperOrigin-RevId: 158391996
      
      ---
      Commit 08ed32db authored by Yun Peng<pcloudy@google.com>
      Committed by gunan<gunan@google.com>:
      Windows: Make TensorFlow build without --cpu=x64_windows_msvc (#10466)
      
      * Windows: Make TensorFlow build without --cpu=x64_windows_msvc
      
      Since from Bazel 0.5.0, MSVC toolchain became the default toolchain on
      Windows. So --cpu=x64_windows_msvc is not required as long as we adjust
      the BUILD files in TensorFlow.
      
      --cpu=x64_windows_msvc is also supported for now, but is depracated.
      The configuration for cpu value x64_windows_msvc is a duplicate of
      x64_windows, which should be removed in the future.
      
      * Fix breakage on macOS
      
      ---
      Commit 02dbe153 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by gunan<gunan@google.com>:
      [Bash] Simplify Conditional (#10503)
      
      ---
      Commit c07bc581 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by gunan<gunan@google.com>:
      [Bash] Prefer read -a to split path (#10508)
      
      As proposed by static analysis tool:
      https://github.com/koalaman/shellcheck/wiki/SC2207
      ---
      Commit 0a389674 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by gunan<gunan@google.com>:
      [Bash] Prefer [ p ] && [ q ] over [ p -a q ] (#10507)
      
      As proposed by static analysis tool:
      https://github.com/koalaman/shellcheck/wiki/SC2166
      ---
      Commit 87a008ec authored by Jonathan Hseu<vomjom@vomjom.net>
      Committed by gunan<gunan@google.com>:
      Delete non-deterministic testEmpty() test (#10512)
      
      ---
      Commit 3a2971bd authored by Frank Chen<frankchn@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds the base for ClusterResolvers, a new way of communicating with and retrieving cluster information for running distributed TensorFlow.
      
      Implementations of this class would eventually allow users to simply point TensorFlow at a cluster management endpoint, and TensorFlow will automatically retrieve the host names/IPs and port numbers of TensorFlow workers from the cluster management service.
      
      PiperOrigin-RevId: 158358761
      
      ---
      Commit 28b4e7f0 authored by Jonathan Hseu<vomjom@vomjom.net>
      Committed by gunan<gunan@google.com>:
      Disable stage_op_test and map_stage_op_test (#10516)
      
      ---
      Commit 390e57a7 authored by Yan (Asta) Li<yanastali@users.noreply.github.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      Check EIGEN_MAX_ALIGN_BYTES to prevent mod-by-0 (#10380)
      
      * Check EIGEN_MAX_ALIGN_BYTES to prevent mod-by-0
      
      If EIGEN_MAX_ALIGN_BYTES is set to 0, alignment checks that mod by EIGEN_MAX_ALIGN_BYTES fail at runtime.
      
      * Returns true, as in tensorflow/core/framework/tensor.h
      * Update unit tests
      
      * Enable tests only if EIGEN_MAX_ALIGN_BYTES > 0
      
      ---
      Commit cd5ac40b authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Update LLVM to upstream revision r304927.
      Add LLVM build rules for the LLVM AMDGPU backend, commented out by default. Fixes issue #10437.
      
      PiperOrigin-RevId: 158351480
      
      ---
      Commit 91cb809b authored by David Norman<DavidNorman@users.noreply.github.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      [XLA] Add ability to run the XLA unit tests against a different device (#9759)
      
      * Add ability to run the XLA unit tests against a different device
      
      * Allow for multiple extra backend devices
      
      * Correct merge error
      
      * Include options for additional tags
      
      ---
      Commit aff4d124 authored by Yuxin Wu<ppwwyyxxc@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Compare base_dtype instead of dtype in piecewise_constant (#10280)
      
      * Compare base_dtype instead of dtype in piecewise_constant
      
      Compare base_dtype instead of dtype in piecewise_constant. Fix #10086
      
      * add unit test
      
      * Small lint fix and comment
      
      ---
      Commit 845539f9 authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add evaluation test for linear classifier (n==2 or n >2).
      
      PiperOrigin-RevId: 158340296
      
      ---
      Commit 7c46214a authored by Jonathan Hseu<vomjom@vomjom.net>
      Committed by GitHub<noreply@github.com>:
      Fix numpy 1.13 incompatibilities (#10501)
      
      * Fix numpy 1.13 incompatibilities
      
      * Skip tests with numpy 1.13.0
      
      ---
      Commit 4572c41d authored by gunan<gunan@google.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      A few changes to kernel_tests. (#10502)
      
      * Disable reader_ops_test on windows.
      
      * Run buildifier on kernel_tests/BUILD
      
      * Mark map_stage_op_test as large.
      
      * Set the size of stage_op_test to large
      
      ---
      Commit 892293d9 authored by Brennan Saeta<saeta@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Set a default for datasets end_of_sequence.
      
      While all datasets carefully set the end_of_sequence to true at the
      appropriate time, some datasets might forget to set it to false in the normal
      case. In order to avoid potential undefined behavior, we set the
      end_of_sequence variable to be false by default.
      
      PiperOrigin-RevId: 158337799
      
      ---
      Commit 187404ea authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Setup the env to since ops such as MatchFileOp rely on it.
      
      PiperOrigin-RevId: 158336344
      
      ---
      Commit 2741561c authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix up vz_projector script structure
      
      We now make sure scripts and HTML imports are declared in the correct
      places. In the future, pedantically listing script tags should not be
      necessary.
      
      PiperOrigin-RevId: 158334306
      
      ---
      Commit beeaade4 authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Resubmit a reverted change. Original description:
      
      [XLA] Enable HloEvaluator for constant folding, also merged a few operations
      from hlo_constant_folding to hlo_evaluator.
      
      Additionally:
      - In ShapeUtil::ForEachIndex:
          * fix a bug where visitor is called when the shape has zero elements (e.g., F32{1,0})
          * added test case for ForEachIndex.
      
      - In HloEvaluator:
          * Instead of copying and caching a Constant instruction, return the literal directly if the instruction is constant.
          * Fix an issue where TUPLE and OPAQUE primitives are not keyed in the templated typed_visitor.
          * Use (fixed) LiteralUtil::Populate to populate resulting literal, fixes the preexisting bug in the evaluator where R0 and shape with zero size dimensions are not handled.
          * Refactor ElementWiseUnaryOp and HandleCompare to be templatized on the operand's type.
          * Refactor IsFinite to be top level since it is only applicable to floats and the return type is always boolean.
          * Change from std::remainder to std::fmod for kRemainder to be compliant with existing XLA behavior.
          * Change from std::max and std::min to std::fmax and std::fmin to handle NaNs.
          * Minor comments fix.
      
      PiperOrigin-RevId: 158330052
      
      ---
      Commit b94540e6 authored by Toby Boyd<tobyboyd@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      tf.layers.conv2d use_bias=True to use nn.bias_add
      
      PiperOrigin-RevId: 158326493
      
      ---
      Commit 379aa991 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: 158325855
      
      ---
      Commit 4e529f0f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 158325293
      
      ---
      Commit 0a9d2dac authored by Yuefeng Zhou<yuefengz@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add a util function in virtual placer to return canonicalized device string, which can be used to fix the node's device field before passing them to the maxcut algorithm.
      
      PiperOrigin-RevId: 158322753
      
      ---
      Commit 2d8da1d9 authored by Daniel Ylitalo<daniel@blodan.se>
      Committed by gunan<gunan@google.com>:
      Recognize CPU core count in FreeBSD (#10490)
      
      ---
      Commit c19e6cac authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Initial implementation of TensorArray ops.
      
      The XLA implementation of TensorArrays is more restrictive than regular TensorArrays:
      * XLA TensorArrays must have dynamic_size=False.
      * all elements in an XLA TensorArray must have the same shape.
      * writes always add their values to any existing values; neither reads nor writes ever issue errors. Out-of-bounds writes currently wrap.
      
      Refactor Variable handling in the TF/XLA bridge. Use a XlaVariable* to refer to variables inside compilation rather than a numerical ID. Allow for variables that don't correspond to variables known to the user. Also use XlaVariable to handle TensorArrays.
      
      PiperOrigin-RevId: 158322041
      
      ---
      Commit b5e8d308 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Refactor randomized tests to allow testing of larger inputs without running out of memory.
      
      PiperOrigin-RevId: 158321431
      
      ---
      Commit 5d90bbaa authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Disable constant_folding in test base, so that intended test code paths
      would not be elided by constant_folding pass.
      
      PiperOrigin-RevId: 158317641
      
      ---
      Commit 036ce8ba authored by Luke Iwanski<luke@codeplay.com>
      Committed by gunan<gunan@google.com>:
      [OpenCL] Cleans dense_update_ops (#10335)
      
      * [OpenCL] Cleans dense_update_ops
      
      * Acts on feedback from: #10335#discussion_r120536460
      
      ---
      Commit 85f96812 authored by Luke Iwanski<luke@codeplay.com>
      Committed by gunan<gunan@google.com>:
      [OpenCL] Cleans cast operation (#10330)
      
      * [OpenCL] Removes not needed typedef for SYCLDevice
      
      * [OpenCL] Fixes formatting
      
      * [OpenCL] use SYCLDevice for int32 cast case
      
      ---
      Commit bff5e72d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix typo.
      
      PiperOrigin-RevId: 158310742
      
      ---
      Commit 38249d6b authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Swap the order of NanTensorHook and custom hooks
      
      to ensure that when the training encounteres NaN's in the loss function, user-supplied hooks such as tf_debug.LocalCLIDebugHook can still be used to debug the root cause of the numeric issues.
      
      PiperOrigin-RevId: 158310249
      
      ---
      Commit 599727c6 authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Propagate debug option flags to hlo_test_base.
      
      Specific HLO tests have to replace the generic test_main target with a manual
      main() that invokes RUN_ALL_TESTS.
      
      To get access to a module with debug options set up, a new convenience method
      is created on HloTestBase.
      
      Initially algebraic_simplifier_test is modified as a canary; in a followup
      we'll convert all HLO tests to this approach.
      
      PiperOrigin-RevId: 158309488
      
      ---
      Commit 0770393e authored by Eric Liu<ioeric@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [Tensorboard] Add a trace viewer component to TensorBoard.
      
      We make the trace viewer a separate app; otherwise, there would be dependency
      conflicts (e.g. Polymer) between the trace viewer app and the tensorboard app.
      The trace viewer app would be served by a plugin, and Tensorboard dashboard will integrate trace viewer app using iframe in the
      future.
      
      This CL also added "mominify" support for link import HTML tags in the
      tensorboard home-grown java vulnizer; otherwise, the vulcanized trace viewer code
      would crash the java vulcanizer.
      
      For open-source build, we add a denpendency on the Catapult github repository
      (https://github.com/catapult-project/catapult/tree/master/tracing). We use a bazel genrule to vulcanize a trace viewer binary which is then used in the
      tf-trace-viewer component.
      
      PiperOrigin-RevId: 158309408
      
      ---
      Commit 85e83220 authored by RJ Ryan<rjryan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Support unknown emit shapes in tf.nn.raw_rnn.
      
      PiperOrigin-RevId: 158308002
      
      ---
      Commit edb5fed7 authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add label-vocab support to binary logistic head.
      Add assertion that binary classifier label is in range [0., 1.]
      Fixed Classifier Integration tests.
      
      PiperOrigin-RevId: 158307521
      
      ---
      Commit f8e1cf8f authored by Justine Tunney<jart@google.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Open up visibility of tf_imports (#10500)
      
      This also fixes the definition of Clutz.
      ---
      Commit 9fd7cf05 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      [OpenCL] Cleans relu ops (#10343)
      
      * [OpenCL] register relu ops to gpu types (no half)
      
      * [OpenCL] Removes #undef EIGEN_USE_SYCL
      
      ---
      Commit 09c1455e authored by Luke Iwanski<luke@codeplay.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      [OpenCL] Cleans reverse_op.cc (#10346)
      
      ---
      Commit b7892a30 authored by orome<royl@aldaron.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Clarify tf.matmul documentation (#10381)
      
      * Update math_ops.py
      
      * Fix non-ascii character
      
      ---
      Commit 9786b706 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Cleans StridedSlice Op (#10314)
      
      * [OpenCL] Cleans StridedSlice Op
      
      * [OpenCL] Removes half from registred types
      
      ---
      Commit f105df04 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      In the CUDA path of depthwise_conv2d, optimize backward filter convolution for images 2 or 4 times smaller than 16x16. Also initialize in_cols from blockDim, to fix the regression caused in CL 157906773.
      
      PiperOrigin-RevId: 158296136
      
      ---
      Commit 492afc2e 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: 158295169
      
      ---
      Commit abe0877e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add bazel version check to .configure
      
      PiperOrigin-RevId: 158294569
      
      ---
      Commit b702e7e7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 158294289
      
      ---
      Commit 94085bee authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Replace std::function object with regular function.
      
      The function is called recursively, and the std::function object had only existed to allow recursion from within a lambda expression. A regular function should be cheaper than a polymorphic function wrapper.
      
      PiperOrigin-RevId: 158292415
      
      ---
      Commit ba656b26 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use template specialization instead of overloaded methods. This is a more appropriate tool here. NFC
      
      PiperOrigin-RevId: 158292035
      
      ---
      Commit 55f98769 authored by Yutaka Leon<yleon@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
        Make tf.contrib.lookup  python functions use the kernels v2 that uses the resource tensor as handler.
      
      PiperOrigin-RevId: 158291836
      
      ---
      Commit ebae3deb authored by Wei Ho<weiho@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Switch back to max_num_rows_to_load instead of reading slice by slice due to performance regression from network overhead.
      
      Add check when using initializing values to avoid seg fault
      
      PiperOrigin-RevId: 158291218
      
      ---
      Commit 7b4c0179 authored by RJ Ryan<rjryan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Support numpy-style padding and slicing of tf.spectral.rfft/irfft to match the desired FFT length.
      
      Fixes incorrect RFFT/IRFFT results when fft_length does not match the input dimension.
      
      PiperOrigin-RevId: 158289991
      
      ---
      Commit fdb8e293 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update iOS examples to use CocoaPods, and moved to tensorflow/examples/ios
      
      PiperOrigin-RevId: 158289285
      
      ---
      Commit d86167b5 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Merging rc2 back into master.
      
      ---
      Commit dffea202 authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Clean up some code after previous CL
      
      PiperOrigin-RevId: 158282834
      
      ---
      Commit 7b5302af authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds ability to set a "family" attribute in Tensorflow summaries, which
      controls the "tab name" of the summary that is displayed.
      
      This solution keeps using name_scope to keep names unique, but then prefixes the tag with the family name if provided.
      
      PiperOrigin-RevId: 158278922
      
      ---
      Commit 611c82b5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds integration test for DNNLinearCombined((Classifier)|(Regressor)).
      
      PiperOrigin-RevId: 158278512
      
      ---
      Commit cc6c91a9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove a further unused proto header inclusion
      
      PiperOrigin-RevId: 158278026
      
      ---
      Commit 9f17c26c authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add HloLocation to dataflow analysis.
      Add an HloLocation abstraction to dataflow analysis which indicates where (in the output of what instruction and at which index) an HloValue may appear. Previously only uses were stored with an HLO value where a use is an edge in the HLO graph (instruction, operand number and ShapeIndex).
      
      Also, change the handling of tuple-shaped kSelect instructions when ssa_form is true. Previously a phi value would be created. With this change the the value set instead contains the union of it's inputs identical to the ssa_form=false case.
      
      PiperOrigin-RevId: 158276598
      
      ---
      Commit b9d5e144 authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Start collecting flags for debug options in a single place.
      
      ClientLibraryTestBase will now parse command-line flags for debug options
      automatically, permitting subclasses to override certain options by using
      mutable_debug_options.
      
      main() still has to call AppendDebugOptionsFlags() explicitly before running
      the TF flag parser. In the mean-time, this CL leaves flag handling to the
      current "legacy" approach. However, this is part of a larger plan to move *all*
      debugging flags for XLA into the DebugOptions message and expose them as flags
      from a single place. The other flags (which are not controlling debugging
      options) will have to be propagated more explicitly.
      
      PiperOrigin-RevId: 158276294
      
      ---
      Commit 3b6fe94b authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Properly handle shape nodes that have a preexisting control dependency
      
      PiperOrigin-RevId: 158274845
      
      ---
      Commit 1d67379d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Minor cleanup
      
      PiperOrigin-RevId: 158268933
      
      ---
      Commit 41997756 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Sort header inclusions; define EIGEN_USE_THREADS where headers depend on it.
      
      PiperOrigin-RevId: 158267803
      
      ---
      Commit 85355f01 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add missing header inclusion
      
      PiperOrigin-RevId: 158265934
      
      ---
      Commit 3cf88d39 authored by Gunhan Gulsoy<gunan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      When GPU is configured, do not require --config=cuda.
      Also fix indentation in configure.
      
      PiperOrigin-RevId: 158232959
      
      ---
      Commit f48673b5 authored by Luke Iwanski<luke@codeplay.com>
      Committed by gunan<gunan@google.com>:
      [OpenCL] Removes ReductionFunctor for SYCLDevice (#10326)
      
      We are using Eigen implementation
      ---
      Commit 1b6453be authored by Joan Puigcerver<joapuipe@gmail.com>
      Committed by gunan<gunan@google.com>:
      Fixes issue #10258 (#10366)
      
      On CUDA versions previous to 8.0, only __shared__ variables could be declared as static in the device code.
      ---
      Commit cd56a638 authored by Beomsu Kim<123bskim@naver.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Fixed wrong range in docstring (#10272)
      
      ---
      Commit d13ae380 authored by Micha? Jastrz?bski<michal.jastrzebski@intel.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Fix CMD in Dockerfile (#10444)
      
      Currently Notebook fails execution because default user for this container is root, and unless explicitly allowed, jupyter notebook will not start.
      ---
      Commit 8118ab4e authored by Simon Perkins<simon.perkins@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Support partial gets in MapStagingArea (#10276)
      
      * Modify map staging area tests
      
      - size from `small` to `medium`
      - introduce 2 shards
      
      * Add partial get support in MapStagingArea
      
      A partial list of tensors in a (key, value) map entry can now be
      requested. Once all tensors associated with the entry are removed,
      it is removed from the map.
      
      * Correct output/indices mismatch errors
      
      * Rename IncompleteTuple to OptionalTuple
      
      * Add partial get test with indices
      
      * Add some more index checks
      
      * Improve stage test case graph creation
      
      Test sessions (and default graphs) are reused by default.
      Create explicit, finalized graphs in each test to prevent
      possible interactions between stateful Staging Areas and
      others ops created in separate tests.
      
      * Make staging area tests small and remove shards
      
      They were originally made 'medium' to ameliorate timeouts in the test
      case, but they usually run in ~1s so they should be small.
      
      * Improve imports
      
      Avoid importing base tensorflow package
      
      * Support both python 2 and python 3 range.
      
      * Set map_stage_op_test to size=large
      
      * Convert the tests to size=medium
      
      ---
      Commit 0df102b0 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Update `configure` script sample (#10455)
      
      The `configure` script was changed regularly since the generation of the sample.
      This PR updates the sample to reflect those changes.
      ---
      Commit f6dc1ac6 authored by Earthson Lu<Earthson.Lu@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      MKL_INSTALL_PATH should not be ignore when given (#10180)
      
      * MKL_INSTALL_PATH should not be clear when given
      
      * fix overwrite by default
      
      ---
      Commit 8ad6a036 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Java: Update Maven release to 1.2.0-rc2
      
      PiperOrigin-RevId: 158212897
      
      ---
      Commit 15eddf03 authored by Fritz Obermeyer<fritz.obermeyer@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Export C API symbols in _pywrap_tensorflow_internal.so (#10469)
      
      * Export C API symbols
      
      * Export C API symbols under config:default
      
      ---
      Commit 754e1266 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      [OpenCL] Removes half concat op registration (#10331)
      
      ---
      Commit cfdc22de authored by Peng Yu<yupbank@users.noreply.github.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      fix the error (#10293)
      
      ---
      Commit 58747e35 authored by Joel Hestness<jthestness@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      PhiloxRandom: Fix race in GPU fill function (#10298)
      
      * PhiloxRandom: Fix race in GPU fill function
      
      The PhiloxRandom fill kernel for the GPU had race conditions that caused the
      outputs to be non-deterministic. In particular, the code previously executed
      with N GPU threads (# thread contexts per GPU), but it would only advance the
      fill addresses by N-1 stride in each step. This incorrect stride caused the
      0th and N-1st threads to write to the same memory locations, racing for which
      was last to write their common locations. Make the stride equal to the number
      of threads to eliminate the race.
      
      BONUS: By fixing this race, PhiloxRandom constant-sized GPU initializers now
      match CPU initializers.
      
      * Update random_ops_test.py to find race conditions
      
      Increasing the size of arrays in the random_ops_test.py test to manifest
      the race conditions to be resolved.
      
      ---
      Commit 2cbcda08 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Fixed formatting in Linux install guide (#10353)
      
      Formatting issues were introduced in PR #8825, commit f30918b3
      ---
      Commit ab5f3856 authored by Lakshay Garg<lakshayg@outlook.in>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Fixed typos in documentation & READMEs (#10365)
      
      ---
      Commit 94dc1dbf authored by Christos Nikolaou<cNikolaou@users.noreply.github.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Enable figures in the tfprof README.md (#10372)
      
      ---
      Commit 3018d467 authored by Taehoon Lee<taehoonlee@snu.ac.kr>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Fix typos (#10386)
      
      ---
      Commit c5f3c617 authored by Daniel Rasmussen<drasmuss@users.noreply.github.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Fix unbatch for Datasets with multiple elements (#10401)
      
      * Fix unbatch for datasets with multiple elements
      
      * fixup! pylint (indent two spaces instead of four)
      
      ---
      Commit 8b065bc1 authored by Yong Tang<yong.tang.github@outlook.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      Fix unaligned args in api_docs/python/tf/contrib/learn/Evaluable (#10423)
      
      This commit fixes unaligned args in api_docs/python/tf/contrib/learn/Evaluable
      Signed-off-by: NYong Tang <yong.tang.github@outlook.com>
      ---
      Commit 8f89b654 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Profile memory usage in VirtualScheduler and report peak memory usage.
      To do so, NodeState now handles different output ports of a node (in case
      a node has multiple outputs).
      
      Also, VirtualScheduler code is cleaned up with more comments.
      
      PiperOrigin-RevId: 158209068
      
      ---
      Commit 0ea0bf5a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add a frontend for viewing the first ops that exhibit bad values (NaN, +/- Inf).
      
      This helps the user identify problematic ops. Also moved the debugger data logic within tf-graph-info into a new tf-graph-debugger-data-card component.
      
      PiperOrigin-RevId: 158208679
      
      ---
      Commit ed47ecf2 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Cleans variable op (#10333)
      
      * [OpenCL] Cleans variable op
      
      * Fixes formatting and float / double -> GPU_NUMBER_TYPES_NO_HALF
      
      ---
      Commit 9b2c1af6 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Improves device reporting (#10462)
      
      Prints: id, type, name, vendor and profile of the device
      ---
      Commit 7f5384dc authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Making load() work for resource variables.
      
      PiperOrigin-RevId: 158205361
      
      ---
      Commit 05412bd3 authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Simplify Shape traversal visitors.
      Simplify shape traversal visitors in ShapeUtil and ShapeTree. Add a non-Status form because most uses of the traversal methods do not use it, and remove is_leaf parameter from ShapeTree.ForEach* as it is not frequently used.
      
      PiperOrigin-RevId: 158201574
      
      ---
      Commit 69c9365b authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Extracted linear estimator testing utils to be reused by dnn-linear-combined.
      Added tests for linear part of dnn-linear-combined estimator.
      
      PiperOrigin-RevId: 158200827
      
      ---
      Commit 65ce8c72 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add arrowheads to dataflow edges.
      Make reference edges orange.
      Remove animations from tooltips in the graph documentation.
      
      Previously, arrowheads were only added to reference edges (because we assumed users knew about the convention that arrowless edges flow upwards). That decision nicely reduces clutter. However, recently, some internal and external folks have expressed confusion, and so I want to try adding arrowheads to all data flow edges. And make the reference edges starkly different.
      
      See #10428
      
      PiperOrigin-RevId: 158195388
      
      ---
      Commit bf4c3dd6 authored by gunan<gunan@google.com>
      Committed by GitHub<noreply@github.com>:
      Revert "Fix patching issue on Windows" (#10472)
      
      This reverts commit 47e67856.
      
      ---
      Commit b4951553 authored by David Soergel<soergel@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add only string constants to ASSET_FILEPATHS collection.
      
      PiperOrigin-RevId: 158192152
      
      ---
      Commit 51acad09 authored by Sergio Guadarrama<sguada@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add tests with different delta to huber_loss.
      
      PiperOrigin-RevId: 158191361
      
      ---
      Commit a4e7b7ad authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixes a bug in setting default optimizers for DNNLinearCombinedClassifier.
      
      PiperOrigin-RevId: 158190192
      
      ---
      Commit ddd67e33 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      [OpenCL] Cleans reshape.cc (#10347)
      
      * [OpenCL] Cleans reshape.cc
      
      * Removes half and complex numbers.
      
       Half is extension and complex numbers needs implementation in Eigen first
      
      ---
      Commit 3ca65330 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 158186454
      
      ---
      Commit 8cda8660 authored by Luke Iwanski<luke@codeplay.com>
      Committed by gunan<gunan@google.com>:
      [OpenCL] Cleans sendrecv_ops.cc (#10345)
      
      ---
      Commit 6915bb91 authored by Luke Iwanski<luke@codeplay.com>
      Committed by gunan<gunan@google.com>:
      [OpenCL] Cleans Slice op (#10341)
      
      ---
      Commit 54998b45 authored by Michele Colombo<m-colombo@users.noreply.github.com>
      Committed by Jonathan Hseu<vomjom@vomjom.net>:
      BasicRNNCell comment fix (#10467)
      
      ---
      Commit df5906fb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Mark saver/restore ops that depend on filesystem as stateful to disable them
      from being folded into a constant by graph optimizer.
      
      PiperOrigin-RevId: 158182282
      
      ---
      Commit 96cb4d18 authored by Sergio Guadarrama<sguada@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add support of scale_l1 == 0. or scale_l2 == 0 to l1_l2_regularizer.
      Added tests.
      
      PiperOrigin-RevId: 158179790
      
      ---
      Commit b65eb3f9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Speed up atrous_convolution_test by combining evaluations.
      
      To make this test run faster (and prevent it from timing out under
      certain circumstances), this change combines all evaluations for each
      test method into a single call to Session.run, to eliminate overhead.
      
      This reduces the test time from about 40 seconds to 10 seconds.
      
      RELNOTES: n/a
      PiperOrigin-RevId: 158175227
      
      ---
      Commit b440abce authored by Gao, Xiang<qasdfgtyuiop@gmail.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      add Cuda{2D,3D}LaunchConfig that maximizes occupancy (#10032)
      
      * add Cuda{2D,3D}LaunchConfig that max occupancy
      
      * remove default val, check input<=0
      
      * add max size check
      
      * fix typo
      
      * tests, docs, and related changes
      
      * build the test
      
      * buildify
      
      * cudaOccupancy... call check success, and style fix
      
      ---
      Commit 81cf61fd authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Initialize tensor in graph_properties_test, to avoid msan complaint.
      
      PiperOrigin-RevId: 158169374
      
      ---
      Commit cabc5c35 authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add xla_disable_hlo_passes to DebugOptions
      
      Also add a SetDebugOptions method to ClientLibraryTestBas; this lets us set
      debug options in tests by calling it.
      
      As an example, this CL removes the current way of passing
      xla_disable_hlo_passes programmatically in tests - it used to employ a special
      constructor parameter which is no longer required.
      
      PiperOrigin-RevId: 158169006
      
      ---
      Commit 187d2333 authored by Luke Iwanski<luke@codeplay.com>
      Committed by gunan<gunan@google.com>:
      [OpenCL] Cleans Pad op (#10339)
      
      ---
      Commit e8bc38ef authored by gunan<gunan@google.com>
      Committed by GitHub<noreply@github.com>:
      Fix test failures on windows. (#10470)
      
      ---
      Commit 2b3535c6 authored by David Soergel<soergel@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Minor docstring fix for build_parsing_serving_input_receiver_fn
      
      PiperOrigin-RevId: 158163615
      
      ---
      Commit e55f2e03 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Propagates constants through switch nodes.
      
      PiperOrigin-RevId: 158163537
      
      ---
      Commit b01d4b90 authored by Jacques Pienaar<jpienaar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Remove outdated todo.
      
      PiperOrigin-RevId: 158161411
      
      ---
      Commit 7125733d authored by William Chargin<wchargin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Create a set of sample data for the audio plugin
      
      This implements a simple tone generator, with sine waves, square waves,
      and triangle waves, plus two simple combinations of sine waves. The step
      value is used to control the frequency.
      
      PiperOrigin-RevId: 158160889
      
      ---
      Commit dc81a242 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Updates to the WALSMatrixFactorization estimator:
      - Add a completed_sweeps variable to keep track of sweeps that have been completed during training.
      - Add a StopAtSweepHook, which can request a stop after completing a specified number of sweeps.
      
      PiperOrigin-RevId: 158156347
      
      ---
      Commit 74220616 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Set device cores and frequency in op_level_cost_estimator_test,
      to avoid asan error about assigning inf to int64 (this comes
      in from a divide-by-0).
      
      PiperOrigin-RevId: 158155488
      
      ---
      Commit 47e67856 authored by Yun Peng<pcloudy@google.com>
      Committed by gunan<gunan@google.com>:
      Fix patching issue on Windows (#10452)
      
      ---
      Commit 6d54f09d authored by Yun Peng<pcloudy@google.com>
      Committed by gunan<gunan@google.com>:
      Fix linking errors of lmdb on Windows (#10457)
      
      ---
      Commit 61c8a745 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Minor cleanup: Add braces around if statement arms; remove redundant "return" and "static".
      
      PiperOrigin-RevId: 158143418
      
      ---
      Commit e9a889c5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Pass int parameter by value, not by const reference
      
      PiperOrigin-RevId: 158142102
      
      ---
      Commit 9184726e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Avoid unnecessary copying of map data during visitation
      
      PiperOrigin-RevId: 158141962
      
      ---
      Commit 2e7e1d57 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Small fix for how std::move is used in constructors
      
      PiperOrigin-RevId: 158141564
      
      ---
      Commit 2a61c165 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      In cpu compiler's CompileAheadOfTime, pass ordering when compiling entry computation.
      
      PiperOrigin-RevId: 158140349
      
      ---
      Commit f3f53e8b authored by Derek Murray<mrry@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf.contrib.data] Add support for dicts and remove lists from nested structures.
      
      This changes the behavior of constructors like
      `tf.contrib.data.Dataset.from_tensors()` when passed a list. Previously, the
      `nest` utility would recurse into each element of such a list and create a
      separate Dataset component. Now the list will be converted to a tensor, allowing code like:
      
      ```python
      dataset = tf.contrib.data.Dataset.from_tensor_slices(([1, 2, 3], [4, 5, 6]))
      ```
      
      ...to define a dataset with two components (each of shape `()`).
      
      This change also adds support for dictionaries as nested structures, which
      simplifies integration with dictionary-returning ops like `tf.parse_example()`.
      
      Fixes #10151.
      
      RELNOTES: Breaking change to `tf.contrib.data.Dataset` APIs that expect a
      nested structure. Lists are now converted to tf.Tensor implicitly. You may need
      to change uses of lists to tuples in existing code. In addition, dicts are now
      supported as a nested structure.
      PiperOrigin-RevId: 158139467
      
      ---
      Commit b6a8848c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Enabling python configuration to use a remotely generated configuration that is located inside of the org_tensorflow repo (previously it *had* to be a remote repo declared in workspace file).
      
      PiperOrigin-RevId: 158138601
      
      ---
      Commit 0fe0bfcc authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused protobuf header inclusions
      
      PiperOrigin-RevId: 158120864
      
      ---
      Commit f0c4c6c3 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      In the CUDA path of depthwise_conv2d, add a fast NCHW backward filter convolution for images smaller than 16x16.
      
      PiperOrigin-RevId: 158111294
      
      ---
      Commit 8dcf37b4 authored by Jon Malmaud<malmaud@gmail.com>
      Committed by gunan<gunan@google.com>:
      Fix typo (#10379)
      
      ---
      Commit 3039d7da authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by gunan<gunan@google.com>:
      Remove "bazel clean" (#10318)
      
      Reverting #8880 (see #10236)
      unnecessary since bazelbuild/bazel#2759 was merged
      ---
      Commit ae1c16ae authored by Yifei Feng<fengyifei2026@gmail.com>
      Committed by gunan<gunan@google.com>:
      Update docker to cudnn6. (#10307)
      
      * Update docker to cudnn6.
      
      * Update Dockerfile.gpu
      
      * Add --expunge to bazel clean to make cuda_configure run again and update TF_CUDNN_VERSION.
      
      * Remove expunge and set CUDA and CUDNN version default in configure.
      
      * Update configure
      
      * Only set --action_env once
      
      * Update prints for default version.
      
      ---
      Commit 232e9d86 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      tf_workspace() claims that the tf_repo_name argument is unused.
      temp_workaround_http_archive still requires it.
      This change silences the spurious message.
      
      PiperOrigin-RevId: 158089834
      
      ---
      Commit cc1a02d3 authored by Francois Chollet<fchollet@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add fp16 support to convolutional layers that support it.
      
      PiperOrigin-RevId: 158086284
      
      ---
      Commit 7d3fbba4 authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Extracted dnn estimator testing utils to be reused by dnn-linear-combined.
      Added tests for dnn part of dnn-linear-combined estimator.
      
      PiperOrigin-RevId: 158084898
      
      ---
      Commit 9d12c629 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Refactor the document and some polishment
      
      PiperOrigin-RevId: 158083952
      
      ---
      Commit 13413829 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Corrected comment: import_scoped_metagraph does not return a Saver.
      
      PiperOrigin-RevId: 158082288
      
      ---
      Commit a58553e4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add function in shape inference to try to infer output tensor content based on
      the input shapes of the op. In some cases (E.g: shape), knowing the shapes of
      the input is all that is necessary to infer the content of the output tensor.
      This improves shape inference.
      
      PiperOrigin-RevId: 158079306
      
      ---
      Commit 0cc851c0 authored by Yuefeng Zhou<yuefengz@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Call maxcut algorithm in the model_based_cost_estimator.
      
      PiperOrigin-RevId: 158078511
      
      ---
      Commit 7d76a90b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add question marks next to items in the graph legend.
      
      PiperOrigin-RevId: 158076005
      
      ---
      Commit 68fdb762 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add DNNLinearCombinedClassifier.
      
      PiperOrigin-RevId: 158075939
      
      ---
      Commit 3d52e4cb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix create_meta_graph to respect an empty collection_list.
      
      PiperOrigin-RevId: 158073112
      
      ---
      Commit 54ccc3e5 authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add module-scoped HLO dataflow analysis.
      This is the first step to replacing TuplePointsToAnalysis with a global, module-scoped analysis. This dataflow analysis identifies all values and their defs and uses in the XLA graph. The analysis is currently unused. Follow up CLs will add buffer alias analysis using this dataflow analysis, and incrementally switch the transformation passes (for example, CopyInsertion) to use these new module-scoped analyses.
      
      PiperOrigin-RevId: 158067910
      
      ---
      Commit 93c57c6e authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Handle control flow logic properly:
       * Don't fold enter/exit nodes since that can interact badly with frames
       * Create proper control dependencies on switch nodes
      
      PiperOrigin-RevId: 158066691
      
      ---
      Commit 9e689972 authored by Jingyue Wu<jingyue@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [SE] Add cudnnTransformTensor to StreamExecutor.
      
      PiperOrigin-RevId: 158062553
      
      ---
      Commit 827874c3 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      In the CUDA path of depthwise_conv2d, add a fast NCHW backward input convolution for images smaller than 16x16.
      
      PiperOrigin-RevId: 158061669
      
      ---
      Commit bee26215 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Speed up multinomial_op on CPU by using a vectorized Eigen expression and avoiding unnecessary casts.
      
      Benchmark with AVX+FMA enabled:
      
      Run on <redacted> (12 X 3492 MHz CPUs); 2017-06-05T12:54:07.881672447-07:00
      CPU: Intel Haswell with HyperThreading (6 cores) dL1:32KB dL2:256KB dL3:15MB
      Benchmark                          Base (ns)  New (ns) Improvement
      ------------------------------------------------------------------
      BM_Multinomial_cpu_1_10000_4          250817    172953    +31.0%
      BM_Multinomial_cpu_1_10000_128        273834    187552    +31.5%
      BM_Multinomial_cpu_1_10000_10000     1174175   1130778     +3.7%
      BM_Multinomial_cpu_1_100000_4        2040741   1276761    +37.4%
      BM_Multinomial_cpu_32_10000_4       10221765   4498666    +56.0%
      BM_Multinomial_cpu_32_10000_128     10638159   4994754    +53.0%
      BM_Multinomial_cpu_32_100000_4      100790019  44193314    +56.2%
      BM_Multinomial_cpu_128_100000_1     431269640  182506078    +57.7%
      PiperOrigin-RevId: 158061480
      
      ---
      Commit 515b3ac6 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add Clutz to TensorBoard build
      
      This is so we can get JavaScript protobufs. This CL also improves the
      web_aspect and makes some peculiar Closure Compiler errors go away
      relating to externs.
      
      PiperOrigin-RevId: 158061198
      
      ---
      Commit 0df6760f authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Added a test to make sure that graph properties for variables are properly
      reported
      
      PiperOrigin-RevId: 158053084
      
      ---
      Commit 2ccfe8e7 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Added a new method to extract the graph properties from a cost graph without
      having to run the model. This will simplify the process of creating regression
      tests
      
      PiperOrigin-RevId: 158050327
      
      ---
      Commit 27f1b80c authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixes memory leak in py_func when functions return unwrapped strings.
      
      PiperOrigin-RevId: 158046530
      
      ---
      Commit cf238e1f authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix memory leak in python caused by @tf_should_use.
      
      The issue is that python's GC has trouble collecting objects with __del__ methods.
      
      The solution is two pronged:
      * Keep track of usage state outside of the class, via a dict mapping
        id(object) => state
      * Remove __del__ (this was the source: python's GC couldn't collect wrapped
        objects), and instead use weakref.finalize to emit warnings just as the object
        is being garbage collected.
      * Added tests for garbage collection [they were failing before i fixed the issue]
      
      PiperOrigin-RevId: 158042388
      
      ---
      Commit e6f58186 authored by Bo Wang<david.b.wang@gmail.com>
      Committed by Rasmus Munk Larsen<rmlarsen@google.com>:
      New reader for LMDB databases (#9950)
      
      * Add LMDBReader op and test case
      
      * Add testcase to load LMDB from a folder
      
      * Add tensorflow/core/lib/lmdb/testdata/data.mdb
      
      * Add EOF test
      
      * Add license export
      
      * Blacklist the test data in pip_smoke_test.py
      
      * Address issues with respect to review
      
      * Add LICENSE to BUILD rules
      
      * Remove the prefx of LICENSE
      
      * Wrap key with compat.as_bytes()
      
      * Fixed a compilation flag
      
      * Improve BUILD rules
      
      * Support LMDB build in cmake
      
      * Fix BUILD file format with buildifier
      
      * Add fake unistd.h for lmdb to build on Windows
      
      * Avoid building lmdb tools which depends on unistd.h
      
      * Fix the string encoding issue in Python3
      
      * Update lmdb library name in CMakeList.txt
      
      ---
      Commit cc411f93 authored by Yao Zhang<yaozhang@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      When converting the layout of Conv2DBackpropInput, we need to permute one of
      its inputs, which is a constant node. We permute a copy of this node, instead of the
      original node, because the original node may be used as input to other nodes.
      This kind of sharing of const node could arise if the graph is pre-optimized by common
      subexpression elimination, which is part of the L1 optimizations in
      TensorFlow.
      
      PiperOrigin-RevId: 158037552
      
      ---
      Commit 88bdb6fc authored by Dandelion Man?<dandelion@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove all remaining references to non-public TF modules from TensorBoard.
      
      I deleted the PluginAssetUtil tests because that code is deprecated.
      I'll later add manual testing for backcompat in the text plugin.
      
      PiperOrigin-RevId: 158037466
      
      ---
      Commit 6c531eb2 authored by Francois Chollet<fchollet@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add file hash to Keras Boston Housing dataset to force cache update.
      
      PiperOrigin-RevId: 158036587
      
      ---
      Commit afdc38cd authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove deprecated resource handle functions in InferenceContext.
      
      PiperOrigin-RevId: 158034419
      
      ---
      Commit 9f932e6c authored by Derek Murray<mrry@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Avoid parsing a rendezvous key for Send/Recv ops outside a loop.
      
      For such ops, the rendezvous key will be constant, because
      `ctx->frame_iter()` will always evaluate to `{0, 0}`. Benchmarking
      reveals that this can save between 1 and 2 microseconds per Send or
      Recv op execution. The optimization applies to all cross-process,
      inter-device, and intra-device (host-to/from-device memory) Send/Recv
      ops.
      
      PiperOrigin-RevId: 158032522
      
      ---
      Commit cc2dd4ac authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      tfdbg: dump debug data from different devices in separate directories
      
      Fixes: #7051
      wherein TFDBG failed to load the data dump from a Session.run() involving multiple GPUs.
      
      The root cause of the bug was that TFDBG previously assumed that node names are unique across all partition graphs. This is however not the case when multiple GPUs exist. The Send/Recv nodes in the partition graphs of the GPUs can have duplicate names. There will potentially be other cases like this in the future due to other reasons (e.g., distributed sessions and/or graph optimization).
      
      This CL relaxes this assumption, by dumping the GraphDef and tensor data from different devices into different sub-directories under the dump root directory.
      
      PiperOrigin-RevId: 158029814
      
      ---
      Commit a5909d64 authored by Toby Boyd<tobyboyd@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixed triggering create device multiple times
      
      PiperOrigin-RevId: 158025196
      
      ---
      Commit 504a307b authored by Martin Wicke<wicke@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make sure that Adam colocates ops with a consistent variable across workers.
      
      PiperOrigin-RevId: 158022292
      
      ---
      Commit 69ba4d3d authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix #10371
      
      cpuinfo.get_cpu_info() doesn't seem to include the l2_cache_size key on some
      architectures.
      
      PiperOrigin-RevId: 158021008
      
      ---
      Commit a51a9846 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Performance-related tweaks: Don't copy loop variables; remove ineffective std::move casts.
      
      PiperOrigin-RevId: 158017670
      
      ---
      Commit 009789f7 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Allow 0-sized slices in DynamicSlice and DynamicUpdateSlice; add tests.
      
      PiperOrigin-RevId: 158015870
      
      ---
      Commit 48a4853e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Miscellaneous cleanups
      
      PiperOrigin-RevId: 158012131
      
      ---
      Commit 379ddde2 authored by Chris Song<sjhshy@gmail.com>
      Committed by Chris Song<sjhshy@gmail.com>:
      Fix misspells.
      
      ---
      Commit a0a76da9 authored by Lakshay Garg<lakshay.garg.1996@gmail.com>
      Committed by Lakshay Garg<lakshay.garg.1996@gmail.com>:
      Fixed typo in code
      
      ---
      Commit 7ffc3573 authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add support for bools in matrix_diag, matrix_diag_part, matrix_set_diag, matrix_band_part.
      
      PiperOrigin-RevId: 157939272
      
      ---
      Commit edf3d5db authored by Darren Garvey<darren.garvey@gmail.com>
      Committed by Darren Garvey<darren.garvey@gmail.com>:
      configure: Fix default path when enabling MPI.
      
      Correct showing what the default path is when mpi is installed.
      
      ---
      Commit aad2e3da authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      In the CUDA path of depthwise_conv2d, add a fast NCHW forward convolution for images smaller than 16x16.
      
      PiperOrigin-RevId: 157915637
      
      ---
      Commit 5cf08d9c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Drop blockDim.y for the equivalent in_cols, and slightly improve naming (use 'pixels' instead of 'size' for height*width numbers).
      
      PiperOrigin-RevId: 157906773
      
      ---
      Commit 563f05ff authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf contrib seq2seq] Expand tile_batch to handle nested structures.
      
      This allows it to properly tile the initial wrapper state when using
      BeamSearchDecoder with AttentionWrapper.  Unit tests updated to show this use.
      
      PiperOrigin-RevId: 157903115
      
      ---
      Commit 1234e2dd authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix Plottable definition
      
      On Mac OS the build directory in the Node package conflicts with BUILD.
      
      PiperOrigin-RevId: 157899970
      
      ---
      Commit bb7a8d8e authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Don't use the _output_shape attribute in the op_level_cost_estimator since
      there is no guaranty that it will be present or accurate.
      
      PiperOrigin-RevId: 157898989
      
      ---
      Commit 6f4204c3 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix TensorBoard SHA256 in cmake
      
      PiperOrigin-RevId: 157897958
      
      ---
      Commit c9d2f432 authored by Justine Tunney<jart@google.com>
      Committed by Justine Tunney<jart@google.com>:
      Fix TensorBoard SHA256 in cmake
      
      ---
      Commit 1c70fb68 authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add training test for multi classes (n>2) linear classifier.
      
      PiperOrigin-RevId: 157896002
      
      ---
      Commit 675d36be authored by Yao Zhang<yaozhang@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add fused batch norm to tf.layers.
      
      PiperOrigin-RevId: 157893874
      
      ---
      Commit f37d0ea4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change -- first draft docs
      
      PiperOrigin-RevId: 157891937
      
      ---
      Commit 9b8f6113 authored by Zongheng Yang<zongheng@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      tensor_bundle: fix that the read path forgets to cache file handles.
      
      In a case where a reader is geographically far from the file, this change
      achieves a speedup of end-to-end checkpoint restore by 5.8x.
      
      PiperOrigin-RevId: 157889659
      
      ---
      Commit 0c92dada authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use inplace Cholesky factorization and solves to speed up and reduce memory usage in matrix_solve_ls.
      Check succes before copying outputs in cholesky_op.
      
      PiperOrigin-RevId: 157887564
      
      ---
      Commit a4caeb2e authored by William Chargin<wchargin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Extract the graphs dashboard to a plugin
      
      This completes the great plugin migration!
      
      The graphs plugin is somewhat different from the plugins considered so
      far. First, it exposes two kinds of data: graph data and run metadata.
      We elect to put both sources of data under the domain of the graphs
      plugin for now, because it's not clear that the run metadata would be
      useful for anything else. Second, the graph data really has no use for
      "tags": a run either has an associated graph or it does not. Thus, we
      expose an endpoint /data/plugin/graphs/runs that is different in format
      from the /tags routes exposed by other plugins (it returns just a list
      instead of a run-to-tag mapping).
      
      This change removes a bunch of tests from application_test.py. The tests
      cover the compresion behavior of the graph endpoint, but the graph
      endpoint doesn't have any special logic in the way of compression. Thus,
      the tests are, apparently, testing that werkzeug (or whatever is
      relevant here) provides good compression defaults. This isn't
      necessarily a bad idea, but it shouldn't be coupled to the graph tests.
      
      To get test data that includes run metadata, you can run this script:
      
          https://raw.githubusercontent.com/tensorflow/tensorflow/326942394e69074d50d5889218a24c9371eff259/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py
      
      PiperOrigin-RevId: 157884714
      
      ---
      Commit 05a6a13f authored by Gunhan Gulsoy<gunan@google.com>
      Committed by gunan<gunan@google.com>:
      Make sure all writer caches are closed before deleting directories in dnn_test.
      
      ---
      Commit d0e761f8 authored by Gunhan Gulsoy<gunan@google.com>
      Committed by gunan<gunan@google.com>:
      Disable another test that uses matrix_set_diag on windows.
      
      ---
      Commit 8939b856 authored by Derek Murray<mrry@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf.contrib.data] Re-implement IteratorGetNext as an AsyncOpKernel.
      
      This prevents the op from consuming an inter-op thread pool thread
      when blocked, and fixes a potential deadlock when many IteratorGetNext
      ops are blocked. Fixes #10369.
      
      PiperOrigin-RevId: 157878885
      
      ---
      Commit 9e25c68a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add loss_only_head to hold additional loss terms for multi_head setup
      
      PiperOrigin-RevId: 157875934
      
      ---
      Commit 7cdcd0cc authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Filter more op types that don't benefit from constant folding.
      
      PiperOrigin-RevId: 157875168
      
      ---
      Commit 366990d9 authored by Kay Zhu<kayzhu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Fix a subtle issue in copy_insertion due the interaction between copy
      overriding logic and RecordIndicesToColocatingBuffers:
      
      - When building instructions ShapeTree to be copy overriden, it is possible
      that we create a single kCopy for two identical instructions. An example can
      be:
      
          %tuple.19 = tuple(%constant.4, %constant.1793, %constant.1793)
      
      where it is used in a while.init operand, and constant.1793 is read-only within
      the loop and also used by another while loop. The copy overriding pass will then
      create the following (logical, not finalized) tuple:
      
          %tuple.19 = tuple(%constant.4, %copy.5, %copy.5)
      
      - In the subsequent pass RecordAmbiguousOrNonDistinctIndices, to add copies to
      ensure point_to set is distinct, the duplicate %copy.5 are ignored because they
      are not yet finalized, and these indices (1 and 2 in the example) are still
      marked as to-be copied.
      
      Therefore distinctiveness is lost.
      
      This fix applies to the override building stage, to explicitly avoid creating
      shared copies for non-distinct buffers.
      
      PiperOrigin-RevId: 157872231
      
      ---
      Commit f4b8d21b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Change function parameters to references to avoid copying, or otherwise move from function parameters when moving reduces the amount of copying.
      
      PiperOrigin-RevId: 157867333
      
      ---
      Commit 3eee61ca authored by Drew Hintz<pushespretn@gmail.com>
      Committed by GitHub<noreply@github.com>:
      fix quotes in example code from ? to "
      ---
      Commit 4905c0ea authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove TODO - the new tolerance is okay to keep.
      
      PiperOrigin-RevId: 157861020
      
      ---
      Commit 55f6b6ff authored by David Soergel<soergel@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add explicit SparseTensor support to SignatureDef.
      
      PiperOrigin-RevId: 157860466
      
      ---
      Commit 79099d67 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Removes default thresholds from BinaryLogisticHead and adds predict and evaluate tests for DNNClassifier.
      
      PiperOrigin-RevId: 157856471
      
      ---
      Commit 54595f0f authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds the training test for LinearClassifier with n_classes=2.
      
      PiperOrigin-RevId: 157855473
      
      ---
      Commit cd6c0298 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add 'streaming_curve_points' metric which returns curve [ROC, PR] approximation at specified number of points.
      
      PiperOrigin-RevId: 157851535
      
      ---
      Commit 0f2db739 authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Split union-find implementation in mark_for_compilation_pass.cc into a separate library, make it more generic.
      
      PiperOrigin-RevId: 157850985
      
      ---
      Commit d5421cf5 authored by Justin Lebar<jlebar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add additional concat test.
      
      PiperOrigin-RevId: 157844113
      
      ---
      Commit f661128d authored by Geoffrey Irving<geoffreyi@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused overloads of SummarizeGraphDef and EqualGraphDef
      
      PiperOrigin-RevId: 157843404
      
      ---
      Commit a56d59a8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Set flow to a value during TensorArray creation,
      Re-enable tensor_array_ops_test in msan.
      
      PiperOrigin-RevId: 157841785
      
      ---
      Commit edcc5cc1 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add manual test runner for vz_sorting
      
      PiperOrigin-RevId: 157841098
      
      ---
      Commit 3f6404f2 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Assign a max height of 800px to images in the image dashboard.
      
      The user could always expand to actual dimensions if need be.
      
      PiperOrigin-RevId: 157838046
      
      ---
      Commit c6ea6972 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove debugging LOG(INFO) from previous change.
      
      PiperOrigin-RevId: 157837305
      
      ---
      Commit 07d39f28 authored by freedom" Koan-Sin Tan<koansin.tan@gmail.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      make gcc-5 on Ubuntu 16.04 happy (#10385)
      
      gcc-5 complains of ambiguity and refuses to go when doing something
      like 'bazel build -c opt tensorflow/...'
      ---
      Commit ac66be78 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Minor cleanup: Remove unused BUILD dependencies and unnecessary code.
      
      PiperOrigin-RevId: 157837211
      
      ---
      Commit 4161ccc8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adjust tolerance on dirichlet_multinomial test.
      
      PiperOrigin-RevId: 157834660
      
      ---
      Commit 43c0f52f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix off-by-one error in BoolVector(begin, end) constructor.
      
      PiperOrigin-RevId: 157833086
      
      ---
      Commit 419d437b authored by Lakshay Garg<lakshay.garg.1996@gmail.com>
      Committed by Lakshay Garg<lakshay.garg.1996@gmail.com>:
      Fixed typo in code comment
      
      ---
      Commit 07710014 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix device colocation for KMeans in case of multiple parameter servers.
      
      PiperOrigin-RevId: 157795360
      
      ---
      Commit b659bc39 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Simplify TensorBoard build
      
      - Remove tensorboard_typescript_genrule
      - Remove tensorboard_typescript_bundle
      - Introduce ts_web_library Skylark rule which supports seamless
        TypeScript compilation.
      - Use Closure Compiler in semi-advanced mode to compile JavaScript.
        This is done in a way that preserves <script> tag placement, which
        causes pages to load faster and avoid FOUC, thereby making it a
        better solution than the existing vulcanize.
      
      PiperOrigin-RevId: 157794795
      
      ---
      Commit 0503ce09 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Wipe out previous shape inference result when importing a grappler item
      Run graph optimizations last: since they can be expensive it's best to filter invalid items first.
      
      PiperOrigin-RevId: 157792834
      
      ---
      Commit 9ae941c4 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Turn reductions along an empty set of dimensions into identity nodes.
      
      PiperOrigin-RevId: 157792209
      
      ---
      Commit 69075f35 authored by Yangzihao Wang<yangzihao@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add functional support for cudnnConvolutionBiasActivationForward().
      
      PiperOrigin-RevId: 157788425
      
      ---
      Commit 7d7a4030 authored by William Chargin<wchargin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Extract the distributions dashboard to a plugin
      
      This continues the great plugin migration. The distributions plugin was
      similar to the histograms plugin, but it also purported to allow CSV
      download like the scalars plugin. However, the existing implementation
      of this was flawed, and would always yield a 500 on current prod [1]
      (unless there were actually no data). This indicates that no one is
      actually using it---probably because there isn't a relevant button on
      the frontend, anyway!---so I just removed it.
      
      This also changes most frontend occurrences of "compressedHistograms"
      to "distributions" while we're at it.
      
      [1]: Due to the reference `value.rank_in_bps` in the handler
      `_serve_compressed_histograms`; this field does not exist and throws an
      `AttributeError`.
      
      PiperOrigin-RevId: 157787156
      
      ---
      Commit 23cdf96b authored by Brennan Saeta<saeta@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Re-enable session_test.py
      
      A number of CL's have split up session_test.py to be a bit smaller. As a
      result, this CL will re-enable the session_test to see if it remains flaky.
      
      PiperOrigin-RevId: 157786407
      
      ---
      Commit d741d81c authored by Dandelion Man?<dandelion@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Expose tf.test.StubOutForTesting in the tf testing api
      
      Also redirect TensorBoard usage to use that endpoint.
      
      This is part of my ongoing effort to have TensorBoard only
      depend on TensorFlow via its public api, so that it can
      be split into a project with a fast external build.
      
      PiperOrigin-RevId: 157784552
      
      ---
      Commit 40411cd5 authored by Dandelion Man?<dandelion@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Refactor projector plugin to only use tf public methods.
      
      Remove all reference to the PluginAsset system, which is deprecated.
      
      Part of an ongoing effort to have TensorBoard only consume the public
      TensorFlow api.
      
      PiperOrigin-RevId: 157784016
      
      ---
      Commit a65a70ea authored by Gunhan Gulsoy<gunan@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix pip tests under contrib/text
      
      PiperOrigin-RevId: 157783952
      
      ---
      Commit fb4bc806 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix flakiness in GpuMultiSessionMemoryTest.
      
      PiperOrigin-RevId: 157781368
      
      ---
      Commit f7de292d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update placeholder nodes' shapes in the GraphDef to reflect manually specified values for incomplete placeholder shapes. Previously, these overrides were only specified in the feed nodes, which improves estimates when using dynamic shapes but not when using static shapes. With this change, static shapes also benefit.
      
      PiperOrigin-RevId: 157780800
      
      ---
      Commit eebd4412 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add a frontend method for retrieving numeric alerts from the debugger plugin.
      
      This route responds with a list of alerts (occurrences of bad values) in ascending timestamp order.
      
      PiperOrigin-RevId: 157780270
      
      ---
      Commit 5bc685d7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] If an op has a single "large" operand, we want to fuse this op into some of its consumers, even if we can't fuse into all of them.
      
      PiperOrigin-RevId: 157779106
      
      ---
      Commit 2ee09b87 authored by Mark Heffernan<meheff@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Various improvements to ShapeTree.
      Add support for holding non-copyable types, operator==, and a
      CopySubtreeFrom method for copying a subtree from one ShapeTree to
      another.
      
      PiperOrigin-RevId: 157777636
      
      ---
      Commit 4f3ae769 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add beam_search kernels used by BeamSearchDecoder to tensorflow.contrib.
      
      PiperOrigin-RevId: 157775011
      
      ---
      Commit 6b16c33b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make audio-related logic use the audio plugin.
      
      Previously, fetching audio and related data from TensorBoard used handlers within application.py. We now remove those handlers in favor of routes offered by the audio plugin. ML Dash is updated as well.
      
      PiperOrigin-RevId: 157774953
      
      ---
      Commit 8032e1f7 authored by Geoffrey Irving<geoffreyi@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make function instantiation use std::vector<NodeDef> instead of GraphDef
      
      It's about to turn into std::vector<NodeInfoPtr>; this change gets us partway there.
      
      RELNOTES: n/a
      PiperOrigin-RevId: 157771141
      
      ---
      Commit 2e44be35 authored by Vinu Rajashekhar<vinuraja@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds a protected DeleteResourceMgr(...) method in Device.
      
      PiperOrigin-RevId: 157770378
      
      ---
      Commit cc346e69 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Strip the :x suffix when generating control inputs from input names
      
      PiperOrigin-RevId: 157770257
      
      ---
      Commit d6fe47af authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use tensorflow::StringPiece in literal_util.
      Use template for RepeatedField assignment.
      
      PiperOrigin-RevId: 157765477
      
      ---
      Commit 7866fa01 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      This change significantly reduces time and resources used to load large TensorFlow graphs.
      
      For a real-world large graph (13k nodes, 20k edges), this change:
      
      * reduces all heap allocations by 19%
      * reduces retained (final) heap allocations by 2.2%
      * reduces CPU time by 11.2%
      
      In most TF graphs, the set of unique values set to Node::assigned_device_name() is quite small.  This change adds an interning table to the Graph object, which contains all of the unique values used for Node::set_assigned_device_name(), as well as a look-up table.  This is the main source of the reduction in retained heap memory; nearly all nodes are assigned to just one or two unique devices.
      
      This change removes the "string assigned_device_name_" field from the Node class, and replaces it with "int assigned_device_name_index_".  However, because you need both the index and the name table to get the actual value, the Node::assigned_device_name() accessor needs access to the parent Graph.  This requires adding a "Graph* graph_" field to the Node class.
      
      In the future, if all users of this property are converted to use Graph::assigned_device_name(Node*), then the Node::graph_ field can be deleted, and the space reclaimed.  However, doing so is out of the scope of this CL, and even with this new pointer field, the Node class is smaller than it was before, so this is still a net win.
      
      The placement algorithm in simple_placer.cc is one of the main accessors of the Node::assigned_device_name property.  This CL contains significant changes to simple_placer.cc, which directly take advantage of the fact that the property is an index into a name table, rather than treating it simply as a string.  Many temporary allocations are also removed, which is the main source of the reduction in total heap allocations.
      
      This CL also contains a few changes that remove short-lived allocations in unrelated code, such as the changes in op.cc/h, costmodel.cc, etc.  It is extremely easy in C++ to accidentally allocate memory, especially when implicit conversions and copy constructors allocate memory.
      
      All of the changes in this CL were motivated by empirical measurement, using CPU profiling and heap profiling.
      
      PiperOrigin-RevId: 157762909
      
      ---
      Commit fdffafbc authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add QueueDequeueUpTo to the list of dequeue ops
      
      PiperOrigin-RevId: 157760201
      
      ---
      Commit 7ad0d069 authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add type error to start_queue_runners if given session is not a `tf.Session`. Due to semver, we suppress the error if a MonitoredSession is provided.
      
      PiperOrigin-RevId: 157748375
      
      ---
      Commit 7106f9fa authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Implemented an initial version of virtual scheduler unit test.
      
      PiperOrigin-RevId: 157746305
      
      ---
      Commit b020db0c authored by Andrew Harp<andrewharp@google.com>
      Committed by Andrew Harp<andrewharp@google.com>:
      revert public visibility
      
      ---
      Commit 5b05728c authored by Andrew Harp<andrewharp@google.com>
      Committed by Andrew Harp<andrewharp@google.com>:
      visibility workaround 3
      
      ---
      Commit 15a740eb authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update and Move DNNLinearCombinedRegressor to estimator/canned.
      
      PiperOrigin-RevId: 157744087
      
      ---
      Commit d29bbeca authored by Dandelion Man?<dandelion@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix outdated code ref in TensorBoard README, add link to SO question.
      
      PiperOrigin-RevId: 157743374
      
      ---
      Commit 9fc16422 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix index_table_from_file to allow vocabulary_file be a Tensor
      
      PiperOrigin-RevId: 157740677
      
      ---
      Commit 0aa3e019 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Internal change
      
      PiperOrigin-RevId: 157740660
      
      ---
      Commit 02ac8539 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Introduce new class Literal to replace protobuf Literal.
      
      This renames the existing Literal message to LiteralProto and introduces a new
      C++ class named Literal to replace it.
      
      The LiteralProto is only used at RPC boundaries, or when protobuf-specific
      functionality is required.  The Literal class offers a 'ToProto' function to
      generate a new LiteralProto message when necessary.
      
      Currently, all the static functions in class LiteralUtil, just forward to their
      counterparts in class Literal.  This will change in a future CL.
      
      Class Literal implements all the buffers as std::vectors.  The only exception
      is preds(), which given the std::vector<bool> representation, makes it unusable
      for the semantics we require (it's not possible to get the address of the
      underlying vector, for instance).
      
      The CL adds a BoolVector class to work around that issue.
      
      In future CLs, the std::vector representation may be changed to something more
      efficient, if needed.
      
      PiperOrigin-RevId: 157739125
      
      ---
      Commit 20720325 authored by gunan<gunan@google.com>
      Committed by GitHub<noreply@github.com>:
      Python 3.6 support on windows. (#10356)
      
      * Python 3.6 support on windows.
      
      * Fix typo in README.md
      
      * Make environment configurable for windows gpu build.
      
      ---
      Commit 2b75a9a6 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: 157734029
      
      ---
      Commit f60b6bdc authored by Mustafa Ispir<ispir@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add a warning to documentation of MonitoredSession.
      
      PiperOrigin-RevId: 157728225
      
      ---
      Commit eb10a4c4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Preallocate vector storage when the ultimate vector size is known in advance
      
      PiperOrigin-RevId: 157724431
      
      ---
      Commit ce32228c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add release notes for Intel MKL integration.
      
      PiperOrigin-RevId: 157722003
      
      ---
      Commit a23255bc authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds missing group OP to benchmark
      
      PiperOrigin-RevId: 157716500
      
      ---
      Commit d3e840a6 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Disable writing of compressed checkpoints.
      
      Snappy compression (and decompression) was enabled after the
      1.1 release (in commit 63b2f999).
      This means that checkpoints produced by the 1.2.0 release candidates
      will cause TensorFlow 1.1 (and prior) binaries to crash as they
      CHECK fail when trying to load snappy-compressed tables.
      
      To ease transition, disable writing of compressed checkpoints in
      1.2.0 for now.
      
      Reconsider this in the next release.
      
      PiperOrigin-RevId: 157675189
      
      ---
      Commit 6db400bb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Refactoring Python op code generation.
      
      PiperOrigin-RevId: 157675126
      
      ---
      Commit d9620cab authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add flag to determine whether to do L1 optimizations and inline functions. Default is to do them. In tf_optimizer don't inline or do l1 optimizations.
      
      PiperOrigin-RevId: 157673614
      
      ---
      Commit 25bb504c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make a plugin that serves data for the audio dashboard.
      
      Subsequent changes will make TensorBoard use this audio plugin instead of the previous handlers for audio-related data.
      
      PiperOrigin-RevId: 157673132
      
      ---
      Commit 24623653 authored by James Qin<jamesqin@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix graph text format serialization
      
      PiperOrigin-RevId: 157669530
      
      ---
      Commit 3aed1735 authored by Andrew Harp<andrewharp@google.com>
      Committed by Andrew Harp<andrewharp@google.com>:
      visibility workaround 2
      
      ---
      Commit fea90f89 authored by Andrew Harp<andrewharp@google.com>
      Committed by Andrew Harp<andrewharp@google.com>:
      visibility workaround
      
      ---
      Commit 732a6b1a authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Upgrade TypeScript to v2.3.4
      
      PiperOrigin-RevId: 157667511
      
      ---
      Commit 95d90ab2 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Fixes Split op (#10322)
      
      * [OpenCL] Fixes Split op
      
        Split should alway go through SYCL device
      
      * [OpenCL] Removes half from registred types
      
      ---
      Commit 96344140 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Extends softmax op to cover double (#10323)
      
      ---
      Commit a702863e authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Extends tile ops to int16 and int32 (#10328)
      
      * [OpenCL] Extends tile ops to int16 and int32
      
      * [OpenCL] Extends tile_ops to cover bool, uint8, int16, int64
      
      ---
      Commit 75385814 authored by cxx<cxxgtxy@gmail.com>
      Committed by cxx<cxxgtxy@gmail.com>:
      Fix comments error in mnist_replica.py where only one ps is used with two works by default.
      
      ---
      Commit 23364e2c authored by Andrew Harp<andrewharp@google.com>
      Committed by Andrew Harp<andrewharp@google.com>:
      buildifier fix
      
      ---
      Commit e5088cb8 authored by Yao Zhang<yaozhang@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix discrepancy between measured and analytical cost graph. Use tf_cuda_library for utils.
      
      PiperOrigin-RevId: 157660745
      
      ---
      Commit 787381ca authored by Brennan Saeta<saeta@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Split up session_test.py -> session_clusterspec_prop_test.py
      
      session_test.py has gotten very large. Additionally, recently it has become
      flaky. In order to both (1) improve overall code health, and (2) to facilitate
      root-causing the test flakiness, this CL begins to split apart session_test
      into focused subsets.
      
      I've suffixed the scoping of the session_test in order to preserve filesystem
      sort-order grouping.
      
      PiperOrigin-RevId: 157658981
      
      ---
      Commit b09932d7 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Added PlaceholderWithDefault to the list of known placeholder types
      Use PartialTensorShape instead of TensorShapes to better handle partially known
      shapes
      
      PiperOrigin-RevId: 157657664
      
      ---
      Commit 0462416f authored by Dandelion Man?<dandelion@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add make_ndarray, tensor_proto, and MetaGraphDef to tf api.
      
      Since TensorProtos are part of the TensorFlow API, it makes sense
      to also include the methods that generate and parse them.
      
      Similarly, we write out MetaGraphDef protos in the summary writer,
      so we should provide the proto as well.
      
      This is part of an ongoing effort to have TensorBoard only consume
      TensorFlow methods through the public api.
      
      PiperOrigin-RevId: 157657564
      
      ---
      Commit 458f94c1 authored by Wei Ho<weiho@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Open-source skip-gram ops
      
      PiperOrigin-RevId: 157655970
      
      ---
      Commit faac0331 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Introduce tensorboard_zip_file build rule
      
      This rule can depend on web_library or tensorboard_html_binary. In
      both cases it will create a .zip file containing all the transitive
      web server paths. This can be used to deploy static assets to web
      servers.
      
      A small change was also made to Vulcanize to support path overriding.
      
      PiperOrigin-RevId: 157655047
      
      ---
      Commit 7ed44f4c authored by Brennan Saeta<saeta@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Split up session_test.py -> session_partial_run_test.py
      
      session_test.py has gotten very large. Additionally, recently it has become
      flaky. In order to both (1) improve overall code health, and (2) to facilitate
      root-causing the test flakiness, this CL begins to split apart session_test
      into focused subsets.
      
      I've suffixed the scoping of the session_test in order to preserve filesystem
      sort-order grouping.
      
      PiperOrigin-RevId: 157651813
      
      ---
      Commit 3c7ac46a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Teach Executable to do its own profiling (patch 4/4).
      
      This CL removes the xla::Service stub for ExecuteOnStreamWrapper so the users call the xla::Executable version directly, and simplifies the function API to simply accept "arguments" as a parameter (with a templated type) rather than requiring the user to capture it into a lambda around the relevant Executable::ExecuteOnStream method.
      
      PiperOrigin-RevId: 157651740
      
      ---
      Commit 626f95ab authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] Don't enforce that all nodes in an encapsulated subgraph are on the same device.
      Use the assigned device rather than the user-requested device when converting a Graph to a FunctionDef.
      
      PiperOrigin-RevId: 157648977
      
      ---
      Commit 41447032 authored by Jacques Pienaar<jpienaar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Guard stream pool with mutex.
      
      A data race can occur while populating the map.
      
      PiperOrigin-RevId: 157647183
      
      ---
      Commit ccdb3076 authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Additional colocation options and bugfixes for TensorArray
      
      * colocate_with is now set properly when a TensorArray is passed through a
        while_loop
      * added a new argument, "colocate_with_first_write" (default: True; this is
        the current behavior).  If False, the TensorArray is simply placed on the
        device from the context it's constructed in, and no colocation constraints
        are added.
      
      PiperOrigin-RevId: 157643133
      
      ---
      Commit 03fc7022 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 157642677
      
      ---
      Commit 41b87d6c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add a new attribute narrow_range to FakeQuant* operations.  It quantizes into range [1; 255] instead of [0; 255].
      
      PiperOrigin-RevId: 157641054
      
      ---
      Commit c048e293 authored by Alexandre Passos<apassos@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds support to non-placeholder inputs in _graph_to_function_def.
      
      Specifically, supports input ops with more than one output tensor.
      
      PiperOrigin-RevId: 157640908
      
      ---
      Commit d310de4f authored by Brennan Saeta<saeta@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Split up session_test.py -> session_list_devices_test.py
      
      session_test.py has gotten very large. Additionally, recently it has become
      flaky. In order to both (1) improve overall code health, and (2) to facilitate
      root-causing the test flakiness, this CL begins to split apart session_test
      into focused subsets.
      
      I've suffixed the scoping of the session_test in order to preserve filesystem
      sort-order grouping.
      
      PiperOrigin-RevId: 157640788
      
      ---
      Commit 8e868cf6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused arguments to call_cpp_shape_fn.
      
      PiperOrigin-RevId: 157640125
      
      ---
      Commit 9ddbf31f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use unnamed namespace to effect internal linkage, replace string constructors with array-deducing helper function
      
      PiperOrigin-RevId: 157636308
      
      ---
      Commit 88ffe627 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Increase cholesky_op_test to medium, bump shard_count 1 more.
      
      PiperOrigin-RevId: 157635774
      
      ---
      Commit bef563dc authored by Benjamin Kramer<kramerb@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Don't add constraints for computations we're not currently looking at.
      
      TuplePointsToAnalysis is computed globally per module, so we add all
      unconstrained buffers in that module, even if it's outside of the computation
      we're currently running on. Then we proceed to propagate default layouts to all
      those buffers and then throw the constraints away because they don't affect any
      instruction in the current computation.
      
      PiperOrigin-RevId: 157635564
      
      ---
      Commit a980aead authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use test_adjusted_name when making the mangled_test_name in
      run_and_gather_logs_lib.py, to avoid duplicate file names when the same test is
      run on multiple GPUs.
      
      PiperOrigin-RevId: 157630193
      
      ---
      Commit 0a84cfd5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 157629497
      
      ---
      Commit 6882effb authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make single-parameter constructors explicit
      
      PiperOrigin-RevId: 157628970
      
      ---
      Commit 0b807025 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Support negative axis for Split op
      
      PiperOrigin-RevId: 157628162
      
      ---
      Commit 289e7bf5 authored by gunan<gunan@google.com>
      Committed by GitHub<noreply@github.com>:
      Fixes and improvements to cmake windows build. (#10354)
      
      * Disable linalg ops tests on windows.
      
      * Do not print the full source code path for logs on windows.
      
      ---
      Commit bc236cfc authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Passes classification head to LinearClassifier.
      
      PiperOrigin-RevId: 157624020
      
      ---
      Commit cebd7e24 authored by Luke Iwanski<luke@codeplay.com>
      Committed by Shanqing Cai<cais@google.com>:
      [OpenCL] Cleans debug ops (#10334)
      
      * [OpenCL] Cleans debug ops
      
      * Acts on feedback from #10334#discussion_r119452513
      
      * Acts on #10334#discussion_r119459463
      
      ---
      Commit fd6c3c4f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixes flaky test in dnn_linear_combined_test.
      
      PiperOrigin-RevId: 157622951
      
      ---
      Commit c9cc388d authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Avoid CHECKs in BundleReader, propagate errors instead.
      
      Motivation:
      We'd like to evolve the checkpoint format over time (e.g., enable
      different types of compression). Without this change, a TensorFlow
      version that encounters a format that it doesn't understand would CHECK fail
      with an unhelpful error message.
      
      With this, it propagates a clearer error message up, giving the user some
      hints about what could be wrong.
      
      I don't have a unittest for this - I thought about writing a bundle and
      then strategically corrupting the bytes on disk before reading it back,
      but that seems a bit much. The intention of this change is to enable
      graceful reporting of forward compatibility breakages. Ideas for an
      appropriate unittest are appreciated.
      
      PiperOrigin-RevId: 157620358
      
      ---
      Commit ee05b8b6 authored by Wei Ho<weiho@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix to remove TF op usage outside of the initializer fn (due to deferred execution of initializer fn, this prevent issues with graph mismatch).
      
      PiperOrigin-RevId: 157620177
      
      ---
      Commit e8d17ea8 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Materialize shapes that are known at graph construction time into constants
      that can be folded
      
      PiperOrigin-RevId: 157619380
      
      ---
      Commit dc0427d4 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Directly depend on the used libraries
      
      Do not rely on transitive dependencies.
      
      PiperOrigin-RevId: 157618184
      
      ---
      Commit 964d1a50 authored by Yuan Yu<yuanbyu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix a bug that an erroneous control edge can be introduced when loops are nested in control dependency context.
      
      PiperOrigin-RevId: 157616919
      
      ---
      Commit 2de94bbb authored by Eli Bendersky<eliben@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Add an option to set the "generate HLO graph" regex without a flag.
      
      Pipes the option through xla.proto ExecutionOptions, to HloModuleConfig, which
      can then be accessed throughout the compiler.
      
      PiperOrigin-RevId: 157615458
      
      ---
      Commit d3c0482e authored by My name is<raviqqe@gmail.com>
      Committed by gunan<gunan@google.com>:
      Fix a typo in export_output.py (#9975)
      
      ---
      Commit 0c75d9f5 authored by ddurham2<ddurham@davyandbeth.com>
      Committed by gunan<gunan@google.com>:
      Adding lost documentation to tf.abs from the old tf.complex_abs when it learned how to work on complex data. (#9954)
      
      ---
      Commit 84661fa7 authored by Benoit Steiner<bsteiner@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Propagate control dependencies during constant folding
      
      PiperOrigin-RevId: 157610040
      
      ---
      Commit a3520340 authored by gunan<gunan@google.com>
      Committed by GitHub<noreply@github.com>:
      Improve windows bazel python test suite. (#10305)
      
      * Improve windows bazel python test suite.
      
      - Create new tags, no_windows and no_windows_gpu
      - Instead of a separate maintained list, use bazel tags to exclude tests.
      - Tag all the python tests that are known to have issues in windows.
      
      * Also blacklist neon_depthwise_conv_ops_test in windows.
      
      * Only build tests in CPU windows tests.
      
      * Only build tests in GPU windows tests.
      
      * Also disable session_test on windows.
      
      * Only run py tests on windows, and only build tests that are not
      disabled.
      
      ---
      Commit a6f284ca authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds integration tests for LinearRegressor.
      
      PiperOrigin-RevId: 157604107
      
      ---
      Commit d21bf7d7 authored by Francois Chollet<fchollet@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Backport changes from Github master.
      
      PiperOrigin-RevId: 157603238
      
      ---
      Commit 43bfc138 authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix OSS compilation error in tfprof_main.cc
      
      PiperOrigin-RevId: 157602449
      
      ---
      Commit 904a3d07 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fixing issue with cuda compilation related to missing include (exception is only thrown when running with sandboxing on)
      
      PiperOrigin-RevId: 157602401
      
      ---
      Commit f59203c9 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Shard cholesky_op_test.
      
      PiperOrigin-RevId: 157601172
      
      ---
      Commit 3fdbb557 authored by Amit Patankar<amitpatankar@google.com>
      Committed by Amit Patankar<amitpatankar@google.com>:
      Merging rc1 back into master.
      
      ---
      Commit be5d98a8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adds integration tests for DNNClassifier.
      
      PiperOrigin-RevId: 157592010
      
      ---
      Commit a05de6cd authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Change reporting feature importances in RandomForestEstimator to run at the end of training, instead of part of the inference graph.
      
      PiperOrigin-RevId: 157591575
      
      ---
      Commit e96f1142 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unnecessary casts
      
      PiperOrigin-RevId: 157591439
      
      ---
      Commit 5f8571a6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix missing namespace comments
      
      PiperOrigin-RevId: 157591364
      
      ---
      Commit eeb0b406 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: 157573997
      
      ---
      Commit 7f967421 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 157573723
      
      ---
      Commit 473a590c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Allow complex valued input for Cholesky decomposition.
      
      PiperOrigin-RevId: 157572536
      
      ---
      Commit 2d186085 authored by Blake Hechtman<blakehechtman@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix test name in array_elementwise_ops_test.
      
      PiperOrigin-RevId: 157552402
      
      ---
      Commit a7fff05e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      tfprof multi-step profiling.
      
      This allows users to fill in RunMetadata across different steps.
      1. It is useful for RL model which runs a subset of graph each step.
      2. It also gets averages of multi-step stats.
      
      PiperOrigin-RevId: 157552388
      
      ---
      Commit fe589d9e authored by Luke Iwanski<luke@codeplay.com>
      Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
      [OpenCL] Implementation improvements (#9117)
      
      * OpenCL Improvements
      
      * Registers Scatter and ScatterNd Ops for SYCL
      
      * Registers Stack op for SYCL
      
      * Fixes No sycl buffer found error for debug ops
      
      * Registers MatMul and Transpose Ops to SYCL device for double
      
      * Extends analyzer_cli_test.py test to cover SYCL
      
      * Fixes Transpose Op for double when on SYCL
      
      * Bumps Eigen version to fix double precision issue on SYCL
      
      * Extends SessionDebugTestBase to cover SYCL
      
      * Register SYCL implementations for random ops
      
      * Avoid functions that might not be defined on SYCL device (#51)
      
      * Avoid functions that might not be defined on SYCL device
      
      * Simplify by using Eigen math functions
      
      * OpenCL improvements
      
       - Bumps Eigen Version
       - Refactors Ops registration
       - Introduces workaround for Const Op related to the difference between
         CUDA which uses pointers and OpenCL that uses buffers/accessors
       - Extends memory types to cover DEVICE_SYCL as well
       - Introduces  GetSYCLDevice() method that returns list of supported devices
         with GPU device having the highest priority ( doesn't include blacklisted devices )
       - ::internal::Transpose -> tensorflow::internal::Transpose in order to
         avoid compilation reported error
       - re-introduces fix for bugged string replacement causing a lot of compilation
         warnings -c -> --include
       - Adds sycl_runtime to bazels ARRAY_DEPS
       - Replicates TF_CALL_GPU_PROXY_TYPES for SYCL
      
      * [OpenCL] Fixes an issue caused by switch to aligned allocator for sycl buffer (#53)
      
      * [Build] Use gcc/g++ as a host compiler to avoid #8394 (#54)
      
      * [OpenCL] Fixes Scatter Op
      
      * Fix testSimple and testConst in stack_op_test (#3)
      
      * Fix testSimple and testConst in stack_op_test
      
      * Create a specialisation of DoParallelConcatUpdate for SyclDevice and
      register it
      
      * Guard all code in TENSORFLOW_USE_SYCL
      
      * Do not use sycl device for int32
      
      * Registration of the Sycl version is now looking like the one for the GPU
      
      * Remove added empty line
      
      * Register batch normalization kernels for OpenCL (#61)
      
      * [OpenCL] RandomGamma has no GPU friendly implementation (#57)
      
      * [OpenCL] Compatibility fixes for TensorFlow 1.1.0-rc1
      
      * [OpenCL] Implements BatchMatmul Op for SYCL
      
      * Lowercase the device name when GPU or SYCL returned
      
      * [OpenCL] kernel_estimator_test.py assertEqual-> assertAlmostEqual due to floating point representation on the device
      
      * [Eigen] Version bump
      
      * GPU device name string manipulation is not needed anymore
      
      * [OpenCL] Adds SYCL to device backwards compatibility
      
      * [OpenCL] Extends core_rnn_test.py to run for SYCL device
      
      * [OpenCL] Minor optimizations for build script
      
      * [OpenCL] Enables skip folder list in build script
      
      * [OpenCL] Fixes ApplyAdamOp for Sycl device
      
      * [OpenCL] SYCL device improvements
      
      * [OpenCL] Fixes debug_ops's SEGFAULT for SYCL device
      
      * [Build] Adds hexagon to skipped folders list
      
      * [OpenCL] Removes EnterLameDuckMode from SYCL device and allocator
      
      * [OpenCL] Registers Unique Op for SYCL device
      
      * [OpenCL][Temporary] Disables tests for SYCL target due to features not being implemented yet
      
        Tests affected:
          - tensorflow/contrib/memory_stats/python/kernel_tests/memory_stats_ops_test.py
          - tensorflow/contrib/rnn/python/kernel_tests/core_rnn_test.py
          - tensorflow/python/kernel_tests/conv_ops_test.py
          - tensorflow/python/kernel_tests/depthwise_conv_op_test.py
          - tensorflow/python/kernel_tests/pooling_ops_3d_test.py
          - tensorflow/python/kernel_tests/pooling_ops_test.py
          - tensorflow/python/kernel_tests/scatter_nd_ops_test.py
          - tensorflow/python/training/adam_test.py
          - tensorflow/python/training/localhost_cluster_performance_test.py
          - tensorflow/python/training/training_ops_test.py
      
      * [OpenCL][Temporary] Disables failing tests for SYCL in order to establish regression baseline
      
        Tests affected:
          - tensorflow/python/debug/cli/analyzer_cli_test.py
          - tensorflow/python/debug/lib/session_debug_testlib.py
          - tensorflow/python/debug/lib/stepper_test.py
          - tensorflow/python/kernel_tests/unstack_op_test.py
          - tensorflow/python/ops/image_ops_test.py
      
      * [OpenCL] Take options.config.device_count() into consideration
      
      * [OpenCL] Fixes compilation warning
      
      * [OpenCL] device:SYCL:0 -> sycl:0
      
      * [OpenCL] Removes unwanted flags in building script
      
      Removes flags given to computecpp that enable SIMD instructions
      Removes duplicate flags
      
      * bool -> const bool
      
      * [OpenCL] sycl in test_util.gpu_device_name() -> is_sycl_enabled()
      
      * [OpenCL][Temporary] Disables failing tests for SYCL in order to establish regression baseline
      
        Test affected:
          - tensorflow/contrib/stateless/python/kernel_tests/stateless_random_ops_test.py
      
      * Imports test_util from tensorflow.python.framework
      
      * [OpenCL] Fixes formatting in Python code
      
      * [OpenCL] Extends session_test.py to cover SYCL device
      
      * [OpenCL] Cleans singleton class
      
      * [OpenCL] Keeping CUDA happy
      
      * [OpenCL][Temporary] Disables failing tests for SYCL in order to establish regression baseline
      
        Test affected:
         - tensorflow/contrib/rnn/python/kernel_tests/core_rnn_cell_test.py
         - tensorflow/contrib/seq2seq/python/kernel_tests/beam_search_ops_test.py
      
      * Added support for building with SYCL on ARM.
      
      * Acts on the review feedback from:
       - #9117#discussion_r113608975
       - #9117#discussion_r113609173
      
      * [OpenCL] Fixes scatter_nd_op_test
      
      * Fixes auto-merge mistake
      
      * [OpenCL] struct SyclDevice -> class SyclDevice
      
      * Revert "[OpenCL] struct SyclDevice -> class SyclDevice"
      
      This reverts commit addd43348c374a5379f67bb1e5ad084715722fc2.
      
      * [OpenCL] Reverting refactoring commit.
      
        As requested in the review #9117#issuecomment-298454466
        This change set will be re-introduced in smaller chunks.
      
      * Revert "[OpenCL] device:SYCL:0 -> sycl:0"
      
      This reverts commit cf16e60340b62d16c3764d71b716fe03d35f87a9.
      
      * Revert "[OpenCL] Adds SYCL to device backwards compatibility"
      
      This reverts commit b8401b5164199b7a169be1c1d8dea5001195c390.
      
      * Acts on the feedback from #9117#discussion_r115036905
      
      * control_flow_ops_py_test.py expects device name to be lower cased
      
      * Acts on the feedback from #9117#discussion_r115037222
      
      * Removes debug print
      
      * Removes not needed partial specialisation
      
      * [OpenCL] Registers ScatterNdFunctor for SYCL device
      
      * [OpenCL] Make it compile
      
      * [OpenCL] Follow gpu_device changes
      
      * [OpenCL] Adds cxx_builtin_include_directory for python lib
      
        Fixes bazels missing undeclared inclusions that appeared after
        merge with TensorFlow upstream
      
      * [OpenCL] Fixes Constant Op
      
      * [OpenCL] gXX-4.8 -> gXX
      
      * [OpenCL] Removes -D_GLIBCXX_USE_CXX11_ABI=0 as it breaks default compiler setup for Ubuntu 16.04
      
      * Revert "[OpenCL] kernel_estimator_test.py assertEqual-> assertAlmostEqual due to floating point representation on the device"
      
      This reverts commit 06c50c0a485f40c30a436f02c3fa7794e370c49d.
      
      * [OpenCL] CPU allocator is a singleton we should not delete it
      
      ---
      Commit 7aac2395 authored by Blake Hechtman<blakehechtman@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Merge a copies of copies.
      
      PiperOrigin-RevId: 157549434
      
      ---
      Commit 37d9d5f0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add some routines for managing summaries to slim.
      
      PiperOrigin-RevId: 157541902
      
      ---
      Commit d58cd296 authored by Justine Tunney<jart@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix weblas license mirror URL
      
      PiperOrigin-RevId: 157537115
      
      ---
      Commit 5c13ee13 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Make images-related logic use the images plugin.
      
      Previously, fetching images and related data from TensorBoard used handlers within application.py. We now remove those handlers in favor of routes offered by the images plugin. ML Dash is updated as well.
      
      PiperOrigin-RevId: 157536471
      
      ---
      Commit 60394a3d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Reduce size of the no-winograd tests, but still large enough that
      ShouldIncludeWinogradNonfusedAlgo returns true.
      
      PiperOrigin-RevId: 157535386
      
      ---
      Commit 9501c410 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Replace protobuf CopyFrom with assignment
      
      PiperOrigin-RevId: 157534272
      
      ---
      Commit 96698f7f authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf contrib seq2seq] Improve BeamSearchDecoder's ability to handle unknown shapes.
      
      Updated unit tests to contain inputs of unknown shape (at graph build time).
      Found an issue in the gather helper that stops it from properly propagating
      the batch size of the output shape.  This caused problems with tf.while_loop.
      Fixed.
      
      PiperOrigin-RevId: 157533937
      
      ---
      Commit 5c73d010 authored by Neal Wu<wun@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Batch norm docs fix applied to _fused_batch_norm as well
      
      PiperOrigin-RevId: 157530527
      
      ---
      Commit abd4aa49 authored by Jonathan Hseu<jhseu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix docs for tf.abs() and tf.pow().
      
      PiperOrigin-RevId: 157528475
      
      ---
      Commit dd5ad691 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Declarations of operators to support batch norm in xla
      
      PiperOrigin-RevId: 157527596
      
      ---
      Commit bbeaa130 authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix the expand_dim for label and weight for classifier heads.
      
      PiperOrigin-RevId: 157524909
      
      ---
      Commit 346021ab authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Cleanup: Use C++ casts, remove redundant casts, use CHECK_OK
      
      PiperOrigin-RevId: 157522142
      
      ---
      Commit e405b0f6 authored by Francois Chollet<fchollet@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Refactoring of layer name autogeneration, to remove a graph serialization warning.
      
      PiperOrigin-RevId: 157520123
      
      ---
      Commit 5784e1e3 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add HasOutputProperties to check for pruned ops; Return
      device name instead of casting it to a short name (GPU:0/CPU:0); VLOG(2) when printing op device placement since it is a lot of output.
      
      PiperOrigin-RevId: 157519077
      
      ---
      Commit 2994444b authored by Peter Hawkins<phawkins@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Issue a more user-friendly error message if a variable's initializer is from inside a control-flow scope, such as tf.cond() or tf.while_loop().
      
      Fixes #8604.
      
      PiperOrigin-RevId: 157516279
      
      ---
      Commit da2daf06 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused using declarations
      
      PiperOrigin-RevId: 157513772
      
      ---
      Commit 8b2e8b56 authored by Derek Murray<derek.murray@gmail.com>
      Committed by gunan<gunan@google.com>:
      Exclude Python test files from CMake PIP package. (#10302)
      
      * Exclude *_test.py files from the CMake-built PIP package.
      
      * Add stray _test.py file to the PIP package.
      
      * Nit. Convert tabs to spaces in tf_python.cmake
      
      ---
      Commit 2249a4ea authored by Dan Ringwalt<ringwalt@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix control reaching the end of ProjectiveGenerator.
      
      PiperOrigin-RevId: 157510013
      
      ---
      Commit 040e2e20 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unneeded check for has properties in grappler.
      
      PiperOrigin-RevId: 157507665
      
      ---
      Commit 68400695 authored by Yun Peng<pcloudy@google.com>
      Committed by gunan<gunan@google.com>:
      Windows: Remove session_test from bazel_test_lib.sh (#10274)
      
      It was disabled in 49b17146
      ---
      Commit 890a0a40 authored by Gunhan Gulsoy<gunan@google.com>
      Committed by Gunhan Gulsoy<gunan@google.com>:
      Upgrade TF ci build and docker files to use bazel 0.5.0
      
      ---
      Commit 46db634e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Only run the no-winograd tests once each.
      Only run the no-winograd tests on GPU; this also fixes
      timeouts in asan and msan.
      
      PiperOrigin-RevId: 157505317
      
      ---
      Commit a6cd4e73 authored by Dandelion Man?<dandelion@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove all TB build references that circumvent TF's public API.
      
      This doesn't actually remove all the code references, lots of code references continue to work despite the BUILD references being removed. I think this is because depending on the public api transitively makes all of TensorFlow's guts available too.
      
      PiperOrigin-RevId: 157502987
      
      ---
      Commit dcc3cdce authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove redundant get() calls and string conversions
      
      PiperOrigin-RevId: 157497932
      
      ---
      Commit af2b9d87 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix the trace inputs functionality of the graph explorer.
      
      After migrating to d3 v4, the graph can no longer directly index into d3.Selections to obtain elements. Instead, we must use the nodes method of d3.Selection to generate an array of selected elements.
      
      PiperOrigin-RevId: 157493509
      
      ---
      Commit 5cf48458 authored by Jacques Pienaar<jpienaar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Small test that performs A*B+A and A*B+B.
      
      PiperOrigin-RevId: 157492992
      
      ---
      Commit b2355913 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by drpngx<drpngx@users.noreply.github.com>:
      remove some invalid entries (#10294)
      
      I noticed that some entries don't exist (anymore).
      This seems to be some kind of a consistency issue.
      
      More specifically:
      `tensorflow/contrib/ios_examples/camera/data`
      `tensorflow/contrib/session_bundle/testdata/saved_model_half_plus_two`
      `tensorflow/contrib/session_bundle/testdata/saved_model_half_plus_two/variables`
      
      This is the continuation of PR #10264
      ---
      Commit 367ec84f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add SampleEmbeddingHelper to do sampling at inference time
      
      PiperOrigin-RevId: 157487623
      
      ---
      Commit a3ba225d authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add BatchMatMul execution cost prediction
      
      PiperOrigin-RevId: 157487507
      
      ---
      Commit 34a29fc3 authored by Eric Liu<ioeric@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [TF:XLA] preserve metadata when replacing HLO instructions.
      
      The motivation is to add metadata for HLO instructions that are created to replace existing HLO instructions during optimizations. The assumption is that the old instruction and the new instruction would perform the same function, and that they would be correlated to the same TF op. This might not always be correct since HLO optimizations can cross TF op boundaries. But still this seems to be better than nothing.
      
      Note that this still doesn't fully resolve missing OpMetadata after HLO optimizations; new instructions might be added without using ReplaceInstruction.
      
      PiperOrigin-RevId: 157484394
      
      ---
      Commit 092a7b6e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Disable keras lstm test in tsan.
      
      PiperOrigin-RevId: 157484268
      
      ---
      Commit 7280dafc authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use "empty" member function to test for emptiness
      
      PiperOrigin-RevId: 157483181
      
      ---
      Commit 6c3b1591 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Expands integration tests in dnn_test.
      
      PiperOrigin-RevId: 157476608
      
      ---
      Commit 727193b1 authored by Androbin<robin.richtsfeld@gmail.com>
      Committed by drpngx<drpngx@users.noreply.github.com>:
      add missing import for `signal` package (#10264)
      
      * add missing import for `signal` package
      
      * add missing dependency for `signal` package
      
      * Update tf_python.cmake
      
      ---
      Commit 21461213 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused BUILD dependencies
      
      PiperOrigin-RevId: 157473460
      
      ---
      Commit 4788ca2b authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix handling of Infinity/NaN in line chart domain
      
      Test Plan:
        - Use the script listed below to generate data that has enough
          infinities for these values to not be treated as outliers.
        - Load the data into TensorBoard (`--logdir /tmp/infbug`) and look at
          the scalars plot; also look at the console.
        - Before this change, the chart is completely blank, and there is a
          console warning: "QuantitativeScales cannot take NaN or Infinity as
          a domain value. Ignoring."
        - After this change, there is no console output, and the chart appears
          as intended: a reasonable domain is shown, and the infinities just
          shoot off the chart.
      
      Generating script:
      ```py
      import tensorflow as tf
      
      LOGDIR = '/tmp/infbug'
      STEPS = 134
      
      def main():
        x = tf.Variable(3.1415)
        y = x.assign_add(x)
        tf.summary.scalar('y', y)
        summ = tf.summary.merge_all()
      
        sess = tf.Session()
        writer = tf.summary.FileWriter(LOGDIR)
        writer.add_graph(sess.graph)
        sess.run(tf.global_variables_initializer())
        for step in xrange(STEPS):
          writer.add_summary(sess.run(summ), step)
        writer.close()
      
      if __name__ == '__main__':
        main()
      ```
      
      PiperOrigin-RevId: 157472340
      
      ---
      Commit 49476a62 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Remove unused namespace aliases
      
      PiperOrigin-RevId: 157468609
      
      ---
      Commit d8307484 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Use "nullptr" for null pointer values
      
      PiperOrigin-RevId: 157468186
      
      ---
      Commit b73fea6e authored by Tim Harley<tharley@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Refactor `tf.Operation.traceback` implementation in to methods of tf.Graph.
      
      Adds an `_extract_frame_info` method to allow derived classes to extend the
      information available in each op traceback, if desired. The default result of
      `tf.Operation.traceback` is unchanged.
      
      Also fixes a poorly scoped `pylint disable=line-too-long`, so adds the necessary
      enable/disable blocks to silence pylint for the offending docstrings.
      
      PiperOrigin-RevId: 157466174
      
      ---
      Commit f7ca8db7 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [XLA] Improve shape inference error messages for DynamicSlice/DynamicUpdateSlice.
      
      PiperOrigin-RevId: 157461335
      
      ---
      Commit 8c2a079e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Adding a slot / accumulator warmstart initializer that overrides the provided partitioner at call time with one passed at construction time.  This is intended to be used for slot Variables (such as accumulators) associated with Optimizers, since these Variables are created in a fashion that relies on replicating the exact shape of the associated primary variables (see slot_creator).
      
      PiperOrigin-RevId: 157453498
      
      ---
      Commit 73d10599 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Default CUDNN_HOME to CUDA_TOOLKIT_TARGET_DIR. The cuDNN distro is most naturally installed in the same directory as the CUDA SDK, so try to find it there if the user doesn't specify any other directory.
      
      PiperOrigin-RevId: 157436253
      
      ---
      Commit eb7cf933 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: 157429266
      
      ---
      Commit 346dcc0a authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 157429078
      
      ---
      Commit 3d5ede13 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update documentation for sparse_matmul op to reflect gradient calculation.
      
      PiperOrigin-RevId: 157428135
      
      ---
      Commit 822d64f0 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix embedding_lookup() bug where normalization did not work with ids of rank != 1.
      
      PiperOrigin-RevId: 157422220
      
      ---
      Commit 8cad6b82 authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Improve the error message for live set memory check.
      
      PiperOrigin-RevId: 157415647
      
      ---
      Commit 34dcd5b4 authored by Eugene Brevdo<ebrevdo@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      [tf contrib seq2seq] Bugfixes to BeamSearchDecoder
      
      Implementation by Cinjon Resnick.  He can't push this since he's traveling.
      I just copied the fix and added some small syntax tweaks to make the unit
      tests pass.  More comprehensive unit tests will come in the near future.
      
      Fixes at least part of #9904.
      
      BeamSearchDecoder:
      1. Fix the bug where we don't pass the next cell state through.
      2. Gather the cell state (and attention if that's a part of the model
         as an AttentionWrapper on the cell) according to the next_beam_ids.
      PiperOrigin-RevId: 157415564
      
      ---
      Commit f7ae1461 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix oversampling in the GPU version of multinomial due to an error in generating
      gumbel noise.  -log(-log(U)) gives infinity if U draws a hard 0.  Adds a tiny
      offset to U (2e-30) to avoid log(U) = -inf.
      
      The CPU sampling algorithm depends on the order of the logits which is
      undesirable and can also oversample the first logit if it is smaller than the
      smallest random float larger than 0 (~1e-7).  Switching to double precision
      internally mitigates these problems, although it doesn't fix them.  Slowdown
      is ~35% in the worst case.
      
      Also adds various tests that we would like the sampling to pass.
      
      CPU Benchmark before:
      
      32 10000 1 0.060 0.069 0.87
      32 10000 4 0.229 0.074 3.10
      32 10000 32 2.180 0.059 37.09
      32 100000 1 0.430 0.480 0.90
      32 100000 4 2.322 0.449 5.17
      32 100000 32 31.508 0.471 66.96
      128 10000 1 0.168 0.235 0.71
      128 10000 4 0.965 0.246 3.93
      128 10000 32 7.989 0.225 35.51
      128 100000 1 1.681 1.539 1.09
      128 100000 4 9.012 1.57 35.73
      128 100000 32 126.222 1.626 77.60
      
      CPU Benchmark after:
      
      32 10000 1 0.054 0.112 0.48
      32 10000 4 0.206 0.093 2.21
      32 10000 32 1.826 0.091 20.12
      32 100000 1 0.292 0.636 0.46
      32 100000 4 2.086 0.606 3.44
      32 100000 32 28.496 0.633 45.03
      128 10000 1 0.125 0.266 0.47
      128 10000 4 0.759 0.258 2.94
      128 10000 32 7.362 0.254 29.03
      128 100000 1 1.550 2.18 10.71
      128 100000 4 8.712 2.22 23.92
      128 100000 32 122.585 2.213 55.39
      
      PiperOrigin-RevId: 157414849
      
      ---
      Commit 62cf561f authored by Jianwei Xie<xiejw@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add numpy_input_fn integration for LinearRegressor and fix the expand_dim for label and weight.
      
      PiperOrigin-RevId: 157405237
      
      ---
      Commit 40c7e0dd 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: 157402364
      
      ---
      Commit 2726c00c authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 157402063
      
      ---
      Commit e9d2fba8 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix comment describing ignore_longer_outputs_than_inputs.
      
      PiperOrigin-RevId: 157400110
      
      ---
      Commit 5f097217 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      An initial step of eliminating all implicit broadcast at the HLO level.
      Guard the shape inference for binary ops behind a flag.
      
      PiperOrigin-RevId: 157373647
      
      ---
      Commit e78e5ec8 authored by Yangzihao Wang<yangzihao@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Set winograd nofused flag to be true by default.
      
      Disable winograd nonfused conv for certain input params to avoid a known bug in cuDNNv5 and cuDNNv6.
      
      PiperOrigin-RevId: 157352847
      
      ---
      Commit 3f9b69a5 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      In the CUDA path of depthwise_conv2d, add a fast variant for forward convolution when the input images are smaller than 16x16.
      
      PiperOrigin-RevId: 157347823
      
      ---
      Commit 848123e6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix incorrect condition to instantiate depthwise_ops introduced in commit 15d9f00f. The change should have excluded depthwise_conv2d for doubles on windows debug builds, but it excluded it for all windows and all debug builds.
      
      PiperOrigin-RevId: 157345929
      
      ---
      Commit 060d67b3 authored by Taehoon Lee<taehoonlee@snu.ac.kr>
      Committed by Taehoon Lee<taehoonlee@snu.ac.kr>:
      Fix typos
      
      ---
      Commit 409419bc authored by Mark Daoust<markdaoust@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      add closing code quotes
      
      PiperOrigin-RevId: 157339360
      
      ---
      Commit d20d0a62 authored by Jonathan Hseu<jhseu@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Fix the contrib estimator_test by updating the global step in all the appropriate spots.
      
      PiperOrigin-RevId: 157328239
      
      ---
      Commit d1144d3a authored by Juang, Yi-Lin<b02901026@ntu.edu.tw>
      Committed by Juang, Yi-Lin<b02901026@ntu.edu.tw>:
      Fix typos
      
      ---
      Commit fa8bb43b authored by lanhin<lanhin1@gmail.com>
      Committed by lanhin<lanhin1@gmail.com>:
      Fixed a comment typo in GraphView:InitializeNode(), executor.cc.
      
      ---
      Commit 9f13ae93 authored by Asim Shankar<ashankar@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Java: Update Maven release to 1.2.0-rc1
      
      PiperOrigin-RevId: 157294719
      
      ---
      Commit c8256769 authored by Gunhan Gulsoy<gunan@google.com>
      Committed by Gunhan Gulsoy<gunan@google.com>:
      Address comments and sanity check failures.
      
      ---
      Commit 344225a6 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Update ops-related pbtxt files.
      
      PiperOrigin-RevId: 157292254
      
      ---
      Commit eb2f6d04 authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      VLOG(2) instead of VLOG(1) for detailed op printouts.
      
      PiperOrigin-RevId: 157291238
      
      ---
      Commit b4466279 authored by Shanqing Cai<cais@google.com>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      tfdbg: add runtime shape and dtype info to DebugNumericSummary
      
      PiperOrigin-RevId: 157291215
      
      ---
      Commit 4fb2425f authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      Add GraphOptimizer to Grappler item builder to do L1 optimizations and
      inlining.
      
      Op Counts Comparison (BNMT)
      Counts: Profile vs Grappler
      Op: Add, 968 vs 965
      Op: AddN, 2228 vs 2228
      Op: ApplyGradientDescent, 84 vs 84
      Op: BatchMatMul, 998 vs 998
      Op: Identity, 142 vs 105
      Op: MatMul, 63 vs 63
      Op: Mul, 10318 vs 10306
      Op: OneHot, 1 vs 1
      Op: Reshape, 8421 vs 8422
      Op: Select, 488 vs 488
      Op: Shape, 8132 vs 8131
      Op: Sigmoid, 942 vs 942
      Op: Softmax, 19 vs 19
      Op: StridedSlice, 58 vs 74
      Op: Sub, 1398 vs 1394
      Op: Tanh, 333 vs 333
      Op: Tile, 21 vs 21
      Op: Transpose, 39 vs 39
      PiperOrigin-RevId: 157288420
      
      ---
      Commit 8918fa9e authored by A. Unique TensorFlower<gardener@tensorflow.org>
      Committed by TensorFlower Gardener<gardener@tensorflow.org>:
      BEGIN_PUBLIC
      Automated g4 rollback of changelist 157272843
      
      PiperOrigin-RevId: 158534336
      1b5235fd
  18. 06 5月, 2017 1 次提交
  19. 22 4月, 2017 1 次提交
  20. 21 4月, 2017 1 次提交
  21. 08 4月, 2017 1 次提交
  22. 05 4月, 2017 1 次提交
  23. 11 3月, 2017 1 次提交
  24. 02 3月, 2017 1 次提交
  25. 18 2月, 2017 1 次提交
  26. 09 2月, 2017 1 次提交
  27. 10 1月, 2017 1 次提交
  28. 03 1月, 2017 1 次提交
  29. 23 12月, 2016 1 次提交
  30. 15 12月, 2016 1 次提交
  31. 09 12月, 2016 1 次提交
    • A
      Merge changes from github. · 1cb96893
      Andrew Harp 提交于
      Additionally:
      - change single quotes to double quotes to make path rewriting easier
      - guard windows lib reference with PLATFORM_WINDOWS
      - fixed failing kmeans test
      Change: 141515942
      1cb96893
  32. 18 11月, 2016 2 次提交
  33. 10 11月, 2016 1 次提交
  34. 04 11月, 2016 1 次提交
  35. 29 10月, 2016 1 次提交
  36. 21 10月, 2016 1 次提交
  37. 11 10月, 2016 1 次提交