f126da78c760f812c00027aeaf083988d44e26fe |
|
17-Feb-2018 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Tweak `tf.slice` documentation. Add the input argument (`foo`) to `tf.slice` example so that it actually works if it were run. Previously, the input argument was missing (perhaps implied), but the example is clearer with its inclusion. PiperOrigin-RevId: 186105694
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d90054e7c0f41f4bab81df0548577a73b939a87a |
|
07-Feb-2018 |
Michael Case <mikecase@google.com> |
Merge changes from github. PiperOrigin-RevId: 184897758
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
ab06a9c865abe58b882ea76a3bf008799c4c0ea4 |
|
05-Feb-2018 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fixed sequence_mask behavior on unknown shape. `sequence_mask` crashed when fed with a tensor of unknown rank. Added a test for that, and expanded a bit existing tests. Also fixed pre-existing lint errors. PiperOrigin-RevId: 184493239
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
2968447d32bdfd0dd6fafabfcd1aafd6dc261803 |
|
23-Jan-2018 |
Anna R <annarev@google.com> |
Adding tf_export decorators/calls to TensorFlow functions and constants. PiperOrigin-RevId: 182862075
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d8697935d334bb0f2e1c9bccfe9a2a7bee9785cc |
|
17-Jan-2018 |
Sourabh Bajaj <sourabhbajaj@google.com> |
Merge changes from github. PiperOrigin-RevId: 182258809
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8297cb6f5af797398578f05d1660608ad9b6161c |
|
12-Jan-2018 |
Dan Ringwalt <ringwalt@google.com> |
Clarify the _slice_helper (Tensor.__getitem__) docs. Scalar tensors are allowed. PiperOrigin-RevId: 181787643
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
c4ef927b5eaf144dbf1e0419c0d1d3fd968177bd |
|
10-Jan-2018 |
Frank Chen <frankchn@google.com> |
Merge changes from github. PiperOrigin-RevId: 181494416
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
2f0c40624112bfdcf4e284aeb862c5f51761e909 |
|
06-Jan-2018 |
Alexandre Passos <apassos@google.com> |
Does not use constants for zeros/ones. PiperOrigin-RevId: 180981378
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
cfc1de550abdfbc35083d0bd5f7fe84f8897282d |
|
05-Dec-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix tf.identity(resource variable) with eager execution and a device copy. PiperOrigin-RevId: 177891209
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8f1e63d5629bda4f6c91fdec7a3b8418ed96786e |
|
04-Dec-2017 |
Anna R <annarev@google.com> |
Actually use ApiDef when generating Python API. PiperOrigin-RevId: 177851421
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
da105bfabc311840024b40d484dd1cd234697e23 |
|
02-Dec-2017 |
Vinu Rajashekhar <vinuraja@google.com> |
Adds a GuaranteeConstOp. - Acts as indicator for the TF runtime to make possible optimizations by treating the input tensor as a constant. PiperOrigin-RevId: 177656212
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b1d8c59e9b014b527fb2fbef9ce9afc14dbc4938 |
|
22-Nov-2017 |
Yifei Feng <yifeif@google.com> |
Merge changes from github. PiperOrigin-RevId: 176695926
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e70c00950d295c519fd9c7f8b12e13a3c5aaf710 |
|
22-Nov-2017 |
Yifei Feng <yifeif@google.com> |
Automated g4 rollback of changelist 176615107 PiperOrigin-RevId: 176622438
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
ad7eeec1cc06d7fdba6ee404f03a35fab9cd3e6a |
|
22-Nov-2017 |
Yifei Feng <yifeif@google.com> |
Automated g4 rollback of changelist 176615737 PiperOrigin-RevId: 176621645
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d0a3b2d3983b970b750329088013dc5cb67d96f9 |
|
22-Nov-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Merged commit includes the following changes: 176617057 by yifeif: Internal change. -- 176615737 by yifeif: Fix internal tests. -- PiperOrigin-RevId: 176617057
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
c6d603f02e1a98f871912cda6716cdcbed6b439e |
|
22-Nov-2017 |
Yifei Feng <yifeif@google.com> |
Merge changes from github. PiperOrigin-RevId: 176615107
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
892febff7e1655d368a1b354a0f4563f65124d2d |
|
20-Nov-2017 |
Max Galkin <maxgalkin@google.com> |
Clarifications in the doc comment for `tf.strided_slice`. Also removed the angle brackets, which caused some words to disappear in the web version of the doc. PiperOrigin-RevId: 176395531
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
2d682f84c186f7aca37d8e6e1b08c731dcc978e9 |
|
08-Nov-2017 |
Igor Ganichev <iga@google.com> |
Give a better error message when placeholders are used with eager PiperOrigin-RevId: 175053592
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
44be285351ea465db6b4c32807fb1503c5e74531 |
|
04-Nov-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Don't generate ConjugateTranspose nodes for real tensors. Doing so is not an error, but makes graph rewriting optimizations slightly less efficient. Use dtype.is_complex instead of dtype in (dtypes.complex64, dtypes.complex128) in a few places. PiperOrigin-RevId: 174531912
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7a3d505854b55814ab6e036c45601b656ec35942 |
|
03-Nov-2017 |
Alexandre Passos <apassos@google.com> |
Allowing __iter__ over 1+dimensional tensors with known shapes. PiperOrigin-RevId: 174484601
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
88917888f509e3e61ffe632534476e7b09d3326a |
|
02-Nov-2017 |
Andrew Harp <andrewharp@google.com> |
Merge changes from github. END_PUBLIC --- Commit d77b99809 authored by Yong Tang<yong.tang.github@outlook.com> Committed by gunan<gunan@google.com>: Update docs for `begin_params_axis` (#13979) This fix fixes the issue raised in 13975 where `begin_shift_axis` is actually `begin_params_axis`. This fix fixes 13975. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit e6a242b4e authored by Yifei Feng<fengyifei2026@gmail.com> Committed by gunan<gunan@google.com>: Add GCC/Compiler version to issue template. (#14113) As suggested in #13930 --- Commit 7ece1c0b8 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Moving model_pruning library to tf.contrib PiperOrigin-RevId: 174214419 --- Commit 693325c83 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Log the full traceback in Coordinator.request_stop if it's available PiperOrigin-RevId: 174213375 --- Commit 6c4a769ab authored by Mark Daoust<markdaoust@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Delete duplicate label_image script. The version in examples/label_image is more complete (with image size and normalization options), so it can be used with `mobilenets`. Also: removed bazel from main tutorial instructions. PiperOrigin-RevId: 174212674 --- Commit 7a5b81c29 authored by Yao Zhang<yaozhang@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Materialize shape for ShapeN. PiperOrigin-RevId: 174211500 --- Commit 78041b1dd authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: internal change PiperOrigin-RevId: 174211190 --- Commit 2118fcf62 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: BUILD cleanup in contrib/tensor_forest/... PiperOrigin-RevId: 174201884 --- Commit 6849ef8f6 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: internal change. PiperOrigin-RevId: 174197506 --- Commit 37370d98f authored by resec<resec0109@gmail.com> Committed by gunan<gunan@google.com>: Support more Android arch in Makefile build (#12806) * Support more Android arch in Makefile build * update Makefile * fix MARCH_OPTION * persist multiple architectures across builds * persist multiple architectures across builds * persist multiple architectures across builds * persistence bug fix * persistence bug fix * persistence bug fix * add -latomic to linker flags for benchmark * Change ANDROID_OS_ARCH to ANDROID_HOST_OS_ARCH --- Commit c40d54173 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Exposes recall_at_top_k under tf.metrics. PiperOrigin-RevId: 174189641 --- Commit 18bf5b2d9 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Return a classifier score of the same type as the logits. PiperOrigin-RevId: 174184871 --- Commit 9da02be11 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Make 'collections' a list, as documented and expected by downstream custom getters. PiperOrigin-RevId: 174184867 --- Commit 16b0bb095 authored by loki der quaeler<quaeler@users.noreply.github.com> Committed by gunan<gunan@google.com>: Adding a feed for boolean tensors to TensorFlowInferenceInterface (#14059) * Sublime Text index-ignore file (a copy of .gitignore) * Adding the requested implementation to TensorFlowInferenceInterface * Removing Sublime Text .ignore file from remote repository * indeed there was --- Commit fa9d8aab4 authored by Urs K?ster<ursk@users.noreply.github.com> Committed by gunan<gunan@google.com>: Add 'log_progress' argument for tf.estimator.Estimator's evaluate function (#13695) * Add argument for tf.estimator.Estimator's evaluate function * add log_progress argument to ._convert_eval_steps_to_hooks for TPU estimator * log only every 10th step if more than 100 iterations in _StopAfterNEvalsHook * ensure last step is logged and aim for 10 outputs total --- Commit 07a91dac5 authored by nolan liu<nolan.liou@gmail.com> Committed by gunan<gunan@google.com>: make `gather` cpu kernel to be multiple threads. (#12246) * Change the gather op to multi-thread. * Modify the gather kernel of xla compiler in order to be compatible with multi-threads cpu kernel. * Add prefetch logic to gather op kernel. * Update the indention of gather op kernel code. * Update the gather kernel code for multiple thread. * Remove reference to ealier version of code in gather functor. * Change the framework_lite dep of gather_functor to framework. * Remove mutex guard in gather functor. --- Commit a956486be authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Remove an erronous __attribute__((...)) tag. There is no __attribute__((guarded)) or __attribute__((pt_guarded)) attribute in Clang, and if we turn on warnings for unknown attributes (which are currently turned off), this causes build failures. This means that, when the warnings are turned off, this is simply a no-op. PiperOrigin-RevId: 174134252 --- Commit 27412f3b6 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add compiler/tf2xla/sharding_util.h with utilities for getting the core device from a Node. PiperOrigin-RevId: 174133602 --- Commit ab4349a26 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: BUILD cleanup in selected packages in contrib/... PiperOrigin-RevId: 174115744 --- Commit 4aa90bfd3 authored by Justin Lebar<jlebar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA] Add HLO matchers that check parameter numbers and GTE indices. This lets you do EXPECT_THAT(foo, op::Parameter(42)); and EXPECT_THAT(bar, op::GetTupleElement(baz, 8)); PiperOrigin-RevId: 174113597 --- Commit f97e7c69b authored by Olivia Nordquist<nolivia@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: partially exposing the _set_attr and _get_attr method in python PiperOrigin-RevId: 174113043 --- Commit 8e732a312 authored by Artem Belevich<tra@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Prefer cubin over PTX when we launch CUDA kernels. Native GPU code, if we have it, should be preferred over JIT compilation of PTX. PiperOrigin-RevId: 174110646 --- Commit 2ccf3aba4 authored by Eugene Brevdo<ebrevdo@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Permanently remove several modules from tf.contrib.bayesflow. These modules are very infrequently used and will not be developed moving forward. Removing this code paves the way for remaining modules in tf.contrib.bayesflow to move to their own repo. PiperOrigin-RevId: 174110067 --- Commit ef7052fbd authored by Andrew Selle<aselle@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Open source build support for TensorFlow Lite Toco. - Handle proto incompatibilities - Mixed bazel compatibility fixes. - Add link to absl libraries PiperOrigin-RevId: 174103981 --- Commit d6a9cd40c authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Fix "hides overloaded virtual function" error in default/gpu_tracer.cc when compiled with -Werror,-Woverloaded-virtual. PiperOrigin-RevId: 174101519 --- Commit b242a7988 authored by Mustafa Ispir<ispir@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Set metric variable initializers as lambda. PiperOrigin-RevId: 174100686 --- Commit 57b1c5621 authored by Alan Yee<alyee@ucsd.edu> Committed by drpngx<drpngx@users.noreply.github.com>: Add deprecation notes (#12614) * Update lookup_ops.py Minor comment fix * Update metrics_ops.py Add deprecated notes * Update tensor_util.py Update deprecated note on remove_squeezable_dimensions * Update metric_ops.py Add deprecated notes --- Commit 453dd5848 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: K-FAC: Support for tf.AUTO_REUSE when re-using registrations. Multi-tower support for FullFB, NaiveDiagonalFB. Removal of LayerCollection.generic_registrations. PiperOrigin-RevId: 174092003 --- Commit 0a7be5a2f authored by Sanjoy Das<sanjoy@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Rename (Add|Get)ProfileResult to something more specific; NFC PiperOrigin-RevId: 174084570 --- Commit f1916f8f6 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: - Remove slice hack to properly initialize missing entries in weight matrices - Add real support for EmbeddingColumns / input_layer() - Fix warmstarting for non-PartitionedVariables PiperOrigin-RevId: 174083777 --- Commit f567ddf87 authored by Alex Sergeev<alexander.sergeev@live.com> Committed by drpngx<drpngx@users.noreply.github.com>: Add tf.sysconfig.get_compile_flags() & tf.sysconfig.get_link_flags() for custom operators (#13496) * Add flags for custom op compilation * Move ABI logic into version_info.cc * Add #include <string> to be able to read _GLIBCXX_USE_CXX11_ABI value. * Make flags to be lists * Add _flag to cxx11_abi * Address review comment. * Move CXX import to the top level. * Add goldens update --- Commit 0cddb9bca authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Go: Update generated wrapper functions for TensorFlow ops. PiperOrigin-RevId: 174074499 --- Commit ba8c38959 authored by Neal Wu<wun@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Change wide_deep.md and wide.md to reference the TensorFlow official models version rather than the tf.contrib.learn version PiperOrigin-RevId: 174074112 --- Commit f3006422c authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Make `RunTrainOpsHook` public. PiperOrigin-RevId: 174073925 --- Commit 21dafd6d2 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Update ops-related pbtxt files. PiperOrigin-RevId: 174073569 --- Commit 66fc99a3b authored by Artem Belevich<tra@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA:GPU] Short-circuit compilation of no-op IR -> empty PTX. There's no point constructing/running LLVM pipeline if we know that we have no kernels in the IR we've generated for the given HLO op. This is often the case for ops we can optimize away at the HLO level. PiperOrigin-RevId: 174072540 --- Commit c911d0f16 authored by Dhananjay Nakrani<dhananjayn@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Switch over python calls to RandomPoissonV2. Part 2 of Support int32/64 in tf.random_poisson(). PiperOrigin-RevId: 174071745 --- Commit b5d5326c6 authored by Justin Lebar<jlebar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA:GPU] Fix race condition in gpu_compiler.cc. We were racing on libdevice_dir_. PiperOrigin-RevId: 174070334 --- Commit 35939d2d3 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [TF:XLA] Fix string to HLO opcode conversion for atan2, complex, imag and real. Make sure that we can't forget opcodes by auto-generating the conversion functions. Add auto-generated functions to test HLOs for properties (like IsVariadic, IsComparison, etc.) This makes changing HLO more robust and easier because there are fewer places to update when adding or removing an HLO opcode. Also: * Fix IsElementwiseBinary for atan2. * Add a unit test for HLO opcode helpers. * Express IsElementwiseBinary in terms of IsElementwise() and operand_count() to avoid having to keep the two in sync manually. PiperOrigin-RevId: 174069664 --- Commit 3b845c80d authored by Allen Lavoie<allenl@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Disable resnet50_graph_test under TSAN due to timeouts. PiperOrigin-RevId: 174066937 --- Commit 8a09bbc4a authored by Igor Ganichev<iga@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add TFE_Py_TensorShapeSlice function TFE_Py_TensorShapeSlice takes a list of EagerTensors and returns a list of their i'th dimensions. This utility is fairly niche but it is simple and reduces SPINN training time by over 12%. PiperOrigin-RevId: 174065044 --- Commit 585432cc2 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Refactor ArgMin / ArgMax index ops as XlaHelpers. PiperOrigin-RevId: 174061370 --- Commit e6faa845c authored by Michael Case<mikecase@chromium.org> Committed by gunan<gunan@google.com>: Merge v1.4-rc1 back into master branch. (#13960) * Update RELEASE NOTES for TensorFlow 1.4 * Update the version strings for TF 1.4-rc0. * Update version strings in POM files missed by update script. * Pin TensorBoard 0.4 to TensorFlow 1.4 * Fixing the name of the disabled test. (#13592) * Revert "Implementing ghost batch norm as defined in https://arxiv.org/pdf/1705.08741." This reverts commit 125f7afa4a483855dc75791445d2dea64587876a. * Disable iterator_ops_test on Windows for 1.4 release (#13609) * Disable failing Windows tests for r1.4 release. testRemoteIteratorUsingRemoteCallOpDirectSessionGPUCPU test is failing with "TypeError: only integer scalar arrays can be converted to a scalar index" on the Windows GPU Release bot. Disabling test. * Fix typo. * Also disalbe iterator_ops_test from contrib/. * Add contributing authors to 1.4 Release notes. Thanks! * Fixes to authors. Removed duplicate and removed googler from contributing author list. * Fixes and additions to release notes. Added line about Keras moving into core. Added line about CUDA/cuDNN versions. Added line about custom ops. * Fixing a master regression (#13562) * Update version strings for 1.4.0rc1 * Remaining cherry-picks for 1.4.0rc1 (#13700) * Java: Tweak to address some Javadoc errors. PiperOrigin-RevId: 171987329 * Fix S3 BUILD not including files explicitly. This causes remote builds to fail since they AWS headers were missing. PiperOrigin-RevId: 171718021 * Add missing default config setting in aws.BUILD (#13662) * Remove setting AWS logging for S3 file system. Was causing issues with tests. Can repro test failures on Macs by running... bazel test --config=s3 --cache_test_results=no --test_output=streamed //tensorflow/core/kernels:control_flow_ops_test Possible reason for error is symbol collision with AWS logging code. One possible solution would be to split out another shared object for the S3 filesystem op which does not link in libtensorflow_framework.so. This is done, for example, by libforestprotos.so in tensorflow/contrib/tensor_forest/BUILD PiperOrigin-RevId: 171246381 * Relanding change to add config to enable S3 file system support. Pass --config=s3 argument to Bazel to build with S3 file system support. Change was originally rolled back due to a failure it caused in //tensorflow/core/kernels:control_flow_ops_test on Macs which is now fixed. PiperOrigin-RevId: 171579378 * Update release notes about Amazon S3 file system support being default. * Add documentation to sloppy_interleave function PiperOrigin-RevId: 171303413 * Add `cudnn_rnn_ops` to the Windows build Fixes #13696. * Creating a patch for the wrong links that still point to dev. (#13753) * tfdbg release notes in r1.4 * Fix ambiguous type comparison in s3_crypto.cc (#13758) tensorflow/contrib/s3/s3_crypto.cc(74): error C2666: 'std::fpos<_Mbstatet>::operator ==': 3 overloads have similar conversions could be 'bool std::fpos<_Mbstatet>::operator ==(std::streamoff) const' or 'bool std::fpos<_Mbstatet>::operator ==(const std::fpos<_Mbstatet> &) We were seeing this compilation error on Windows builds. * Set estimator run_config default random seed to None. This will make it aligned with other parts of the TF. Many users are not aware of impact of non-random seed. For example it may lead to train only on a small fraction of training data due to preemptions. We're changing default behavior since we consider it as a bug fix. PiperOrigin-RevId: 172519268 * Move global_step_read dependency to model_fn instead of input_fn. PiperOrigin-RevId: 172366972 * [tf.data] Fix broken implementation of `Dataset.from_generator()` on Windows. Due to a mix-up between NumPy's default array element type for a Python `int` on Windows and Linux, a tf.py_func() in `Dataset.from_generator()` would appear to return the wrong type on Windows (np.int32 instead of np.int64). All code using `Dataset.from_generator()` on Windows was previously broken. This change fixes both `tf.data.Dataset.from_generator()` and `tf.contrib.data.Dataset.from_generator()`. It also enables test coverage for this method on Windows, which should prevent future breakage. PiperOrigin-RevId: 172346533 * Update RELEASE notes for change to run_config random seed. * Disable probable timeout flake on Ubuntu machines. PiperOrigin-RevId: 172408922 * Disabling failing contrib tests. * Disable S3 on Windows due to build issues. * Update serving_input_fn argument name to serving_input_receiver_fn PiperOrigin-RevId: 172787460 * Update the C++ API guide (#13858) - Adds the standard warning at the top that people may want the master branch - Includes a documentation fix for 1.4 (cc_binary -> tf_cc_binary to avoid undefined symbols). * Add known Dataset issue to RELEASE.md. (#13870) Adding info about issue using Unicode strings with Datasets. * Fixes to merge. * Fix spelling of tensorflow in install_sources.md --- Commit 6eac524ef authored by cglewis<clewis@iqt.org> Committed by cglewis<clewis@iqt.org>: Use 'LABEL maintainer=' in Dockerfile * Use 'LABEL maintainer=' in Dockerfile This fix is a follow up of 13961 to replace `MAINTAINER` with `LABEL maintainer=` in Dockerfile. The keyword `MAINTAINER` has long been deprecated and is replaced by `LABEL`, which is much more flexible and is easily searchable through `docker inspect`. This fix replaces remaining `MAINTAINER` with `LABEL`. Signed-off-by: Charlie Lewis <clewis@iqt.org> * Additional `MAITAINER` -> `LABEL` Signed-off-by: Charlie Lewis <clewis@iqt.org> --- Commit 469970260 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Modify quantization to support add ops that occur after Conv2D PiperOrigin-RevId: 174058697 --- Commit 938643b56 authored by Amit Patankar<amitpatankar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Replace the docker check with an OS check. PiperOrigin-RevId: 174057778 --- Commit 5f1a66ccb authored by Igor Saprykin<isaprykin@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add more recovery functionality to MonitoredSession.run_step_fn. Current implemention wouldn't recover from one of `_PREEMPTION_ERRORS` during a fetch through the raw session that is made available to the step_fn. The changelist presents a way to map the desired functionality to the hiearchy of _MonitoredSession > (possibly!) _RecoverableSession > _CoordinatedSession > _HookedSession. PiperOrigin-RevId: 174053865 --- Commit 9a2b0983a authored by Yifei Feng<fengyifei2026@gmail.com> Committed by gunan<gunan@google.com>: Add apt-key for ubuntu keyserver (#14114) --- Commit 479ee24a0 authored by Asim Shankar<asimshankar@gmail.com> Committed by gunan<gunan@google.com>: eager: Update broken link in README (#14136) --- Commit ad7bb2b9e authored by Asim Shankar<asimshankar@gmail.com> Committed by gunan<gunan@google.com>: eager: Update broken links in guide.md (#14135) --- Commit c37ebf0d5 authored by Thomas Deegan<tadeegan@gmail.com> Committed by gunan<gunan@google.com>: Resolve //tensorflow relative to tensorflow repo so that tfcompile.bzl can be correctly loaded from another Bazel project (#14103) --- Commit b2ff3ad96 authored by Mustafa Ispir<ispir@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Added GraphKeys.METRIC_VARIABLE collection. Added all variables under tf.metrics and tf.contrib.metrics into this collection. This will enable replication of model for evaluation. When we replicate a metric in multiple towers (let's say for each qpu we replicate same model/metric), we cannot reduce the output of metrics. On the other hand internal state (local-variables) of those metrics can reducible via sum. PiperOrigin-RevId: 174051559 --- Commit 98dad195d authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Adds sigmoid to the list of operations that can be recomputed. PiperOrigin-RevId: 174047825 --- Commit 123749fb1 authored by Yuan (Terry) Tang<terrytangyuan@users.noreply.github.com> Committed by Martin Wicke<martin.wicke@gmail.com>: Remove Scikit Flow link and description (#14036) --- Commit 0d118e4dc authored by Benoit Steiner<bsteiner@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Implemented tensorflow::port::NominalCPUFrequency() PiperOrigin-RevId: 174041196 --- Commit 648993e82 authored by Andrew Harp<andrew.harp@gmail.com> Committed by Andrew Harp<andrew.harp@gmail.com>: delete extraneous file --- Commit c2ff8a5ab authored by Mark Daoust<markdaoust@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Delete backticks PiperOrigin-RevId: 174030921 --- Commit 333ba224d authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Dependency information for Skylark macros PiperOrigin-RevId: 174023371 --- Commit 9ee0cecec authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Shrink the model size for unit test. PiperOrigin-RevId: 174001263 --- Commit c44f67a7e authored by Yifei Feng<fengyifei2026@gmail.com> Committed by gunan<gunan@google.com>: Disable clang_format check. (#14115) Different clang_format version can cause different formats with the same style option. This check might be too strict. Disable for now. --- Commit a6a618843 authored by Asim Shankar<ashankar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: eager: Documentation and example models. - Updated README - A preliminary "User's Guide" - A few example models, some with benchmarks PiperOrigin-RevId: 173996303 --- Commit de38e5dff authored by ???<dev@goodow.com> Committed by GitHub<noreply@github.com>: fix broken link --- Commit cd81bc8e0 authored by Rohan Jain<rohanj@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Adds a PrefetchWithFn op to contrib/data. Alongwith the FunctionBufferingResource, this can be used to prefetch and fill up a buffer by making repeated function calls. Also fixes a TODO in the ProcessFLR implementation to respect alloc_attrs for Rendezvous calls. PiperOrigin-RevId: 173990680 --- Commit 17695212c authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [TF:XLA] Don't pass HLO operands in HandleAtan2. This makes it consistent with the rest of the Visit methods where we only pass the HLO itself. PiperOrigin-RevId: 173990595 --- Commit 113be5746 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: A few profiler improvements 1. Track the full allocation history of each tensor, visualized in timeline. 2. Better ProfileContext for tracing step selection. 3. Small bug fix. PiperOrigin-RevId: 173988293 --- Commit 6d1263cdf authored by Justin Lebar<jlebar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA] Remove dead opcode kIndex. PiperOrigin-RevId: 173987428 --- Commit a4b5356e4 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [TF:XLA] Reduce boilerplate code in HLO visitors. Only pass the HloInstruction into visitor methods. This makes changing instructions and visitors easier. PiperOrigin-RevId: 173983398 --- Commit d9cee35b6 authored by LevineHuang<levinehuang@163.com> Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>: Typo fix in file 'fully_connected_feed.py' (#14033) * Typo fix in file 'fully_connected_feed.py' * Minor edits to coding style --- Commit bb7ed1c88 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: K-FAC: Multi-tower ConvNet example. PiperOrigin-RevId: 173982527 --- Commit 2ba529856 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Initial add of docs for Tensorflow on Mobile. PiperOrigin-RevId: 173980290 --- Commit 187453d61 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Change momentum optimizer to allow callable learning_rate and momentum parameters. This can be useful for implementing learninge rate decay. PiperOrigin-RevId: 173975321 --- Commit 542b323e5 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Register quint16/qint16 for GatherOp. PiperOrigin-RevId: 173974904 --- Commit 309e34061 authored by Allen Lavoie<allenl@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Avoid uncollectable cycles with a separate deleter object for resources. PiperOrigin-RevId: 173972515 --- Commit 73fdaf0b5 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Summary-writing support for Evaluators. PiperOrigin-RevId: 173971621 --- Commit 72be26dc8 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [tf.data] Iterator Save and Restore for Dataset.from_tensors(..), Dataset.from_tensor_slices(..) and dataset.concatenate(..). PiperOrigin-RevId: 173971324 --- Commit 09f62ab38 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Speeding up the case for sparse float columns that have only 1 value. PiperOrigin-RevId: 173971121 --- Commit c315cf1ee authored by Shanqing Cai<cais@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Internal-only changes PiperOrigin-RevId: 173968246 --- Commit 293ba20be authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Make learning_rate_decay.piecewise_constant work in Eager mode. PiperOrigin-RevId: 173967531 --- Commit 0e6abfcda authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: K-FAC: Example for multi-tower support for MNIST MLP. PiperOrigin-RevId: 173967370 --- Commit b46c196e9 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: * Add graph rewrite rule that removes repeated application of scalar unary ops that are involutions (their own inverse). * Update rewrite rule for Transpose to also handle ConjugateTranspose. PiperOrigin-RevId: 173967184 --- Commit ff5c276ad authored by Stephan Hoyer<shoyer@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Longer README for tf.contrib.labeled_tensor PiperOrigin-RevId: 173966577 --- Commit 558f146e1 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Go: Update generated wrapper functions for TensorFlow ops. PiperOrigin-RevId: 173966068 --- Commit f9a673cb7 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: In the overloaded HloVerifier::CheckShape, include the failing instruction in the error message. PiperOrigin-RevId: 173965368 --- Commit 302ab0ff7 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Update ops-related pbtxt files. PiperOrigin-RevId: 173965174 --- Commit 89120eb68 authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: scatter_update for resource variables PiperOrigin-RevId: 173963715 --- Commit 8f7903b4c authored by Justine Tunney<jart@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Introduce SQLite SummaryWriterInterface This change allows tensors to be written from the graph, as they flow, directly to the database. Many of the important details haven't been implemented yet. This has been done with the new summary interface that's going to be used with eager. PiperOrigin-RevId: 173961448 --- Commit 9aaa49a4e authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Avoid using variables as booleans (similarly to tensors). PiperOrigin-RevId: 173956625 --- Commit a60cd87c4 authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: No need for unique variable names in eager. PiperOrigin-RevId: 173954805 --- Commit f17f389d8 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add a workaround in the Grappler arithmetic optimizer for the "Add" op not being marked commutative. This will allow Grappler to dedup nodes Add(x,y) and Add(y,x). PiperOrigin-RevId: 173950586 --- Commit e40eb810a authored by Shanqing Cai<cais@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: TFE: Add errors for classic tf.summary.* ops and FileWriter PiperOrigin-RevId: 173949980 --- Commit 25620825b authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Dataset: Adds eager warnings to make_initializable_iterator and make_one_shot_iterator. PiperOrigin-RevId: 173949737 --- Commit 1d6dae88e authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add check to tf.device when called with a function in eager mode. PiperOrigin-RevId: 173947845 --- Commit 3639aa7ff authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Always run iterator deleter in eager mode for safety. PiperOrigin-RevId: 173947019 --- Commit efcbf6e34 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Supported in this CL: * Attaching sharding descriptors to HLO ops * Partitioning the HLO graph into per-device computations based on those sharding descriptors. * All operator support for device placement and ops replicated on all devices. * Elementwise op support for tiled shardings. * 2D Convolution support for tiled shardings (no stride or dilation support). PiperOrigin-RevId: 173946036 --- Commit 682a6ed64 authored by Jon Shlens<shlens@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Update the documentation for sample_distorted_bounding_box PiperOrigin-RevId: 173943029 --- Commit 4f6e6ea4c authored by Sanjoy Das<sanjoy@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Fix typo in comment; NFC PiperOrigin-RevId: 173942305 --- Commit 07584221f authored by Anna R<annarev@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Set visibility to HIDDEN for hidden Python ops in ApiDef. PiperOrigin-RevId: 173942001 --- Commit 35cc8bb0a authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: K-FAC: Multiple minibatches support for LayerCollection.register_conv2d() PiperOrigin-RevId: 173941279 --- Commit 32f3c3a43 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Go: Update generated wrapper functions for TensorFlow ops. PiperOrigin-RevId: 173933228 --- Commit 8cc7b47a4 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Update ops-related pbtxt files. PiperOrigin-RevId: 173932574 --- Commit b9337de5b authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: K-FAC: Multi-tower support for ConvKFCBasicFB PiperOrigin-RevId: 173932013 --- Commit 1b6b7e208 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add registration for op AddV2, which is identical to Add, except that it does does not implement string concatenation. This allows us to mark AddV2 is_commutative and is_aggregate, which will allow optimizers more freedom. PiperOrigin-RevId: 173931848 --- Commit 629e6d0c1 authored by Joshua V. Dillon<jvdillon@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Bugfix: Make `tf.contrib.distributions.Independent` tests not flaky. PiperOrigin-RevId: 173921378 --- Commit 4b63f47d9 authored by Justin Lebar<jlebar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA:CPU] Don't crash if someone tries to do dot(X, X) or dot(X, X^T). PiperOrigin-RevId: 173919310 --- Commit 89582677c authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: EagerVariableStore, for compatibility with functional layers. PiperOrigin-RevId: 173915730 --- Commit cef680b53 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Enable shape inference on functions in grappler. PiperOrigin-RevId: 173914941 --- Commit e8ac0b48f authored by Akshay Agrawal<akshayka@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Report a nicer error message when differentiating a function that returns None in eager PiperOrigin-RevId: 173914883 --- Commit 85f8d9240 authored by Eugene Brevdo<ebrevdo@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [tensorflow training input] If SparseTensors are used in batch* ops, ensure restoration. This forces the ST restore op to be called if any tensors are accessed at the output of the batch, thus fixing a memory leak. Solution suggested by Derek Murray. Fixes #13999. PiperOrigin-RevId: 173904309 --- Commit 7fd261602 authored by Skye Wanderman-Milne<skyewm@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add TF_GraphVersions() to C API and use in Graph.graph_def_versions() PiperOrigin-RevId: 173902666 --- Commit 4723f8f6e authored by RJ Ryan<rjryan@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Support SymbolicGradient for functions with non-trainable arguments. The non-trainable arguments end up with None as their incoming out_grad, which is not a valid input to SymbolicGradient (inputs have to be convertible to Tensor, and None isn't). PiperOrigin-RevId: 173901727 --- Commit 494672475 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Added "NOTE: You may only install TensorFlow on 64-bit machines" to all the TensorFlow Install guides. PiperOrigin-RevId: 173899394 --- Commit b73743e3a authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Remove accidental disablation of (already manual) tests. PiperOrigin-RevId: 173898910 --- Commit ce0238198 authored by Skye Wanderman-Milne<skyewm@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add ability to fetch return nodes and unused input mappings from C API GraphDef import This change introduces yet another ImportGraphDef function to the C API (TF_GraphImportGraphDefWithResults), but this one has extensible return values so we shouldn't have to add more in the future. This change also modifies the ImportGraphDef C interface to manage all string data for the user. PiperOrigin-RevId: 173894710 --- Commit ef4490f63 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: BUILD cleanup in contrib/... PiperOrigin-RevId: 173889798 --- Commit 2e54fd6de authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Adds eager execution compatibility note in Readers, Queues, and QueueRunner. Raises a RuntimeError in base classes for QueueBase, ReaderBase, and QueueRunner. PiperOrigin-RevId: 173888425 --- Commit 32ab30cb0 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Fixes typo in compatibility. PiperOrigin-RevId: 173887031 --- Commit 325c8e5ef authored by Justine Tunney<jart@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Improve C++ SQLite veneer - Use shared_ptr for Sqlite - Don't need unique_ptr on SqliteStatement - Don't need db namespace - Include SQL in error statuses PiperOrigin-RevId: 173802267 --- Commit 0eba15fe6 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Adds eager compatability message for PartitionedVariable. PiperOrigin-RevId: 173772851 --- Commit e7645b629 authored by Justin Lebar<jlebar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA] DOT dumper: Handle fusion nodes nested inside other nodes (e.g. map). PiperOrigin-RevId: 173752314 --- Commit 8ec7540e0 authored by Shanqing Cai<cais@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: TFE: Fix pip test for tf.contrib.summary Fixes test failure in tensorflow/contrib/summary:summary_ops_test, e.g., http://ci.tensorflow.org/job/tensorflow-cl-cpu-python3-pip/10933/console PiperOrigin-RevId: 173749502 --- Commit c16797ec3 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Adds eager execution compatibility note in Estimators. Raises a RuntimeError in Estimator base class. PiperOrigin-RevId: 173744765 --- Commit e8a62a30b authored by ???<dev@goodow.com> Committed by GitHub<noreply@github.com>: Fix minor typo --- Commit 36696ad58 authored by ???<dev@goodow.com> Committed by Larry Tin<dev@goodow.com>: tf.zeros doesn't accept a tensor argument ValueError: Shape must be rank 1 but is rank 0 for 'zeros_2' (op: 'Fill') with input shapes: [], []. --- Commit 9f4b12bb5 authored by Justin Lebar<jlebar@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA] DOT dumper: Print constant shape when we elide the constant's value. For example, instead of "operand 1 = %constant.42", we now print "operand 1 = %constant.42 (f32[100])". PiperOrigin-RevId: 173741373 --- Commit 45c5118f0 authored by Mark Heffernan<meheff@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: When creating an HloModule from an HloProto construct the HloModuleConfig with a correct ProgramShape which matches the shapes of the entry computation. Previously the module config had a bogus or default constructed ProgramShape. PiperOrigin-RevId: 173741104 --- Commit 09a89ae57 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add `tf.contrib.distributions.bijectors.Reshape`. PiperOrigin-RevId: 173740491 --- Commit 729db035e authored by Mark Daoust<markdaoust@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Allow compatibility notes in class, property and module doc-strings PiperOrigin-RevId: 173739674 --- Commit ca56fa49a authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Go: Update generated wrapper functions for TensorFlow ops. PiperOrigin-RevId: 173739110 --- Commit 48df7c972 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Update ops-related pbtxt files. PiperOrigin-RevId: 173738765 --- Commit fb2c84cb2 authored by Jeremy Lau<lauj@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Internal change PiperOrigin-RevId: 173738655 --- Commit 245a5c171 authored by Akshay Agrawal<akshayka@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Make functional_ops compatible with eager exeuction by ignoring caching devices when in eager mode PiperOrigin-RevId: 173737949 --- Commit d1c59bd37 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add tf.quantize op, which is the same as tf.quantize_v2. PiperOrigin-RevId: 173735986 --- Commit 3ff9c8d2a authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Fix typos in Linear Model Tutorial samples 1. test_file_name is undefined (should be test_file.name) 2. train_file_name is undefined (should be train_file.name) PiperOrigin-RevId: 173733442 --- Commit abbab2430 authored by Michael Case<mikecase@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add bazel mirror links for newly added workspace dependencies. PiperOrigin-RevId: 173732606 --- Commit 46a577feb authored by Derek Murray<mrry@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [CMake] Generate audio_ops wrappers in the CMake build. Fixes #14004. PiperOrigin-RevId: 173732397 --- Commit 7cb7f88c5 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add count metric, a helper function that computes the total number or total weight of examples. PiperOrigin-RevId: 173731046 --- Commit e1d7615eb authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Fix issue with gradients of functions which return multiple values. PiperOrigin-RevId: 173730922 --- Commit 80374a7b4 authored by Joshua V. Dillon<jvdillon@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Breaking change: Rename `tf.contrib.distributions.Independent` parameter from `reduce_batch_ndims` to `reinterpreted_batch_ndims`. Also change default; `reinterpreted_batch_ndims` default has semantics of `tf.layers.flatten`, i.e., all batch dimensions except the first (batch axis 0) are interpretted as being part of the event. PiperOrigin-RevId: 173729585 --- Commit 5426a3c93 authored by Allen Lavoie<allenl@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add tfe.get_optimizer_variables for fetching a list of variables which an optimizer has created. Useful for saving them if executing eagerly. PiperOrigin-RevId: 173726859 --- Commit 02f55400f authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: custom_gradient functions should be able to return their inputs PiperOrigin-RevId: 173723462 --- Commit 78bac7290 authored by Shanqing Cai<cais@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: TFE: Add compatbility doc string to add_to_collection() and friends PiperOrigin-RevId: 173716912 --- Commit 9bf00c371 authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Shorter import for tfe. PiperOrigin-RevId: 173716375 --- Commit 0bc432a44 authored by Shanqing Cai<cais@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: TFE: Add compatibility errors and doc strings to queues, input pipelines and Supervisor PiperOrigin-RevId: 173712330 --- Commit e9af1af4f authored by Amit Patankar<amitpatankar@google.com> Committed by Amit Patankar<amitpatankar@google.com>: Fixing the sources docs in master. --- Commit b31b08bb0 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Adds randomized tests for newly introduced complex and related ops. PiperOrigin-RevId: 173709206 --- Commit 466b9ecf8 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Report total number of bytes to be transferred when the curl request makes no progress. PiperOrigin-RevId: 173707608 --- Commit 7c4e98eb4 authored by Igor Ganichev<iga@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add Tensor._rank() getter It appears to speed up SPINN model by about 1%, which is not much, but this method is very simple and easier to use than len(tensor._shape_tuple()) PiperOrigin-RevId: 173703259 --- Commit d7cffe9c0 authored by Allen Lavoie<allenl@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Adds save and restore methods to tfe.Network Save just saves the variables to a checkpoint. Restore either restores immediately or defers the restoration to variable creation time with a custom getter. PiperOrigin-RevId: 173703075 --- Commit 9158f974a authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Use tf.app.run in gcs_smoke, so that the flags are explicitly parsed, instead of parsed when first accessed. PiperOrigin-RevId: 173702828 --- Commit 3d39b32b9 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Fix a tfprof bug. Throws an error when the flops cannot be calculated. PiperOrigin-RevId: 173702740 --- Commit 73155f56a authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [TF:XLA] Small code cleanup. Re-alphabetized. PiperOrigin-RevId: 173702336 --- Commit 32bcf46f1 authored by Mustafa Ispir<ispir@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: internal PiperOrigin-RevId: 173697389 --- Commit 97484a4d9 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Update ops-related pbtxt files. PiperOrigin-RevId: 173690751 --- Commit 873ef2ca3 authored by Oleg Zabluda<ozabluda@gmail.com> Committed by GitHub<noreply@github.com>: Fix documentation error in tf.size() - output type --- Commit 16538dab7 authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Saves summaries in the mnist example. PiperOrigin-RevId: 173690505 --- Commit 6b05b36cd authored by Jiri Simsa<jsimsa@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Generalizing sloppy_interleave, making sloppiness an option. PiperOrigin-RevId: 173687797 --- Commit 7775a6604 authored by Michael Case<mikecase@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Internal Change PiperOrigin-RevId: 173685895 --- Commit 5120e75cf authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Move `@compatibility(eager)` from class docstring to __init__ docstring Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 7d7b2ec58 authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Also fixes `@end_compatiblity` -> `@end_compatibility` Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 96dc501cd authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Fix incorrect annotation tag in tf.Variable In tf.Variable the annotation tag of `@compatiblity` should be `@compatibility` --- Commit c22973867 authored by Mark Daoust<markdaoust@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Delete bad links (md links not supported in html blocks). PiperOrigin-RevId: 173680417 --- Commit 4198e27be authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: [XLA:CPU] [XLA:GPU] Adds compiler support for C64 primitive type, including relevant elementwise unary and binary op lowering for CPU and GPU. We use a named LLVM struct "complex64", laid out the same as std::complex<float>. This named struct is accessed via the llvm::Module, which required changes to accessors of PrimitiveTypeToIrType & friends. Ops that require atan2 (in particular, angle and log) are only supported on GPU at this point. LLVM lacks a CPU intrinsic for atan or atan2, whereas libdevice provides this for GPU. PiperOrigin-RevId: 173676849 --- Commit 4ae245a7d authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: n/a (internal change only) PiperOrigin-RevId: 173674697 --- Commit 0ccf5cf60 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Limit the amount of logspam a use of GraphKeys.VARIABLES causes. Multiple copies of this warning next to each other often make logs unreadable. PiperOrigin-RevId: 173672701 --- Commit a7b872527 authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Fix an ouput typo in `ci_sanity.sh` In the last PR #13924 (clang sanity check) the output message should be changed: `due to the absence of Python code changes` -> `due to the absence of .h or .cc code changes` Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 58d2c5f50 authored by Yong Tang<yong.tang.github@outlook.com> Committed by Shanqing Cai<cais@google.com>: Add `SANITY_STEPS_DESC` for do_clang_format_check (#14030) * Add `SANITY_STEPS_DESC` for do_clang_format_check This fix is a follow up to PR #13924 to add the corresponding description in `SANITY_STEPS_DESC`. See comment #13924#discussion_r147314599 for details. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update description for Clang Format Check Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 62a9ab28c authored by ???<dev@goodow.com> Committed by GitHub<noreply@github.com>: fix broken link --- Commit c6292a3f9 authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Sanitize decode_csv_op.cc with `clang-format -i` Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 285ea3910 authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Add test cases for `double` support of `tf.decode_csv` Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 73aaed655 authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Update docs for `double` support on `tf.decode_csv` Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 3595d1613 authored by Yong Tang<yong.tang.github@outlook.com> Committed by Yong Tang<yong.tang.github@outlook.com>: Add `double` support for `tf.decode_csv` In the current tensorflow `tf.decode_csv` accepts `float`, `int32`, `int64`, `string` but not `double`. It seems adding `double` support makes sense as `StringToNumber` already support `double` type. This fix adds `double` support for `tf.decode_csv` Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 37d483fda authored by Sergii Khomenko<sergii.khomenko@stylight.com> Committed by Sergii Khomenko<sergii.khomenko@stylight.com>: Fix a typo --- Commit 9c8a520b0 authored by Justine Tunney<jart@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add WriteEvent method to SummaryWriterInterface Another change will follow that adds an op for this method. It will be useful for loading event logs into other types of summary writer implementations, like a database. This change might also make the new summary file writer go faster, due to less memory copying. PiperOrigin-RevId: 173640116 --- Commit a49455812 authored by Eugene Brevdo<ebrevdo@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: BEGIN_PUBLIC Automated g4 rollback of changelist 172654120 PiperOrigin-RevId: 174388998
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
913a96bccee065cbd34f4d24c70e225023c1987b |
|
02-Nov-2017 |
Igor Ganichev <iga@google.com> |
Optimize tf.split for eager mode In eager mode, we know the shapes of input tensors and can use more efficient methods for retrieving shape and rank. This change reduces SPINN training time by about 1%. While 1% is not a lot, it is a small localized change to a very commonly used op. Also: - Adapt split_op_test to run in both modes - Decrease the number of splits in _testHugeNumberOfTensorsVariable from 10k to 1k. I don't see much value in having such large operations in a unit test. This reduces the total testing time of split_test_op from 40 seconds to 4.6 seconds. - Change TensorFlowTestCase.evaluate() to create a session if no default session is setup. PiperOrigin-RevId: 174349642
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b611aec150977f7fc13735398eee5e4a4fcfd612 |
|
02-Nov-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Make linter happy with array_ops.py PiperOrigin-RevId: 174290492
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
67fe8d146a0aa642a29a52a1389000b99b19cc03 |
|
02-Nov-2017 |
Yao Zhang <yaozhang@google.com> |
If the shape is known, replace the output of tf.shape_n with constant. This optimization is similar to that in tf.shape. PiperOrigin-RevId: 174271165
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d1c59bd37510b9fa1e0cd909c1f4857028d4d13b |
|
28-Oct-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add tf.quantize op, which is the same as tf.quantize_v2. PiperOrigin-RevId: 173735986
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a494558127ada7d32d2b85d99bebadc57c7f6e33 |
|
27-Oct-2017 |
Eugene Brevdo <ebrevdo@google.com> |
Automated g4 rollback of changelist 172654120 PiperOrigin-RevId: 173630195
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
fd42ab3cb32ca3a6ef72dc9efb674134f264a58b |
|
25-Oct-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Adds round_mode to QuantizeV2 op to select rounding algorithm. Options are half-away-from-zero and half-to-even. round_mode=HALF_TO_EVEN currently only applies when mode="SCALED". PiperOrigin-RevId: 173447503
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d100f65c58ada9df6124e5c366a8877b7ba03235 |
|
13-Oct-2017 |
Eugene Brevdo <ebrevdo@google.com> |
Temporarily make tf.where emit an old-style NodeDef (cast non-bool inputs to bool) PiperOrigin-RevId: 172044654
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d835d677ade78a41e0e097f67c87b6ab8588a90a |
|
12-Oct-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Extend the transpose ops in TensorFlow to support conjugate (a.k.a. Hermitian) transposition. Currently, this can only be accomplished by adding extra conjugation ops, which means reading the tensor data from memory twice. More importantly, Hermitian transpose is the most common transposition operation when using complex arithmetic, so using it in new code helps prevent "conjugation bugs" by making the math work for real and complex types alike. The alias tf.linalg.adjoint was added to help with the latter. Optimized fused conjugate transpose op for GPU will be added in a followup. Get rid of some duplication of code among CPU/GPU/SYCL in transpose_functor. Support accelerating 2D transpose ops using MKL in more cases. PiperOrigin-RevId: 171895454
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
253f5386cb6478dba6d9b99286775c6cbbe86a9a |
|
10-Oct-2017 |
Asim Shankar <ashankar@google.com> |
eager: Fix an issue with tf.identity. Like with graph execution, tf.identity should accept an input that is not a Tensor instance but can be converted to one. PiperOrigin-RevId: 171714919
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1bd776c9c217474b07c29dcd9d8fbbb6eba93ea0 |
|
10-Oct-2017 |
Eugene Brevdo <ebrevdo@google.com> |
Automated g4 rollback of changelist 170772848 PiperOrigin-RevId: 171700278
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a2b23b0e9fd1df15245828b537136d9aa696f08c |
|
03-Oct-2017 |
Eugene Brevdo <ebrevdo@google.com> |
Automated g4 rollback of changelist 170758184 PiperOrigin-RevId: 170772848
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a470779865883706dc2db1dcd8bd386527e1df03 |
|
02-Oct-2017 |
Eugene Brevdo <ebrevdo@google.com> |
TF WhereOp now acts more like np.where: extend input types to any numeric type. (with the exception of tf.half). This allows one to call: tf.where(float_tensor) instead of tf.where(tf.not_equal(float_tensor, 0)) or tf.where(complex_tensor) instead of tf.where(tf.not_equal(tf.abs(complex_tensor), 0)) PiperOrigin-RevId: 170758184
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9c78cb1aa44c859f5c81759c58e432d015e3560d |
|
29-Sep-2017 |
Andrew Selle <aselle@google.com> |
Fix NumPy equivalent comment. PiperOrigin-RevId: 170522553
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
49ffa774c73a55db8d9bff6e18817d5c57ecf662 |
|
28-Sep-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Updates the API for tf.space_to_depth and tf.depth_to_space to support NCHW and NCHW_VECT_C. Implements NCHW support for tf.space_to_depth on GPU. Other combinations implied by the API change will be implemented in follow up changes. PiperOrigin-RevId: 170296664
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e2e3a943c0a28b7656325acb3fcd035743d55ea0 |
|
26-Sep-2017 |
Shanqing Cai <cais@google.com> |
Merge changes from github. END_PUBLIC --- Commit 1e1b3d902 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 fe3a2e65c 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 225ab7629 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 286f57061 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 e0501bc4d 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: Yong 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: Yong Tang <yong.tang.github@outlook.com> * Address review comment Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 02a2eba05 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 8ef722253 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 1b94147dc 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 b1ada5f0c 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 2957cd894 authored by Mustafa Ispir<ispir@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Local run option of estimator training. PiperOrigin-RevId: 169756384 --- Commit 1dc2fe7ac 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
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7d6a5e1e61dbd6f1891af12d7c451c21736bc8f5 |
|
26-Sep-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Made sequence_mask work for N-dimensional tensors. PiperOrigin-RevId: 169984218
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
58c32a6b61606932893f9667d431831162a1ff55 |
|
20-Sep-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Update tf.sequence_mask comment. PiperOrigin-RevId: 169402284
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9dc8947a852e07f150c859493ed81281c6e8b6e4 |
|
18-Sep-2017 |
Allen Lavoie <allenl@google.com> |
Rolling forward a reduction in the number of strided slice constants Fixes a test which flakes due to graph-level seeding. PiperOrigin-RevId: 169136779
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
62b8a74a87dc789a10d0df07805190756a103a8d |
|
17-Sep-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Move Python sequence -> TensorFlow Tensor conversion from Python/NumPy to C/C++. PiperOrigin-RevId: 169013595
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
c606b0ce5c7aa034c1e165075ea660193d1c119c |
|
17-Sep-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Move Python sequence -> TensorFlow Tensor conversion from Python/NumPy to C/C++. PiperOrigin-RevId: 168983402
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
655f26fc70f060dfb5131c1e35624d0b86e52d26 |
|
12-Sep-2017 |
Alexandre Passos <apassos@google.com> |
Resurrects autograd-free eager gradients. PiperOrigin-RevId: 168448557
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f331f528b839be79cbf378048fe14980f9a0c5eb |
|
08-Sep-2017 |
Alexandre Passos <apassos@google.com> |
Removes "fast paths" which are not fast in eager mode. PiperOrigin-RevId: 168046278
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0acf5bb38a8f208c6d9f048579a076d5bc6ff0be |
|
01-Sep-2017 |
Eugene Brevdo <ebrevdo@google.com> |
Added registry for variants for op ZerosLike. * Updated tf.zeros_like python wrapper to avoid calling tf.zeros on Variants. * tf.zeros_like for variants calls the appropriate callback for the given device and type_name. PiperOrigin-RevId: 167317274
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a7b524eb2af6fbc5f7b05e305cd16c9d7f37cf4f |
|
29-Aug-2017 |
Alexandre Passos <apassos@google.com> |
Making tf.pad eager-safe. PiperOrigin-RevId: 166878740
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
008910f1122d115a6d7430bfcc63cf4296c7467d |
|
25-Aug-2017 |
Jonathan Hseu <jhseu@google.com> |
Merge changes from github. END_PUBLIC --- Commit b30ce4714 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 ebc421daf 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 fd295394d 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 587d728e0 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 3142f8ef5 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 b2ce45150 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 0a2f40e92 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 c4a58e3fd 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 989713f26 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
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
fce962f209085bcfaf7881cb705fab4459db0140 |
|
19-Aug-2017 |
Alexandre Passos <apassos@google.com> |
ResourceVariables are compatible with implicit_grad. PiperOrigin-RevId: 165772481
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
fe3c85eb85722dd1acd9194a88af9f83cb0dd4ee |
|
17-Aug-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Improved sequence_mask error message. When a tensor's shape is invalid, print that shape in the error message. PiperOrigin-RevId: 165518685
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
4738e700ba88f46c139793c8a0ce48dc68c2d50e |
|
16-Aug-2017 |
Alexandre Passos <apassos@google.com> |
Initial tests for gradient code. PiperOrigin-RevId: 165467540
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
657c4432899cb7430e380c1d465d789ced68ae6f |
|
16-Aug-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Make indices placeholder in sparse_placeholder maintain rank information. PiperOrigin-RevId: 165389240
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
28ce1d163eeffe618a6972c5245be0e660d94e85 |
|
15-Aug-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Merge changes from github. END_PUBLIC --- Commit 9f81374c3 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 98f0e1efe 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: Yong Tang <yong.tang.github@outlook.com> * Add dynamic ksize to MaxPoolGrad and MaxPoolGradGrad Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add test cases for max_pool_v2 Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix GPU Jenkins issue. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Enable MaxPoolV2 in GPU Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Hide MaxPoolV2 and other fixes. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> --- Commit 02d6bc185 authored by Bairen Yi<byronyi@users.noreply.github.com> Committed by Rasmus Munk Larsen<rmlarsen@google.com>: remove useless variable (#12212) --- Commit ed6b0d905 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 627dfc9dd authored by Taehoon Lee<taehoonlee@snu.ac.kr> Committed by Taehoon Lee<taehoonlee@snu.ac.kr>: Fix typos --- Commit c0f9b0a91 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 87605f3d6 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 881de45c2 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 eeacdcdb1 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 de01be952 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 26719d29f 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 f9a81ca2f 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 e2a163a90 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 08bbfa187 authored by Taehoon Lee<me@taehoonlee.com> Committed by Rasmus Munk Larsen<rmlarsen@google.com>: Fix typos (#12195) --- Commit ab96f41fb 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 35e7a3665 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: Yong Tang <yong.tang.github@outlook.com> --- Commit 9fba8c185 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 bb6f32fa7 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 9103096c1 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 822603aed 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 c035aa2a8 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 e1e81d9ba 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 d9ca2d86d authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Internal change PiperOrigin-RevId: 164916465 --- Commit b8d13d218 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 73b3d52c7 authored by Alexandre Passos<apassos@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: cmake fix PiperOrigin-RevId: 164911656 --- Commit 2173b5b0a 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 13eb3b90e 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 7dfabcc01 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 c8897e9bc authored by Benoit Steiner<bsteiner@google.com> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Static required time computation PiperOrigin-RevId: 164894645 --- Commit 076158f9b 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 58c4a4cb1 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 8f9b1af8a 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 46e4de6e5 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
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
954377e7f4228d9b0395146115eab8efd8950c43 |
|
15-Aug-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Make tf.ResourceVariable, tf.constant_op, tf.identity, tf.colocate_with, tf.name_scope, tf.device, tf.control_dependencies EAGER friendly. PiperOrigin-RevId: 165269572
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
ee32488dc68a2e7ef785abcf197c378b000cb6bb |
|
04-Aug-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Changed tf.pad to now support partial unknown shapes so instead of having shape (None, None, None) when only one dimension is unknown, the result can have shapes like (40, None, 30). PiperOrigin-RevId: 164289320
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a2e63e96be4945680a81e44e4b0486cbaa476185 |
|
25-Jul-2017 |
Thomas Schumm <fwiffo@google.com> |
Clarify docstring for tf.rank. PiperOrigin-RevId: 163089480
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7108dce74c15e91b77a12e2d9e26b16676307293 |
|
25-Jul-2017 |
RJ Ryan <rjryan@google.com> |
Update documentation of various dimension/axis arguments to mention support for negative axis indexing. PiperOrigin-RevId: 163011166
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0c967255448215e1e76aab76c135a174f2f0c0cf |
|
18-Jul-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Make sparse_placeholder maintain rank of partial shapes. PiperOrigin-RevId: 162406054
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a0ffaf3caa0234653035a692858606c7bdacd63b |
|
13-Jul-2017 |
Frank Chen <frankchn@google.com> |
Merge changes from github. END_PUBLIC --- Commit fe5338177 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 c65f69119 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 9a172989e authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Update ops-related pbtxt files. PiperOrigin-RevId: 161726324 --- Commit fd5530d6e 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 71c4ec8ed 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 6d6dda807 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 6b28eb084 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 8e7f57371 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 e424d209a 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 45a58d378 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 4f5433634 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 38180d7bb authored by Yun Peng<pcloudy@google.com> Committed by gunan<gunan@google.com>: Disable nn_test on Windows (#11445) --- Commit e1de7a1b0 authored by Yun Peng<pcloudy@google.com> Committed by gunan<gunan@google.com>: Windows Bazel Build: Build TensorFlow with wrapper-less CROSSTOOL (#11454) --- Commit c9d03a568 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 9aa0dcbf2 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: Add shape check for MakeQuantileSummariesOp. PiperOrigin-RevId: 161698801 --- Commit 9c4da4a24 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 d1e3cadda 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 8605f7ab8 authored by Taehoon Lee<me@taehoonlee.com> Committed by Frank Chen<frankchn@gmail.com>: Fix typos (#11444) --- Commit 7c1fe9068 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 2195db6d8 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 a72fc31bc authored by Martin Wicke<martin.wicke@gmail.com> Committed by Martin Wicke<martin.wicke@gmail.com>: Remove tabs. Unassign contrib/framework. --- Commit 6e74bd65a 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 de546d066 authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: BUILD cleanup in tensorflow/compiler/... PiperOrigin-RevId: 161679855 --- Commit 576c7b1ec 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
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b1f9e2c89eb007cb4b9483d08dcace1e45e84164 |
|
11-Jul-2017 |
RJ Ryan <rjryan@google.com> |
Add an axis parameter to tf.gather. Fixes GitHub issue #11223. This brings tf.gather closer to compatibility with numpy.take. To emulate gathering over an axis generally requires inefficient workarounds, e.g. transpose/gather/transpose. This technique is gaining popularity (hundreds of uses inside and outside of Google), so it is worth supporting efficiently. For an `[a_0, ..., a_i, ..., a_n]` tensor, gathering `N` elements from axis `i` requires `(a_0*...*a_i-1) * N` copies of `(a_i+1 * ... * a_n)` elements each. The CPU kernel does this with memcpy which is far more efficient than transpose/gather/transpose since it requires no intermediate allocations and copies. The GPU kernel does the same number of copies but in parallel across multiple hardware threads. Since this is a backwards incompatible change, this adds a "GatherV2" op with an axis input, and simultaneously supports backwards compatibility with "Gather" ops by defaulting to axis 0 if a 3rd input is not present. PiperOrigin-RevId: 161541416
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a6773e98e97956b7adf3aa51eb3548261f51d6f7 |
|
11-Jul-2017 |
RJ Ryan <rjryan@google.com> |
Add a PadV2 op with support for specifying a pad value. Added a `constant_values` keyword argument to the tf.pad Python API for compatibility with numpy.pad. For now, only scalar values are supported. To efficiently support specifying a `[D, 2]` tensor for `constant_values` to pick per-dimension pre/post constant values will require adding Eigen and XLA support first. PiperOrigin-RevId: 161460091
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
894aac266b7d3825f32a2cfc49b0cb994d2238ec |
|
10-Jul-2017 |
Vijay Vasudevan <vrv@google.com> |
Fix SliceHelper _baseslice case to use the same dtype for begin and strides. Using '1' automatically gets converted to int32, but when the user explicitly uses an int64 for the 'begin' argument, we want to make sure that 'strides' is of the same dtype, so we make sure we use a 1 of the proper dtype. Adds a test that failed before and passes with this change. Also tested the indexing case in addition to the _baseslice case, and added tests for both 'begin' as a Tensor as well as a non-Tensor. Fixes #11380. RELNOTES: Fixes 'strides' and 'begin' dtype mismatch when slicing using int64 Tensor index in python. See #11380. PiperOrigin-RevId: 161411479
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
50b999a8336d19400ab75aea66fe46eca2f5fe0b |
|
28-Jun-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Merge changes from github. PiperOrigin-RevId: 160344052
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1fa73c53ab95693f070ce70e6be0c644d83c163a |
|
26-Jun-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Automated g4 rollback of changelist 160182040 PiperOrigin-RevId: 160190881
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f3c89936e97c99dead1ca3310246691c1b221adf |
|
26-Jun-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Merge changes from github. END_PUBLIC Note: this CL will break builds. cl/159887762 to follow to fix all the breakages. --- Commit 2336cdf7f 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 ad0892df1 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 6b37a0725 authored by Todd Wang<toddwang@gmail.com> Committed by GitHub<noreply@github.com>: Update comments --- Commit 1699d904a 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 3c1946230 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 e911c7480 authored by Luke Iwanski<luke@codeplay.com> Committed by Luke Iwanski<luke@codeplay.com>: [OpenCL] REGISTER -> REGISTER6 --- Commit fbf6c4cec authored by superryanguo<superryanguo@gmail.com> Committed by superryanguo<superryanguo@gmail.com>: Simplify the Quickstart section with the weblink is better --- Commit 72e2918cc authored by Taehoon Lee<taehoonlee@snu.ac.kr> Committed by Taehoon Lee<taehoonlee@snu.ac.kr>: Fix typos --- Commit 90c4406b7 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 03da61134 authored by Todd Wang<toddwang@gmail.com> Committed by GitHub<noreply@github.com>: Update ir_array.cc --- Commit 2df6cd3ac authored by Todd Wang<toddwang@gmail.com> Committed by GitHub<noreply@github.com>: Another try --- Commit af0cbace1 authored by Luke Iwanski<luke@codeplay.com> Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>: [OpenCL] Transpose to go through Eigen (#10321) --- Commit fc7361081 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 832894ef8 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 cb4c2f8d1 authored by Yifei Feng<yifeif@google.com> Committed by Yifei Feng<yifeif@google.com>: Make TransferBufferToInFeed not virual so it compiles. --- Commit e89f04d80 authored by Yifei Feng<yifeif@google.com> Committed by Yifei Feng<yifeif@google.com>: Fix calling Literal member functions. --- Commit 15a8df724 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 a54d43fa4 authored by Yifei Feng<yifeif@google.com> Committed by Yifei Feng<yifeif@google.com>: Replace LiteralUtil to Literal in compiler/plugin/executor --- Commit 88a6bb80c 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 62fb49d31 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 4c75252f2 authored by Mark Neumann<markn@allenai.org> Committed by Mark Neumann<markn@allenai.org>: fix initial test values to avoid numerical instability --- Commit b58d98353 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 a286b7db8 authored by Yifei Feng<yifeif@google.com> Committed by Yifei Feng<yifeif@google.com>: Make debug_test slice integer. --- Commit 97fcfdfa6 authored by Toby Boyd<tobyboyd@google.com> Committed by GitHub<noreply@github.com>: Fixed path to seq2seq.py and minor formatting --- Commit 63c1befb8 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 8d42202b2 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: Yong Tang <yong.tang.github@outlook.com> --- Commit 26301bd55 authored by Danny Goodman<goodman.danny@gmail.com> Committed by Danny Goodman<goodman.danny@gmail.com>: fix error format --- Commit b3f33ad46 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 a4a469832 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 980d3f2be 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 26239c706 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 f671c5caa 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
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
922fe29b37efe127e4a8b4344ed02b3edb0173d4 |
|
15-Jun-2017 |
Andrew Selle <aselle@google.com> |
Point slice users to Tensor.__getitem__ Fixes #4516 PiperOrigin-RevId: 159062204
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
41b87d6ceb3dc8756ea8f448e2233712041f39d2 |
|
01-Jun-2017 |
A. Unique TensorFlower <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
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0b8070253d6c62ad395a42c3f496c3f21ae5d975 |
|
31-May-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Support negative axis for Split op PiperOrigin-RevId: 157628162
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
ec6d8ed892a2766e6ccdfa009f7673c39b62a09c |
|
26-May-2017 |
Martin Wicke <wicke@google.com> |
Remove ```prettyprint code blocks, they don't render properly. PiperOrigin-RevId: 157228649
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8f0d0bdca81f9926bf6cf51eb7bf72e04fe43509 |
|
26-May-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Simplify `dense_to_sparse_tensor` and `indicators_to_sparse_ids`, and fix them to work with inputs of undefined rank. Add test for `indicators_to_sparse_ids` `dtype` arg. Small update to `unstack` pydoc. PiperOrigin-RevId: 157160634
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7916e22e954fc893e673f74b4088b9e9c3a9be97 |
|
18-May-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Minor docstring formatting fix. PiperOrigin-RevId: 156448484
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
68624983042b2ff8aa4caa5ce29b199952fb1d4c |
|
15-May-2017 |
Alexandre Passos <apassos@google.com> |
StridedSliceAssign for resource variables. PiperOrigin-RevId: 156071948
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
ee112cff56081fb9d0b74c987a8935acc360b05c |
|
11-May-2017 |
Benoit Steiner <bsteiner@google.com> |
Merge changes from github. PiperOrigin-RevId: 155709893
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
53f68459f18fd9c707183511e1e58d03e2f367db |
|
06-May-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix multiple minor split_v related issues. * Bug where the implementation didn't check in the case of one output that it was of the correct size. * Bug in the shape inference where the output shapes are known. It didn't do any error checking in the inference function, leading to a delay in finding problems. The above two problems were highlighted by #8720 * Bug when num_or_size_splits is a constant tensor. #7754 Also updates golden values in phasedLSTM test since it depends on the number of nodes in the graph, which this CL changes. Change: 155259859
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
692fad20f913ffa2cb874a87578ecabb03cc4557 |
|
05-May-2017 |
Dan Ringwalt <ringwalt@google.com> |
Merge changes from github. Change: 155209832
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3f68ed17518cc3190ac86b38f4268b5d5b7f0b0d |
|
29-Apr-2017 |
Andrew Selle <aselle@google.com> |
Improve docstring on strided_slice to refer users to easier function. Fixes #5761 Change: 154590417
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9d3efca71e9a6250802dcdc3d19152f3acf0c675 |
|
18-Apr-2017 |
Suharsh Sivakumar <suharshs@google.com> |
Pass min and max attributes to FakeQuantWithMinMaxArgsGradient. Fixes #6616. Change: 153394867
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3e6a22f0d1227cc24f0394a3e920c10bfce1e9c3 |
|
15-Apr-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add support for tf.assign ops on variable slices e.g. usage slice_assign = tf.assign(s[0, 1:3], [3, 4]) sess.run(slice_assign) Change: 153259872
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
72d7af2f55b596947f6ba5a2b8aa7d30d5e0695d |
|
14-Apr-2017 |
Eugene Brevdo <ebrevdo@google.com> |
Bug fix: zeros_like(x) does not depend on x if its shape is fully defined. Change: 153117347
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
24a95ae389e1c76e771ac33d66e0ec40a236260f |
|
11-Apr-2017 |
Vijay Vasudevan <vrv@google.com> |
Change Placeholder to support partial shapes and enforce scalar shapes. Adds tests; testScalar failed before with the original placeholder because it treated [] as "?" instead of scalar. Now you can actually specify [] and it means 'scalar'. Added a backwards compatibility test using a graph_def generated from a previous tf version. RELNOTES: tf.placeholder can represent scalar shapes and partially known shapes accurately. Note, this change can break already buggy programs because it makes placeholder shape handling more consistent across graph serializations. Note: There are some buggy cases where this change can break a buggy pipeline: namely those that serialize a graph using an unknown shape (e.g., [None, 10] in a tf.placeholder, but then reload the graph using import_graph_def and feed it a different shape. Prior to this change, serializing the graph_def loses the [None, 10] shape requirement, so you can feed anything you want. This change makes it so that you serialize the graph with [None, 10], and so when you reload it, it would fail if you fed it a different shape. In these cases, the fix is to correct the original placeholder shape to match what you feed it, which is not a bug in TF but in the user's program. Note 2: A python user that did tf.placeholder(shape=[]) would get scalar checking in the same process due to python shape inference code. However, a C++ user that did Placeholder(shape=[]) would not have gotten scalar shape checking; a C++ program that passed Placeholder(shape=[]) that expects to interpret this as "UnknownShape" would break -- however, that user could have already used an {unknown_shape: true} proto, and should not have expected the legacy behavior. Backwards compatibility: Old graphs that have shape = {} in the proto will also have a graph_def_version <= 21, so the default value of shape prior to this change will be interpreted by new binaries as "UnknownShape" just as before. Forwards compatibility: new graphs will produce, by default, shape={ unknown rank: true}; old binaries will use PartialTensorShape's parsing code to parse that proto into an object whose shape.dims() <= 0, and so these binaries will continue to interpret the default shape as "unknown shape" without crashing and without producing new errors. Fixes #9103 Change: 152751019
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
14999f9ddcc27988fd9d22636315cedd971ec3de |
|
07-Apr-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Internal change Change: 152458104
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
cf2d4ce2f861a1729cc7376107cbfd11b7bf8911 |
|
06-Apr-2017 |
Ian Langmore <langmore@google.com> |
matrix_adjoint added to contrib/linalg/linear_operator_util Change: 152404828
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
32a54fd9deab1b05121ee409c2e0ef7353c2902d |
|
04-Apr-2017 |
Suharsh Sivakumar <suharshs@google.com> |
Automated rollback of change 152048597 Change: 152068577
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
c1ab70cc1fe31f84376a9e298bcec2680661f643 |
|
03-Apr-2017 |
Suharsh Sivakumar <suharshs@google.com> |
Make one_like python op call ones_like kernel. Same as how zeros_like works. Change: 152048597
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
622713560012c44f2903ace5c4d7fc24474ca1dd |
|
28-Mar-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fixed typo in doc. Change: 151488679
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
540a812c820c530d5f650f6ae49bba59d47e8291 |
|
22-Mar-2017 |
Patrick Nguyen <drpng@google.com> |
Fix some documentation formatting errors. Change: 150841749
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3e975ea978bac4d861bb09328b06f3c316212611 |
|
02-Mar-2017 |
Andrew Harp <andrewharp@google.com> |
Merge changes from github. Change: 148954491
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
dc00fe6cf27c59fc78783735375a05ff720333f4 |
|
24-Feb-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Update module docstrings to (consistently) link to the guide in the body instead of the title (consistently). Also fix some malformed @{$...} references and titles starting with "##". Change: 148476930
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
93a975e114ee1c35f01ed3bdd47170e6f7129014 |
|
18-Feb-2017 |
Vijay Vasudevan <vrv@google.com> |
Merge changes from github. Change: 147897309
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a8f8018e9b770379201cb22c441a72b0bcef30d8 |
|
15-Feb-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Update paths in docstrings. Change: 147563127
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3aca494186c94090cdac7796694558907c3e0b5e |
|
14-Feb-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
TASK 1. Python module doc strings TASK 2. //training/... Python class doc strings Change: 147434408
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
639b4e71f532761a4840b1cdbaea55ad0917c75b |
|
08-Feb-2017 |
Benoit Steiner <bsteiner@google.com> |
Merge changes from github. Change: 146918929
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
88e1ca90f940a9ff45a6fa8fa8c5ff2c7e65cbc2 |
|
01-Feb-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add string support to tf.zeros. Change: 146185845
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b24a0b246935d4f3a687abc5e0d94e6100f07fbb |
|
13-Jan-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Makes the ops used by ParallelConcat internal. Change: 144485165
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
705cc93336abe74a748c6a6e01759772db4bbdb9 |
|
13-Jan-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Do parallel_stack as a graph rewrite instead of python code. Change: 144478254
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
063801bd37212224ac19e69d78d13a520f7e202b |
|
11-Jan-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add tf.concat with the new argument order: tf.concat(values, axis, name). Also, set tf.concat_v2 to be an alias to tf.concat and remove concat_v2 doc. Change: 144139939
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7ff06bc92905013e99df68d18d24de5114c5d32b |
|
10-Jan-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Remove all remaining tf.pack,tf.unpack references and remove tf.pack/tf.unpack op. Change: 144130931
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f1b755a95b108987548a018164f9d8da92eab979 |
|
09-Jan-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Remove tf.concat(concat_dim, values, name). I will follow up with another cl that will re-add tf.concat, but with the new argument order (values, axis, name). Change: 144007297
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
2691c1260f792e85a40f598809e84aa60d19e227 |
|
08-Jan-2017 |
Martin Wicke <wicke@google.com> |
Fix a bad comment. Change: 143889993
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5942d9de65314323af72a5fc6f07ea1ff86dc273 |
|
06-Jan-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Removes certain ops from docs that should never have been added: empty empty_like alias_inplace_update alias_inplace_add alias_inplace_subtract and prepends them with an underscore to further make clear they are not meant for general use. Change: 143776932
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
4fe340bd46a8bbfbb2ca8c162316d3bc31f29142 |
|
06-Jan-2017 |
Xiaoqiang Zheng <zhengxq@google.com> |
Removing the constant checking for tf.parallel_stack since it converts everythign to tf.pack, which is what we are avoiding. Change: 143727604
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6ec984e984a06c7ce6a5cf98bc4aa3bb30eafe8c |
|
04-Jan-2017 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Adds the following new ops: alias_inplace_add alias_inplace_subtract alias_inplace_update empty empty_like parallel_stack Some of these ops will be used to speed up the data-loading pipline. Change: 143502368
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
bed8383c27a0a7225e6fc7ff59a2cd6388fb4d09 |
|
23-Dec-2016 |
Jonathan Hseu <jhseu@google.com> |
Merge changes from github. Change: 142805270
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
2eadca7eef5329fdb8b4cb2c5024588745866a29 |
|
22-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Use concat_v2 throughout array_ops.py Change: 142748584
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8fedbb924ce3bb91c19af70d724493cb901241e2 |
|
22-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix a typo in the split function comment. Change: 142724724
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
fd7ff167e6f02fe0966fa70ef52a99d16e0490ec |
|
15-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add BroadcastShape op. Specifically create a broadcast_static_shape and broadcast_dynamic_shape python wrappers. broadcast_static_shape returns an inferred TensorShape from the input TensorShapes, while broadcast_dynamic_shape returns an integer Tensor representing the broadcasted shape. Change: 142147719
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f3a1f0ac915b5ebf41ed1deb6ac0b8fbbf5d7ca2 |
|
13-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add deprecation annotations to tf.pack, tf.unpack and tf.concat. Change: 141856791
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a46b6d211eac423c72d3a57a177daf2f64db8642 |
|
12-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Major intent of this CL is to rename split_v -> split in the python API. Requires: 1) Add name arguments to tf.split calls introduced since major Rosie CL cleaning this up across the codebase. 2) Change uses of array_ops.split to use named arguments, which was not covered in the Rosie CL. 3) Rename split_v calls to split. Change: 141806936
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d204d0f664c69fae31766a2069b14a9ea2be569d |
|
12-Dec-2016 |
Andrew Selle <aselle@google.com> |
Create tf.reverse() to match the behavior of tf.reverse_v2(). NOTE: tf.reverse() used to exist and take bools as the specifier to which dimensions should be reversed. In particular `tf.reverse(foo, [False, True, True])` can now be expressed as `tf.reverse(foo, [1, 2])`. Change: 141779087
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
996d477b412eadcebf067951379c542c912ba86f |
|
09-Dec-2016 |
Ian Langmore <langmore@google.com> |
boolean_mask BUGFIX. Must compute dimension size explicitly rather than using [-1] in order to deal with all multidimensional Tensors with dimensions after first equal to zero. Change: 141601835
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7b94349a7ea79ab63ad9ab931bd2c52c8e645911 |
|
08-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix bug in handling of explicitly specified num parameter of split_v and also add associated test case. Change: 141469479
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a5eb3d676d7edb62217c9b1e7001540d867f29eb |
|
08-Dec-2016 |
Eugene Brevdo <ebrevdo@google.com> |
SparseTensor.shape -> SparseTensor.dense_shape part 2... Change: 141460319
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b09842e89870fe68f0017e1e48570d3315c35612 |
|
08-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Bug fix: Allow int64 inputs to tf.sequence_mask. Change: 141385792
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
74b73c2b5896b3d172d275a1a9c39ff5e6ba71dc |
|
08-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add named arguments to all uses of tf.split and reverse the order of arguments so as to conform to the order that will be standard once the split_v -> split rename happens. Change: 141377137
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
256a86ca974a86434855116cdd82459f92d21fe9 |
|
07-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Improve documentation of split and split_v. Change: 141350450
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0613ac662efde2fc451d6a8b0e4355a3b1e3d31a |
|
07-Dec-2016 |
Eugene Brevdo <ebrevdo@google.com> |
Part 2e of renaming SparseTensor.shape -> SparseTensor.dense_shape Change: 141332827
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
878f5fcb8103cfc7e28bd86f7d0c722e053588d1 |
|
07-Dec-2016 |
Andrew Selle <aselle@google.com> |
Remove remaining uses of tf.reverse() and remove tf.reverse() from API. On a subsequent commit tf.reverse() will be reintroduced but taking a list of integer axes to reverse. Change: 141325033
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e1eb31366b024ebbbac0575e921f40f48797b96c |
|
07-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Automated rollback of change 141227772 Change: 141270900
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
49c0c1726420a3c1d73b7130d6b14c10dcac22af |
|
07-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix bug introduced in split_v during name change Change: 141241224
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
661dee2b05e61b14a5a69852477dcd659f05d9d5 |
|
06-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add deprecation tag to concat. Change: 141227772
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6de612e7767c4114d65cb06fc6606436e3081dc3 |
|
06-Dec-2016 |
Andrew Selle <aselle@google.com> |
Force fix documentation causing open source blocks. Change: 141201358
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9f0a3b65da1e86fbc7bcb6db8ff9958153855cc1 |
|
05-Dec-2016 |
Eugene Brevdo <ebrevdo@google.com> |
Part 2c of renaming SparseTensor.shape -> SparseTensor.dense_shape Change: 141066682
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6d8b7f70c9fc1f4a36365248e0ab33733733eed9 |
|
02-Dec-2016 |
Eugene Brevdo <ebrevdo@google.com> |
Part 2a of renaming SparseTensor.shape -> SparseTensor.dense_shape Change: 140892196
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f198ee0cde6aa722e0b7f701e6c9421cc7e4fea9 |
|
02-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Automated rollback of change 139989725 Change: 140883595
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
c8e1e5d818ac99d533ad75d2c9ef37c771ab8c48 |
|
02-Dec-2016 |
Olivia Nordquist <nolivia@google.com> |
removing tf.slice as it is soon to be deprecated. replaced with tf.strided_slice in the following 15 files. more to come! Change: 140875384
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e9fb0a9c497c0fd3a451a7c66f8803c377d8acdf |
|
02-Dec-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix doc typo Change: 140807620
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
83cef3f1f4ce4177c5bcf38b6a24e920dc12fba7 |
|
01-Dec-2016 |
Andrew Selle <aselle@google.com> |
Rename more argument names to be consistent with NumPy. Create temporary dummy arguments with old names at the end in preparation for deprecation. Change: 140675930
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
fe558b0b0ca3866b1b3b5484625c41877ac0fd57 |
|
30-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Deprecate tf.select since it is getting replaced by tf.where. Change: 140632089
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a91cb99813ee98d624b3f22394532e46c01ac4ee |
|
23-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Automated rollback of change 139983065 Change: 139989725
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9d317b0908daf59c88154982de5abb8a3788d58c |
|
23-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Change concat to just call concat_v2 to avoid code duplication and to prepare for deprecating concat. Change: 139983065
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
95b55a97df1817c5de817e84d667d3b7a17f50f0 |
|
22-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add concat_v2 to array_ops.py. Also, add gradient support for concat_v2 op. Change: 139839646
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6759f77d735c9c87a9b57756700333289aa3bd81 |
|
21-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fixed expand_dims docstring. Change: 139828406
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3d5ce121cd4cacd9c4e297b6659d5b8f20e35c32 |
|
21-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
strided_slice docs should call strided_slice in the examples. Change: 139794400
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
85eeec0d415a1478bbeffc3d4545c795bee64e9f |
|
19-Nov-2016 |
Jonathan Hseu <jhseu@google.com> |
Automated rollback of change 139400135 Change: 139632235
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7e8728662120df0a80720bb7527613f96d58271e |
|
17-Nov-2016 |
Jonathan Hseu <jhseu@google.com> |
Rename `Tensor` to `Output` in all Python docs Generated by running: $ find . -name '*.py' | xargs sed -i 's/a `Tensor`/an `Output`/g' $ find . -name '*.py' | xargs sed -i 's/A `Tensor`/An `Output`/g' $ find . -name '*.py' | xargs sed -i 's/`Tensor`/`Output`/g' $ find . -name '*.py' | xargs sed -i 's/`tf.Tensor`/`tf.Output`/g' $ find . -name '*.py' | xargs sed -i 's/`Tensors`/`Output`s/g' $ find . -name '*.py' | xargs sed -i 's/#Tensor)/#Output)/g' $ find . -name '*.py' | xargs sed -i 's/#Tensor\./#Output./g' Manually fixed up lines that exceeded 80 characters after the change. Change: 139400135
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
eabf41b7cc8ab515b556bc91b4f282d1d671c1a7 |
|
16-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Remove explicit calls to call_cpp_shape_fn from third_party/tensorflow/python. Change: 139345066
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3b145acb49ffa071601597af138026020e7fa7ee |
|
15-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
In call_cpp_shape_fn, use whether the shape inference fn requested input tensor values to rerun the shape inference function. This removes the need to pass input_tensors_needed and input_tensor_as_shapes_needed. Remove calls to call_cpp_shape_fn that pass input_tensors_needed or inptu_tensor_as_shapes_needed. Change: 139228180
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
59d99bf9e3c0c1d559c91c2a5436eede79c7fb26 |
|
15-Nov-2016 |
Olivia Nordquist <nolivia@google.com> |
adding docstrings to document which tensorflow functions have different names than the corresponding numpy function Change: 139221107
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f11a06002dbb219f446768fb640f09569e61e9ae |
|
15-Nov-2016 |
Andrew Selle <aselle@google.com> |
Expose tf.reverse_v2 which takes indices rather than a bool tensor. Also Implemented ReverseV2's gradient in C++ Up the version to indicate the new op is ready to be used. Change: 139215566
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
19b7c68594c0fc9c7e04810879e11c56d880f377 |
|
15-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Update Fill, Tile, and Slice C++ shape fns to use MakeShapeFromShapeTensor, to match python. Switch to using C++ shape fns for those ops. Use unknown shape for TileGrad. Change: 139149010
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e8167643ce20f5f94c1508ed8d23cd164a16ee0b |
|
15-Nov-2016 |
Vijay Vasudevan <vrv@google.com> |
Remove unneeded call_cpp_shape_fn call, since it is now the default. Change: 139134328
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b05f73b855c54ac849dce5f9a2e12c3fde89dbbe |
|
14-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Switch ScatterNd to use C++ shape fn. Change: 139094556
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
897c3e2dd650b71d96bd0886cea17474a2d229fb |
|
14-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Make the python default for shape fn be call_cpp_shape_fn. Remove explicit RegisterShape calls that used call_cpp_shape_fn without input_tensors_needed arguments. Remove requirement that C++ shape functions be specified. Change: 139089667
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a41f0eae0cca59ff211495bd3e9da0daf4ed01e8 |
|
12-Nov-2016 |
Andrew Selle <aselle@google.com> |
Change dimension arguments to be "axis" for NumPy Parity It is a ValueError to specify both. Add keyword argument for backward compatibility. Change: 138939121
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f27dea2f016baf09040bf5aec705511486a3f205 |
|
12-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Enable C++ shape fn from python for more quantized ops. Change: 138929922
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
973f1c71b9cbf3f40199fa699ecda61e218a9f5b |
|
11-Nov-2016 |
Vijay Vasudevan <vrv@google.com> |
Switch PlaceholderWithDefault to C++ shape function. Change: 138915194
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
df4ef50932de18d904e13f8ea4dbdcc4d5be2281 |
|
11-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix QuantizedConcat shape function. Enable it from python as well. Change: 138895028
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f803bd7c5338d522d262314bd1e0eb4021367c3d |
|
11-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add a new op split_v that can handle variable size splits. Aside from being useful on its own, this op also makes the implementation of the gradient of concat much more efficient. Previously a new slice op was created in the graph for every input tensor to concat. This op moves that logic inside of one op. The overhead could be quite significant in cases with 100+ input Tensors to concat. Change: 138822942
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5229410499e3b6a1a18b8ba471a3313eb9d232ca |
|
10-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Make Python _TileShape op handle case where input's rank is not known. Change: 138783199
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1d0bbea5e0f094f9337ebe905488d8965c735094 |
|
08-Nov-2016 |
Andrew Selle <aselle@google.com> |
Remove uses and deprecate listdiff (use setdiff1d) Change: 138548514
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
cbd3cacfb73bbea912b9d01c2540187684f751a7 |
|
03-Nov-2016 |
Illia Polosukhin <ipolosukhin@google.com> |
Replace usages initialize_all_variables -> global_variables_initializer Change: 138128703
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7e8135cc3a238bf86e82ed7ea13671533e7f1290 |
|
03-Nov-2016 |
Vijay Vasudevan <vrv@google.com> |
Expose fake quantization operators. Add shape function for FakeQuant gradient ops. Add a test for one of the more complicated ones. Change: 138087659
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9a66842db8568e90bfef7c3c7836c052b776f17c |
|
03-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Adding CPU kernels for tf.scatter_nd(), tf.scatter_nd_update(), tf.scatter_nd_add(), tf.scatter_nd_sub(), tf.scatter_nd_mul() and tf.scatter_nd_div() as well as gradient functions for tf.scatter_nd() and tf.gather_nd() Change: 138013328
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
2939f53ea2d5dc9de018d9ad64a3ac03d03d4925 |
|
02-Nov-2016 |
Eugene Brevdo <ebrevdo@google.com> |
Move SparseTensor into its own framework.py, add get_shape(). Change: 137887950
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b00e940445a03dd5edbe47ff34762ec8ff4087fb |
|
01-Nov-2016 |
Illia Polosukhin <ipolosukhin@google.com> |
Fixes #4226: Allow to specify partial shape in sparse_placeholder. Change: 137854718
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6d4956edb02c5a2d0a9bdeb919a4c4c0e55fd882 |
|
01-Nov-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Allow passing constant_value_as_shape from call_cpp_shape_fn to the C++ shape inference. Delegate to C++ shape function for Reshape. Fix reshape to handle attempting to infer unknown dim when product of known elements is 0. Change: 137837591
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5a8af550174de742eedde4288be1ba4bbb1042d1 |
|
31-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Switch FakeQuant and Dequantize ops in array_ops to use C++ shape functions. Change: 137756007
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9ea69fcc18738d3e367b77e1ee58e9aa451eb888 |
|
31-Oct-2016 |
Andrew Selle <aselle@google.com> |
NumPy parity work for 1.0 - tf.where now can optionally take 3 arguments to create a ternary select behavior. tf.select will be eventually deprecated - tf.setdiff1d added in preparation to deprecate tf.listdiff - tf.pad now accepts lower or upper case constants (consatnts are now case insensitive) - added tf.multiply, tf.subtract, and tf.negative to match NumPy names - tf.mul, tf.sub, tf.neg will be deprecated. Change: 137726562
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3bb585a7b3592763ef5c6b11a897c1a8ff99ea81 |
|
29-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Automated rollback of change 137564676 Change: 137576487
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6ca9760b9b6f10d69889ee917dfadced22b48027 |
|
29-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Adding CPU kernels for tf.scatter_nd(), tf.scatter_nd_update(), tf.scatter_nd_add(), tf.scatter_nd_sub(), tf.scatter_nd_mul() and tf.scatter_nd_div() as well as gradient functions for tf.scatter_nd() and tf.gather_nd() Change: 137564676
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0ee63d0cdb63df0f34dada5176d6a5ad92fbccab |
|
28-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add tf.stack and tf.unstack to replace tf.pack and tf.unpack. Change: 137456078
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9fb15ea28bc7ba713fb7745d60336d7a9a8f89a6 |
|
24-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add FakeQuant ops and kernels for use with quantized training. Change: 137081182
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5cfb0fd9c7a89a788188f83886a7321b8a819369 |
|
20-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add ConcatV2 operation which is the same as Concat but with argument order swapped. Change: 136763054
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f937100ce786aa5d4154eac7de3dd2db43f1e888 |
|
20-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add transform for reshape to quantize_graph in eightbit mode. Add QuantizedReshape op. Change: 136755979
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7aa95633c19c1919fcdf89a6000d01b941373156 |
|
20-Oct-2016 |
Andrew Selle <aselle@google.com> |
Create op ReverseV2 that takes indices for reversing rather than a bool array This does not implement the Python API change yet for forward compatibility. e.g. eventually tf.reverse(a, [0,1,-1]) will be the same as the old API of tf.reverse(a, [True, True, False, False, False, True]) for a 6 dimensional tensor a. Change: 136675570
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5e176998d92a64d78df57e9fb78582e5e7e4ebb6 |
|
20-Oct-2016 |
Vijay Vasudevan <vrv@google.com> |
Add PlaceholderV2 and VariableV2 ops that can properly specify scalar shapes during construction. Placholder/Variable currently treat [] as "unknown", because it predated scalar shapes. So we introduce new versions that are the same implementation underneath, but can differentiate between unknown and scalar. Change: 136659818
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
66024fd508748d706b72d0ae5e8b07f917e78458 |
|
18-Oct-2016 |
Andrew Harp <andrewharp@google.com> |
Move contrib/quantization ops to tensorflow/core Change: 136410307
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
49a7eee36eb649d7efdbe7a2343ff7691c35cf1a |
|
11-Oct-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Allow tf.squeeze to accept scalar values for squeeze_dims parameter. Change: 135818878
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
89d5a3bedec49c3686b8b914823b92a120f15c68 |
|
03-Oct-2016 |
Olivia Nordquist <nolivia@google.com> |
numpy meshgrid parity Change: 135002812
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1283b84a49a9f5e14aca833cf981b61848aaf916 |
|
30-Sep-2016 |
Jonathan Hseu <jhseu@google.com> |
Merge changes from github. Change: 134721831
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8fb9663548e75872d0d2584151a49fb3a36717a7 |
|
29-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Documentation fix: markdown requires an empty line before ``` block. Change: 134690568
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
2a24f5a849219c10081a3a11af7c5ee19396b165 |
|
29-Sep-2016 |
Patrick Nguyen <drpng@google.com> |
Quote tf.* identifiers in documentation. Change: 134631283
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1681cd91c2098bf67edd129140bdce307a174a19 |
|
29-Sep-2016 |
Patrick Nguyen <drpng@google.com> |
Add syntax highlighting and fix some lists in docs. Change: 134626795
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
c672ae6c90f829eec7ab0dc593af8da15b90a363 |
|
29-Sep-2016 |
Patrick Nguyen <drpng@google.com> |
Fix spelling in docstrings. Change: 134622348
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
190dae663519314a02cf9a506cedfa6b29a59cb7 |
|
29-Sep-2016 |
Patrick Nguyen <drpng@google.com> |
Fix comment in _SliceHelper. Change: 134618691
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
419d5d072375ee0044fecb94e4bfe21a7b3b0b9e |
|
28-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Automated rollback of change 134501895 Change: 134506649
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a6e66bd194eb5f0924de32366be42436ae911af7 |
|
28-Sep-2016 |
Andrew Harp <andrewharp@google.com> |
Move contrib/quantization ops to tensorflow/core Change: 134501895
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0e75d6d63958e0870c7a01ddcf773effb47239c5 |
|
23-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
An operation to generate a 2D mask for a sequence of lengths. This is useful for dealing with batches of variable size sequences. Example: tf.sequence_mask([1, 3, 2], 5) = [[True, False, False, False, False], [True, True, True, False, False], [True, True, False, False, False]] Change: 134017050
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
999b794c137d12d73adbf41dcbe9383a0cd94769 |
|
21-Sep-2016 |
Martin Wicke <wicke@google.com> |
Merge changes from github. Change: 133874452
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6cc239f36449a7055f221a872492d693fcee9c0d |
|
21-Sep-2016 |
Patrick Nguyen <drpng@google.com> |
Reference array_ops symbols in the documentation and remove from whitelist. Change: 133857616
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8b9e4aebf793e98a03faf269423173f9bcab1668 |
|
21-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add SpaceToBatchND and BatchToSpaceND ops for > 2 spatial dimensions. These new operations are more general versions of the existing SpaceToBatch and BatchToSpace operations that support an arbitrary number of spatial dimensions and a non-uniform block shape. For backwards compatibility, the existing SpaceToBatch and BatchToSpace operations are retained, but internally forward to the new, generic implementation. For convenience, the new operations support an arbitrary number of trailing non-spatial dimensions, rather than requiring a single batch dimension. As an optimization, leading and trailing spatial dimensions with no padding and a block size of 1 are collapsed such that they incur no additional overhead. The maximum number of (non-collapsed) spatial dimensions must be specified at compile time in spacetobatch_functor.h, and is currently set to 4. Change: 133836914
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
caceb02f75ff80a8e48440720cec3d7d6fa3297e |
|
16-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add StridedSlice C++ shape fn and change python to use it. Change: 133323531
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
892deb2d7816af281b57a73a095886f75a259266 |
|
13-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
1. Rename batch_matrix_* ops to matrix_*. Specifically, this applies to batch_matrix_band_part batch_matrix_diag batch_matrix_diag_part batch_matrix_set_diag batch_matrix_transpose 2. Improve organization of the list of math ops a bit. Change: 133007928
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
250b9bf4299626f2cdbc348f651e628ffdfffbdb |
|
13-Sep-2016 |
Andrew Selle <aselle@google.com> |
Update documentation script to not omit operators - Also fix operator handling to propagate docstrings through wrappers. - Improve documentation of slice. Change: 132937961
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
df929330cf1c839c90a9a0c36aeffddc76319a62 |
|
12-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Switch ops in array_ops to use C++ shape functions. Also: - Fix output depth dimension computation for C++ ExtractImagePatches function. - Add dim range check to ExpandDims. - Make debug_python_shape_fn error if python shape fn returns an error when C++ does not. - Add C++ implementations for StridedSliceGrad; this gives slightly more accurate output when input shape but not constant values is known. Change: 132910226
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e76d1d1163aeeaab22cd6451bede297ceb7ed467 |
|
09-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Improve error string. Change: 132629715
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9205b55c6bbef400fa1cdb0140a99576608f5b3f |
|
08-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Switch several ops in array_ops.py to use C++ shape functions. Change C++ shape function for ExpandDims to be more permissive - it now allows 'dim' to be any tensor with 1 element, although that is not currently converted to use C++ because of a separate issue to fix first (later change). Change C++ shape functions for SpaceToBatch and BatchToSpace to output rank-4 unknown shapes. Change: 132578764
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
575b85c39e3d50a0cf5f8f56f8acfb4f8da266b1 |
|
08-Sep-2016 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: Add int64 output kernels for Shape, Size, ShapeN. - Adds out_type argument to python wrappers, with default remaining int32. - Adds tests for int64 kernels. Because the default is unchanged, it is safe to register these kernels without running into the problem of having to deal with the host memory vs. device memory placement issues just yet. Getting this change in at least allows people to select int64 outputs should they really need it, and we can figure out how to switch the default over with more rigorous testing. Change: 132491114
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1ebbdc7919398194fae5bfb849e7d3bc7121aa57 |
|
08-Sep-2016 |
Eugene Brevdo <ebrevdo@google.com> |
Speed up tf.Assert, move it to control_flow_ops. Change: 132486587
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
92052d14875ae0ab3daeacabcaa24e239d50f193 |
|
02-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Enable C++ shape function for math_ops.py and array_ops.cc shape functions that don't require access to the input tensor values. Change: 132071962
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1f4e610111e88b185bf50006fa0b96d407a6f62b |
|
01-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fix array_ops operations that support SparseTensor also to support SparseTensorValue. Change: 131892078
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e11b99749d2898df0bce0269c77df316b059e8ea |
|
01-Sep-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Automated rollback of change 131739513 Change: 131887027
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
82e96fa8d297a7180569e60ba2294c4faadb6f43 |
|
31-Aug-2016 |
Andrew Selle <aselle@google.com> |
Add sliced assignment to variables - Currently this does not support broadcasts, so the r-value's shape must match the shape of the slice. - Only assignments to variables are supported. e.g. of usage op = foo[3:5].assign(tf.constant([1,2])) sess.run(op) Change: 131837883
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a7fc9f53fa928e85b5d2b037efdc0e84f7a7b31d |
|
30-Aug-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Enable C++ shape function for math_ops.py and array_ops.cc shape functions that don't require access to the input constant tensor, and for which the C++ function's behavior matches python. Fix rank check in C++ BatchMatMul shape function. Fix rank check in C++ sparse cwise shape function. Add an option on common_shapes.call_cpp_shape_fn to verify against the python shape function. This is meant to be called only when preparing a change to switch shape functions over. Change: 131739513
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a5629419f11cd552935d678557e74201dbe992ed |
|
26-Aug-2016 |
Benoit Steiner <bsteiner@google.com> |
Optimize the handling of shapes inside loops now that we can rely on static shape inference inside loops Change: 131402520
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b27a4db481ab094b501078fc86bb5d864c1085c8 |
|
25-Aug-2016 |
Geoffrey Irving <geoffreyi@google.com> |
Teach tf.ones and tf.zeros about bool Change: 131330482
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
829a2365229580074cff806e725bca9f2a34788c |
|
25-Aug-2016 |
Wei Ho <weiho@google.com> |
Adds _PartitionInfo to variable initializer signature Change: 131229727
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
208c2a977a546bcdca2a3215fe1f2dc771f5287f |
|
23-Aug-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fixing spacing issue in docs for tf.meshgrid as per b/30845368. Change: 131001422
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
aade4f25c2e2db90199394c5dd81c807341b0654 |
|
22-Aug-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Specifies individual tensor ranks in sparse_placeholder. Change: 130980786
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b1413783a47bbf94dfbdd6e31d0e4a765a966d41 |
|
19-Aug-2016 |
Benoit Steiner <bsteiner@google.com> |
Merge changes from github. Change: 130695673
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
96b0d83aa0170ca1dbf7369c7b24326a0d5c80ac |
|
11-Aug-2016 |
Geoffrey Irving <geoffreyi@google.com> |
Fix shape inference for pack with a negative axis Fixes #3731. Change: 130023918
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
57197386a469e00693540481de08a9b1770c7bb4 |
|
11-Aug-2016 |
Andrew Selle <aselle@google.com> |
Allow tensors to be used in place of constants in slicing. This also disallows implicit casts of floating point indexes i.e. foo[3.] will complain now. This is inline with current deprecated behavior in numpy itself. Change: 130008050
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1df3fb0b4ae5915364f09e233496e98a99a4a886 |
|
09-Aug-2016 |
Lukasz Kaiser <lukaszkaiser@google.com> |
Deprecate op_scope by extending name_scope and move all callers to the new name_scope. Instead of tf.op_scope(values, name, default_name) please use now tf.name_scope(name, default_name, values). Only the name parameter is required, and when other are absent, it behaves exactly as tf.name_scope did before. Change: 129776424
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e3fdc3b7fd4784b88512517d3b3dacfbb9677e43 |
|
09-Aug-2016 |
Andrew Selle <aselle@google.com> |
Compute proper processing_shape for foo[-1] - 1 size shrink intervals had the wrong processing dimensions (0 rank) - Fix by creating a dense->shrink_axis to manually fix indices later - This caused foo[-1] to segfault when gradient was taken Change: 129759633
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5989d094ae15011c9a8a92d6fbcd829be71afa12 |
|
09-Aug-2016 |
Derek Murray <mrry@google.com> |
Improve shape inference for `tf.slice()`. * Propagate constants through `tf.pack()` in shape functions. * Handle partially-known values for the `begin` vector. Change: 129714158
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1eb2f659201d981b3c07780fbf3187de998f7ff4 |
|
08-Aug-2016 |
Derek Murray <mrry@google.com> |
Improve shape inference with `tf.tile()` with partially unknown multiples. Also checks that the multiples have a length that matches the rank of the input, which catches the potential error at graph construction time. Fixes #3692. Change: 129648174
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8f9a91a2e1e7a1e3475c9fbba59238e219d5ac6e |
|
08-Aug-2016 |
Benoit Steiner <bsteiner@google.com> |
Extract shape information and encode it as constants. This improves the step time of the ptb_word_lm model by 5 to 10%, and the training speed of the inception model by 5%. We avoid encoding static shapes as constant when control flow operations are involved since the static shape information may be incorrect in some cases. Change: 129636322
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a1f85a49b77ae8bcf696caf872d09d1649658512 |
|
06-Aug-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Remove unnecessary copies from conv ops and pad ops. Change: 129499552
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
282398359a0ea512514759167226c95cdf2ec958 |
|
02-Aug-2016 |
Andrew Selle <aselle@google.com> |
Automated rollback of change 128393251 Change: 129119921
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e3fdccaa4c4d834367e4e17d24518bc0a8e770f5 |
|
28-Jul-2016 |
Andrew Selle <aselle@google.com> |
Broken up changes toward enabling strided slice - Implement gradient of StridedSliceGrad (in c++ and python) - Improve the testing of gradients in c++ and python - Fix shape inference routine in python - Fix incorrect seeding in prob_rnn and rnn_decoder Change: 128742759
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9b077c069e2d350e610e2f339d4f6094caba5445 |
|
26-Jul-2016 |
Andrew Selle <aselle@google.com> |
Fix two striding slicing grad bugs - shape was not properly pinned HostMemory - shape was not type checked before using templatized accessors - added tests that would have catched these errors - added strided_slice to documentation to export it to tf Change: 128514920
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1bd1c27e0db046ef97a1e39817956c05bc3f44d3 |
|
25-Jul-2016 |
Andrew Selle <aselle@google.com> |
Automated rollback of change 128378997 Change: 128393251
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d7a2571ff46792d336aca7ce9ee15bddfb92ae36 |
|
25-Jul-2016 |
Andrew Selle <aselle@google.com> |
Automated rollback of change 127492429 Change: 128378997
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
34883b6f1c754e2c309645d88dcbf1dfb3cf9cf4 |
|
23-Jul-2016 |
Eugene Brevdo <ebrevdo@google.com> |
Extend gather_nd to support sliced indexing. Includes: * Some bugfixes for empty inputs * Better parallelization on GPU using a CUDA kernel. Change: 128236016
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
74014d49384531b9209ad38ed7555872fcdfb4bf |
|
18-Jul-2016 |
Ian Langmore <langmore@google.com> |
Static shape inference added to array_ops.batch_matrix_transpose. After transposition with a shape tensor, all static information is lost. This change preserves shape if static shape is fully defined. Change: 127746146
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9e492dc0ffa92ca1d5be6378e6c748e2ef7ef638 |
|
15-Jul-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Fixed documentation for slice and concat. Documentation does not seem to be rendered properly. All other uses of ```python have a blank line before them. Change: 127574769
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
50303a79bc084d8c73d711455951c871a442dd02 |
|
15-Jul-2016 |
Andrew Selle <aselle@google.com> |
Automated rollback of change 127463353 Change: 127492429
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d307fa8d8291dca18c335954cb00ff24e670bee9 |
|
14-Jul-2016 |
Ian Langmore <langmore@google.com> |
batch_matrix_transpose added to array_ops. This transposes the last two dimensions of a Tensor. Convenience method. Change: 127474063
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
4f63d69d562053a39b4ea25253a2e571dcec2554 |
|
14-Jul-2016 |
Andrew Selle <aselle@google.com> |
Enable strided slice op as default slicing. This allows more rich slicing of tensors i.e. tf.assign(var, foo[-5:-10:-1, ..., 3:5, tf.newaxis]) This does not include lvalue support for assigning to a slice. It also does not include advanced indexing foo[bar] where bar is a tensor. Fixed bug in implementation where num_elements was used instead of dims for an optimization code path. Also make supervisor have an easier to read error message for dim mismatches. Change: 127463353
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5d516c83722314fbeb138a33009ef96854fd35e0 |
|
14-Jul-2016 |
Eugene Brevdo <ebrevdo@google.com> |
Add BatchMatrixWithDiag op & gradient Change: 127378533
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3485f56c407f52cfccff482152d6a4e7c8e1e2c4 |
|
13-Jul-2016 |
Andrew Selle <aselle@google.com> |
Rename ellipse to ellipsis to avoid confusion TESTED: - passed opensource_build - passed non-prefailing unit tests Change: 127350891
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
96e2ff5d4545d62ae7eb0673d26ea4644b60e394 |
|
09-Jul-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Update documentation for pack and unpack. Add suggestions in split and concat as to when to alternatively use pack and unpack. Change: 126954039
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6062f26f626555ca980c716d52c6204e17745503 |
|
30-Jun-2016 |
Derek Murray <mrry@google.com> |
Adapt the shape function for `tf.fill()` to handle partial shapes. Fixes #3102. Change: 126324523
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
706a5baa6e633ffbbcdf49f69e3ef88421001a76 |
|
26-Jun-2016 |
Derek Murray <mrry@google.com> |
Add partial shape inference for values that are used as shapes. With this change, the shape inference for `tf.reshape()` will correctly observe that, for example: ```python x = tf.placeholder(tf.float32) y = tf.placeholder(tf.int32) z = tf.reshape(x, [y, 37]) print(z.get_shape()) # ==> (?, 37) ``` Partially addresses #2938. Change: 125875146
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
67324b1e3af826c4c491802f4022a5f5be9f6670 |
|
25-Jun-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Merge changes from github. Change: 125835079
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9c4c4cbc6e5315e0fd759505bad5f45acdd9c206 |
|
24-Jun-2016 |
Andrew Selle <aselle@google.com> |
Implement gradient for StridedSlice op. StridedSliceGrad op implements the gradient of StridedSlice. Also implement python benchmark for StridedSlice and simple Slice. Fix bugs in special case optimizations in StridedSlice. (Toward resolving bug #206) Change: 125789921
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
eff93149a6dc8e6826898fd9f9c28c81e21c9836 |
|
24-Jun-2016 |
A. Unique TensorFlower <gardener@tensorflow.org> |
Add axis option to tf.unpack and tf.pack. Change: 125729413
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
69de6c42b90c7cc594dac0a8eae6b4b54a717027 |
|
17-Jun-2016 |
Jianmin Chen <jmchen@google.com> |
Add shape function for QuantizeAndDequantize op. Change: 125114422
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
37f56fe001fe8a564cc3f62060a0bdece897d4a2 |
|
16-Jun-2016 |
Benoit Steiner <bsteiner@google.com> |
Merge changes from github. Change: 125080305
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1f35660f712ea24d97985eceaa97618770e76a77 |
|
16-Jun-2016 |
Andrew Selle <aselle@google.com> |
Extended slicing in TensorFlow (similar to NumPy) This extends slicing to allow a more complete set of the basic slicing in NumPy. For example, you can now do negative strides while zero strides are still disallowed. NOTE: This change does not yet hook up the new slicing behavior to the python getitem operator, because we do not yet support gradients (unlike the simpler slice we are extending). NOTE: This change does not introduce slicing using tensors as arguments (advanced indexing in NumPy). foo[5:1:-2] You can also do ellipsis foo[5:1:-2,...,3:4] In addition you can add new dimensions foo[5:, tf.newaxis, ...] Fixes part of #206. Change: 124998811
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a558c6e3b38846727873b5afbbc3ba309ae5dff5 |
|
14-Jun-2016 |
Olivia Nordquist <nolivia@google.com> |
Execute TODOs to move client/graph_util.py ops/common_shapes.py ops/constant_op.py ops/op_def_library.py to framework/. Also moved 2 corresponding test files and fixed some linting errors Change: 124885409
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5a65d43a9e456aac08b32a1d38cbe123d73fcda8 |
|
11-Jun-2016 |
Vijay Vasudevan <vrv@google.com> |
Merge changes from github. Change: 124644444
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8592316fb64efdc02e907e4a2032e82426b0f716 |
|
07-Jun-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Correct documentation for sparse_mask. Example and prose conflicted. Change: 124224414
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b1b2dc893d616c024c5390dae8b2f932c917d7f8 |
|
07-Jun-2016 |
Martin Wicke <wicke@google.com> |
Merge changes from github. Change: 124183870
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
14e425c313a96cedb514cbc2c122d201707994ac |
|
06-Jun-2016 |
Derek Murray <mrry@google.com> |
Fix `tf.reverse()` shape function to work when dims is unknown. Fixes #2690. Change: 124167453
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
60796d7c0d401e5e7b7a139f165e78ce778583be |
|
04-Jun-2016 |
Martin Wicke <wicke@google.com> |
Merge changes from github. Change: 124012080
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6b1b429da364b5f78adc1a3f3360c60dff2c2f41 |
|
03-Jun-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Adds an ExtractImagePatchesOp that performs im2col. Forward only implementation for now. Fixes #2605. Change: 123983077
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0cf9ed3a719c0782695154d5a0bca260001cec15 |
|
02-Jun-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Update copyright for 3p/tf/python. Change: 123900456
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3ce1d20108cfc190553bac98c17a53b23457f8bd |
|
31-May-2016 |
Derek Murray <mrry@google.com> |
Fix `tf.ones()` and `tf.zeros()` to accept auto-packed inputs. Change: 123657285
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a6901e988401328be0d7756ccd53c2b7c3d19a34 |
|
26-May-2016 |
Derek Murray <mrry@google.com> |
Improves shape functions for tf.space_to_batch() and related ops. Also fixes tf.batch_to_space(), tf.depth_to_space(), and tf.space_to_depth(). The shape functions now tolerate computed inputs for their paddings argument (whereas before they used the evaluated constant_value, which made them only work with static inputs). Fixes #2473. Change: 123320634
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1135dac30a92a022aced959d44fbca4372bf9a80 |
|
25-May-2016 |
Vijay Vasudevan <vrv@google.com> |
Merge changes from github. Change: 123167405
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
892ca4ddc12852a7b4633fd08f163941356cb4e6 |
|
23-May-2016 |
Derek Murray <mrry@google.com> |
Merge changes from github. Change: 123026122
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b2417e1e498b88543de0e7a1091d04924f2f9afd |
|
17-May-2016 |
Derek Murray <mrry@google.com> |
Implements automatic packing for nested lists/tuples of tensors. This change extends the set of valid arguments to `tf.convert_to_tensor()` to include lists/tuples that contain a mixture of values and `tf.Tensor` objects. This enables you to write things like: ```python input_data = ... batch_size = tf.placeholder(tf.int32, shape=[]) reshaped_data = tf.reshape(input_data, [batch_size, 784]) ``` ...and saves you from having to use `tf.concat()`/`tf.pack()` to achieve this manually. Fixes #2328. Change: 122494369
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
34709045c9cabf6e88a069ecbb1046d054b9d0aa |
|
12-May-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Propagate static shape information in tf.boolean_mask Change: 122184973
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
136a89a7dfde50a0250be31373dd3631a71980dd |
|
11-May-2016 |
Olivia Nordquist <nolivia@umich.edu> |
Adds tests for unknown shape in bitcast Change: 122089210
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0c661f545283df6a393c838ed2994a09490e6fa2 |
|
11-May-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Support more dynamic shapes in tf.boolean_mask. Change: 122021966
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8bf6ef1337359993a8be057c0dc90da8f5a6e4fa |
|
05-May-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Merge changes from github. Change: 121586635
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
13b2a36828269725ea18a86488de4e803c2d0d97 |
|
04-May-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Make tf.pack use Const op when input is a constant list (or ndarray). This facilitates shape induction when shape is produced via tf.pack() and is generally more efficient. Change: 121508615
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
d5b0e88e0fa8bdd6d953a5cb73576e123285eca0 |
|
03-May-2016 |
Illia Polosukhin <ilblackdragon@gmail.com> |
Added a sparse_placeholder function to array_ops, to simplify feeding sparse data. Usage: sp = tf.sparse_placeholder(dtype=tf.float32) ... session.run(output, feed_dict={sp: SparseTensorValue(indices=..., values=..., shape=...)}) or session.run(output, feed_dict={sp: (some_indices, some_values, some_shape)}) or for fixed shape: sp = tf.sparse_placeholder(dtype=tf.float32, shape=[2, 2]) can retrieve shape without session: tf.constant_value(sp.shape) ... session.run(output, feed_dict={sp: (some_indices, some_values)}) Change: 121332788
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6a5f715ae7d44c7f1c0724cdb2a54ddc75ae98b1 |
|
21-Apr-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Add ops SpaceToBatch and BatchToSpace. Change: 120387621
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
913b6e2519c06573cf8c90f3c5c21734fc86b559 |
|
19-Apr-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Make tf.diag_part work with inputs of unknown shape. Change: 120231603
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5c9bc51857bc0c330d3ab976871ee3509647d1e7 |
|
19-Apr-2016 |
Illia Polosukhin <ilblackdragon@gmail.com> |
Merge changes from github. Change: 120185825
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f88d0cbe75df0a5de21b1c4cfcd7137327478948 |
|
16-Apr-2016 |
Derek Murray <mrry@google.com> |
Add shape information to dense gradients. This change takes advantage of the fact that a dense gradient tensor must have the same shape as the corresponding input to the forward-pass op. It may enable additional optimizations (such as the ability to use the accumulate_n aggregator) that rely on static shape information. This change revealed some broken code, for which fixes are included: * The shape function for `tf.diag_part()` incorrectly used an equality test on shapes, rather than a compatibility test. * The gradient function for `tf.nn.top_k()` incorrectly returned a length-1 vector for the gradient w.r.t. `k`, which it should have been a scalar. * A unit test in `control_flow_ops_py_test` inconsistently used vectors and scalars. Change: 120038251
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
fc3c0992fee825593ddca88a8e8f666ba92e1d59 |
|
15-Apr-2016 |
Derek Murray <mrry@google.com> |
Fix bug in `tf.zeros()` when specifying a scalar shape as an empty tuple. This correctly converts inputs to `tf.int32`. Specifying a tuple is now handled using the same special case as specifying a list, so that the constant can be pre-allocated. Change: 119985289
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8aaed92f9e9416b389dfd06fae654b65bd1b0f4d |
|
14-Apr-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Adds op for copying a diagonal band of a matrix or batch of matrices. Special cases include the functionality of numpy.tril and numpy.triu. Change: 119857063
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b7eeb7396aef3add4cc53b6890c1eca0692038ce |
|
08-Apr-2016 |
Eugene Brevdo <ebrevdo@gmail.com> |
Add batch_diag and batch_diag_part ops. Change: 119399466
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
91969ae68e30eef368698094a7f574a3bcfdf315 |
|
08-Apr-2016 |
Derek Murray <mrry@google.com> |
Fixes `tf.reverse_sequence()` to work when input shape is unknown. Fixes #1816. Change: 119369338
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
84476b25a13c492af889289f7ea148de7db8acd0 |
|
05-Apr-2016 |
Manjunath Kudlur <keveman@gmail.com> |
Use convert_to_tensor to do type/shape check instead of make_tensor_proto, as convert_to_tensor handles a Tensor in addition to other Python values. Change: 119078171
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e01f6bf2683dac9fe3ba75393f47bf5e044ac428 |
|
02-Apr-2016 |
Josh Levenberg <josh11b@tensorflow.org> |
PyLint updates. Change: 118829696
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9f0f274859ab8ec7afaf4fec3c174d02515a8a1f |
|
31-Mar-2016 |
Manjunath Kudlur <keveman@gmail.com> |
Add type check for concat dim, add tests. Fixes #1723 Change: 118711183
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3f92ed6876437c73bbe74118ff80d673ca117c2d |
|
29-Mar-2016 |
Eugene Brevdo <ebrevdo@gmail.com> |
Add gather_nd op Change: 118401267
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
4f947f4e71aa02f316e7eb1fc05d7cc9c1828435 |
|
17-Mar-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
fix indices in image describing dynamic_stitch Change: 117456435
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9a8c5ad18c61cb0695d31e2ce969008c82999c7c |
|
15-Mar-2016 |
Derek Murray <mrry@google.com> |
Prevent the feeding of tensors whose values are used to calculate shapes. This change prevents feeding a tensor if its constant value has been accessed. For example, the constant value is often used in shape functions (e.g. in `tf.reshape(data, indices)`, `indices` is a tensor, but it is often constant) in order to infer more precise shapes. It is also used in the `tf.image.*` to generate simpler, more efficient graphs. However, doing so is potentially unsafe, because the tensor can be fed with a different value, which invalidates the previously obtained constant value, and can lead to subtle bugs. IF THIS BREAKS YOU ------------------ Replace the tensor that you are feeding with a `tf.placeholder()` of the appropriate dtype and shape. Change: 117263031
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
464addfc500c36601b1c459937925847ba45f47a |
|
11-Mar-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Rollforward of "Add MirrorPad op. This op is a variety of Pad op implementing reflect and symmetric modes of Numpy pad." Change: 117005618
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
56f1d64998744ad655fe5c428658a13be35b865e |
|
11-Mar-2016 |
Eugene Brevdo <ebrevdo@gmail.com> |
Fix dependencies bugs Change: 116925769
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
bb3674caeb8e21e217ffe6446e816608990297bd |
|
10-Mar-2016 |
Vijay Vasudevan <vrv@google.com> |
Rollback of "Add MirrorPad op. This op is a variety of Pad op implementing reflect and symmetric modes of Numpy pad." Change: 116836742
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9f0b11170d6e88c7afb3b11f6165d21144b0e59b |
|
10-Mar-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Add MirrorPad op. This op is a variety of Pad op implementing reflect and symmetric modes of Numpy pad. Change: 116828726
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
febfec7256026a38bda30c78c2768b32e64c9a2c |
|
08-Mar-2016 |
Geoffrey Irving <geoffreyi@google.com> |
Partially revert a change to zeros_like which broke the Mandelbrot example An earlier change made zeros_like inefficient if an output dtype different than the input was desired: it first made zeros of the input dtype and then cast. In addition to not being efficient, this broke the Mandelbrot example, which used zeros_like on a complex tensor with float output. Cast is not allowed from complex to float, so this failed. The new code used tf.zeros and tf.shape if the dtypes differ. Fixes #1427. Change: 116675900
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
778399465a28565360a496c750bab570216b5e87 |
|
03-Mar-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Added ones_initializer to init_ops.py redirect array_ops.zeros_initializer to init_ops.zeros_initializer Added test for them at init_ops_test.py. Change: 116275678
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
8411effdee68041ebccee422095444a0753d344b |
|
24-Feb-2016 |
Eugene Brevdo <ebrevdo@gmail.com> |
Add the OneHot op. Change: 115464229
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
125b8058c0b815c7b1b2663ff2d7568d81c08313 |
|
12-Feb-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Add a bitcast op for changing the type of a tensor without copying its buffer Fixes #655. Change: 114542161
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
c4801e3624dec02091009b40dd9c7e28aed526b2 |
|
11-Feb-2016 |
Geoffrey Irving <geoffreyi@google.com> |
Clean up saturate_cast, test, and move to tf.saturate_cast Change: 114470777
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7760ce56fc3ab4ab8cdc408e29d8ad8b539c417e |
|
11-Feb-2016 |
Josh Levenberg <josh11b@tensorflow.org> |
Get rid of some import cruft. Change: 114374558
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3c13ae058ea45d855d8029b3d19f6567b86430b5 |
|
09-Feb-2016 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: change int -> size_t to silence warning Change: 114243879
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
222feaa6ca3bbaf187232717ea73b08f4024fe52 |
|
09-Feb-2016 |
David G. Andersen <dga@google.com> |
Cleaning up pylints - removing some unnecessary ones, being more careful about re-enabling wildcard-import where appropriate. Change: 114167131
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
b064d6199d2553c9c6ac6013c9f62b9af47f4524 |
|
04-Feb-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Fixes ZerosLike on GPU Change: 113889504
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
791f7a3a490720fe42ceee4f6519eaf77ff2f1ca |
|
04-Feb-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
tensorflow: relax the dimensionality check for tf.squeeze. This CL relaxes the shape inference constraints on tf.squeeze. Previously, trying to squeeze a dimension whose build-time shape was unknown would result in the squeezed shape being completely unknown. This causes errors on some otherwise working programs that rely on TensorFlow's build-time shape inference. With this change, it's assumed that, if there is an explicit squeeze_dims argument to tf.squeeze() and the dims in question are not known at shape inference time, the input dims will be assumed to be 1. If they are not, an error will be thrown at runtime just as before. Change: 113863596
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
08b09699ad5f8b57add1f83461568b647c42129a |
|
02-Feb-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Add boolean_mask Op. boolean_mask(tensor, mask) is equivalent to numpy's tensor[mask]. Change: 113676874
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
6c436f20a4ccd195e7f0e711384ff9763d32c0ba |
|
01-Feb-2016 |
Josh Levenberg <josh11b@tensorflow.org> |
Get rid of mysterious comment previously needed for syncing with the Google-internal version. Change: 113552310
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
5e3406193fad95b6997670cf90c2feda105b83d6 |
|
23-Jan-2016 |
Geoffrey Irving <geoffreyi@google.com> |
Make shape inference more scalar strict We still haven't advanced to the scalar strict GraphDef version, but this change will prevent some (not all) new Python scripts from violating scalar strictness. That is, it will significantly reduce the amount of bit rot between now and when I finally get full scalar strictness submitted. Change: 112866199
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
877fcd1a113797a1c5847dd5fdbef7868addded0 |
|
21-Jan-2016 |
Geoffrey Irving <geoffreyi@google.com> |
Prepare to hide tf.tensor_util 1. There is a new tf.unsupported module to hold things which some people use but which we don't yet support. 2. tf.tensor_util.ConstantValue is now tf.unsupported.constant_value. Most users use this, but tf.tensor_util.ConstantValue is still available; it will be removed in a following commit. 3. tensor_util.MakeTensorShapeProto is now make_tensor_shape_proto. It looks like all users of this access the tensor_util module directly (not through tf), so for now it is not in unsupported. This commit does not remove tensor_util from tf.__all__; a few more downstream users must be changed before that can happen. Change: 112626961
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
ed5205ae9bcd11b0d7b9dcb9aea74d500ac61d8b |
|
19-Jan-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Simplify ConcatGrad so that it generates N+2 nodes instead 4N+16 nodes. Change: 112499672
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
e75bd059e5f4c76e2e0fd7d5220962e99cd1d960 |
|
16-Jan-2016 |
Andrew Dai <adai@google.com> |
Add the UniqueWithCounts op. This is the same as the Unique op but has an additional output that returns the number of duplicate values. Change: 112301474
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
3019126ce06d1d8c5269964d279702c42b36efa7 |
|
15-Jan-2016 |
Derek Murray <mrry@google.com> |
Removes static shape checks from certain image ops. The following ops are affected: * tf.image.flip_left_right() * tf.image.flip_up_down() * tf.image.per_image_whitening() * tf.image.random_flip_left_right() * tf.image.random_flip_up_down() * tf.image.transpose_image() This change allows these ops to be used in a setting where each image may have a different shape (such as a JPEG-decoding pipeline). When static shape information is available, the same checks are performed. To improve the produced shape information, this change also makes the shape function for `tf.reverse()` more precise when dealing with an input with partially-known shape. Change: 112277661
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
7a524d4de0a0da527f355adb7eccea7756c82dac |
|
13-Jan-2016 |
David G. Andersen <dga@google.com> |
Fix fill gradient test for legacy scalar strictness Change: 112005548
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a6037e933fe8799c80f94decc9f5b178b833c1b8 |
|
11-Jan-2016 |
Derek Murray <mrry@google.com> |
Add better shape inference for `tf.zeros_like()` and `tf.ones_like()`. Previously, partial shape information was discarded, because our constant evaluation for (e.g.) `tf.shape(tf.placeholder([..., None, ...]))` could not produce a Numpy array for the shape. Since the *_like wrappers have access to the input tensor, we can use `Tensor.set_shape()` to add back the partial information. Fixes #744. Change: 111856452
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
a1d4149a6eceebf2a5634b67e0c3a92566e7e566 |
|
06-Jan-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Change: 111522571
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
0ce489f4e0c3b12d4dce1b2d642f48f45797774a |
|
06-Jan-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
New GraphDef version 4: TensorFlow is now scalar strict The kAllowLegacyScalars flag is now gone. Instead, scalar strictness now depends on the GraphDef version: we are lenient below 4 and strict with 4 and above. All new graphs should use version >= 4. The internal Google version of tensorflow is now as scalar strict as the open source release. Note that outside of PLATFORM_GOOGLE, this change has no effect, since the code was already scalar strict. Change: 111467133
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
1c579361cd1e088dd5e05a394b1561a73e3667ba |
|
05-Jan-2016 |
A. Unique TensorFlower <nobody@tensorflow.org> |
Added 'logging' import to control_flow_ops which is used in the file but not imported. Change: 110842260
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
27259353e50e6bcaeeedbc26dc3aaaa5695fe500 |
|
10-Dec-2015 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: Upstream changes from git. Change 109849574 Avoid some missing return warnings Change 109837783 Add invalid aggregation to error message. Change 109835474 Improves docstring of RegisterGradient decorator. Fixes a typo (input -> output) and uses lowercase name for neg in the provided example. Change 109834486 Update generated Op docs. Change 109830497 Fix per_image_whitening to handle edge case by preventing the sqrt() of a negative number which is possible due to numerical floating point issues. Unit test added. Fixes #411 Change 109824286 Change TensorBoard/TAG to 4 Change 109824197 Update tutorials and documentation usage of print to use print as function not statement. This way you can copy+paste code in a python3 context and it will still work. Change 109824020 Fix another case where TensorBoard discards values after a restart. We also need to not discard on graph_def, since user code or SummaryWriter may add graph_defs at step 0 after every restart. Change 109821924 Defines Templates for variable sharing. A Template is a function that generates a sub-graph with the same variables each time it is called. Two different templates defined with the same underlying function also return different variables. Change 109815801 Don't instatiate the eigen expressions for additions and subtractions of boolean since they won't be called. This reduces the size of the binary a bit. Change 109795730 Allow casts to and from int8 Change 109791914 Python 3 fix: filter has no len gradients.py calls len on the output of filter. A call to tuple is needed in between. Not sure why this wasn't caught when we ran the Python 3 tests. If I break it for Python 2 several tests break. Change 109757009 Fix minor grammatical errors in about.html The missing article needs no justification, I think. has -> have, because subjects are 'usability and functionality', not 'TensorFlow'. and also -> and, because 'also' is superfluous in this use. Change 109756627 TensorFlow: some doc updates to models/ files Change 109743899 TensorFlow: remove one more clang warning (class / struct inconsistency). Change 109741933 Document default for max_images in tf.image_summary It used to say max_images=None which hid the C++ defalut of 3. Now it says max_images=3. Fixes https://github.com/tensorflow/tensorflow/issues/441. It's unfortunate that an edit-distance-5 change produces such a large CL. Change 109741569 Update generated Op docs. Change 109739599 Renaming the Python variables in the layer weights of the fully connected MNIST model so that the variable and the TensorFlow names are different. This allows the documentation to be more explicit about the distinction between the weights and biases of different layers. Also, the documentation gets to describe the whether the TF name or the Python name is being used. Base CL: 109851372
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
cd53f3c3302c9312c1840389a9988a879b8b9dd5 |
|
08-Dec-2015 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: upstrea changes from git. Change 109628097 Fix gcc 4.8.1 compile Modified from patch by @assolini here: https://github.com/tensorflow/tensorflow/issues/405 Change 109624275 Make preview frame ImageReader global so that it does not get GC'd. This may fix an issue with connecting to the camera on some devices where the underlying Surface is prematurely cleaned up (http://stackoverflow.com/questions/33437961/android-camera-2-api-bufferqueue-has-been-abandoned). Change 109620599 - improved test a little to make it easier to understand as it serves as an example for users Change 109614953 TensorFlow: update tutorials/howtos to point to correct location of files, show python example in addition to bazel. Change 109612732 TensorFlow: move reading_data into examples, change data dir to /tmp/data. Validated that they all run, but these probably need a selftest at some point. Change 109608695 Apply 'gate_gradients' only when there is more than one real gradients. Change 109605014 There are 3 obvious places to start using TensorFlow. 2/3 of the starting points do not have a link to the installation instructions. Change 109604287 Make the `tf.reshape` shape function more restrictive. Previously, it did not raise a construction-time error if the input shape and the new shape were incompatible; now it detects this and raises a `ValueError`. Change 109603375 TensorFlow: Move word2vec_basic.py from g3doc/ to examples/ There are no additional libraries this uses, so nothing else needs to be done Change 109601289 TensorBoard tag 3 Change 109600908 Decrease number of scalar values stored by TensorBoard. 10k is more than displays nicely. Change 109599464 Fix "smart restart" functionality in TensorBoard (it throws away dead data) After restarts, a file_version event is created that always has step 0. We need to ignore this. Change 109597667 Switch to using /dev/urandom for TensorFlow randomness. Using /dev/random leads to slowdown when running in an environment with poor access to an entropy source (such as some VMs). /dev/urandom has more predictable performance, and we don't require cryptographically secure random number generation, so a PRNG is good enough. Also removes the use of the RNG in DirectSession construction. This was being used to generate a session handle, which is not necessary (since a DirectSession owns its devices, we don't need a unique handle to key the OpSegment objects registered with the various devices). This addresses bugs that have been reported on the mailing list and Stack Overflow. Change 109596906 Add an is_unsigned property to dtype Change 109596830 Remove unnecessary fill in clip_by_value Change 109591880 Remove Android demo's libpthread.so dummy file (required by protobuf) from repo and generate it at compile-time. This makes the Android demo more portable, as the generated file will now always be the correct archictecture for linking. Change 109589028 Isolating out the RTTI part of TensorFlow and add non-RTTI backups for Android. This saves about 400KB of the compiled library, when compiling the Android tensorflow target with -fno-rtti. Change 109589018 Internal reworking of LSTMCell. Change 109588229 Allow bool-valued tensors to be persisted. Change 109577175 TensorBoard host defaults to 0.0.0.0 Change 109551438 TensorFlow: move mnist g3doc tutorials into tensorflow/examples. Update examples to point to the correct location. Adds tests to make sure they don't regress, do some lint cleanup. Base CL: 109630240
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
bf6b536bde7d8060c489b51fedb58968b8cbfd7c |
|
03-Dec-2015 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: Upstream changes to git. Change 109240606 Fix typo Change 109240358 Fix bug in Concat's shape inference due to legacy scalar handling. The shape function was inadvertently converting outputs of unknown shape (rank=None) to vectors of unknown length (rank=1), due to inability to distinguish between legacy scalars and vectors, because `max(1, None)` is 1. Change 109237152 Remove numarray requirement in python_config. Change 109234003 Fix typo in elu documentation. Change 109232946 Python must now be configured via ./configure script Change 109232134 Backported fixes to the tensor comparison operators from the public Eigen repository Change 109231761 Test invalid inputs to softmax_cross_entropy_with_logits. Change 109230218 Backported fixes to the tensor comparison operators from the public Eigen repository Change 109229915 Correct comments in seq2seq to show the right input types for embedding models. (Thanks to hugman@github for bringing this up.) Change 109229118 Fix resize_images example in documentation and allow resize_images to run on a single image with partially-known shape. Change 109228940 Fix demo and node add/remove button spacing Change 109227909 Include Elu in the NN docs. Change 109227059 Adds variable_op_scope and makes variable_scope always add a name_scope. This creates an op scope for variables that makes it easy to create independent operations with a default name by making that name unique for the current scope and it allows explicit names that are not made unique. Change 109224492 Streamline yuv -> rgb conversion to be done in one pass in native code. The entire process now takes ~2ms (including the ByteBuffer.get() calls), down from 10+ ms when the arrays were being interleaved in Java prior to conversion. Also abstracting common yuv->rgb color conversion into helper method. Change 109224389 Add ability to move nodes in and out of auxiliary nodes in graph. Change 109217177 Update generated Op docs. Change 109215030 Implementation of the ELU activation function: http://arxiv.org/abs/1511.07289 Change 109209848 When GPUBFCAllocator runs out of memory, also log a summary of chunks in use by size. Change 109206569 Switched to the public version of the Eigen::sign method since it supports complex numbers. Change 109199813 Modify tensorflow.SequenceExample to support multiple-length sequences. Base CL: 109241553
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
795f35da2d458cbae477ac2fe2bff80c1427a771 |
|
01-Dec-2015 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: upstream changes to git Change: Clean up documentation for ReverseSequence Change: Updated several tensorflow operations to use 32bit indices on GPU. Change: Add attribute batch_dim to ReverseSequenceOp. Change: Fix error in convert_to_records.py. As reported in https://github.com/tensorflow/tensorflow/issues/370 by AlexUnderMicrocontRoll. Change: Update TensorBoard README. Change: Fixes to boolean flags reported in https://github.com/tensorflow/tensorflow/issues/379. Supports: --bool_flag=True --> True --bool_flag=False --> False --bool_flag=gibberish --> False --bool_flag --> True --nobool_flag --> False Fixes #379 Change: Update generated Op docs. Change: Enable local development of TensorBoard using gulp Also make tf-tensorboard a regular component rather than special case This is mostly effected by creating tfserve.js, which is a small server with clever routing to load from bower_components/ and components/ using the paths that work within google3. Workflow: `gulp serve` Change: Add a full working code example to the tensorboard and summaries tutorial Change: Fix seq2seq_test when running on GPU. The "proj_w" and "proj_b" variables were being created before the `test_session()`'s device function took effect, which pushed the placement algorithm into making an incorrect decision. Change: Add a sentence in TensorBoard README on how to serialize summary data to logs and provide link to the how-to tutorial on the TensorFlow website. Change: Add error-catching code if string_input_producer is supplied a null input. Before this change, it would die with an opaque shape error from inside the queue. This change catches (most) python null lists being passed directly in, and at runtime detects null tensors. Adds two tests for this to input_test.py Change: Speed up for models that use the same variable multiple times in the case where variables must be copied across devices: - Have Variables wrap the Variable op in an Identity op when converted to Tensor. This avoids multiple copies across devices if a variable is used multiple time in a computation. - Add Variable.mutable() to return the non-wrapped Variable op for used when assigning new values. - Add an as_ref parameter to convert_to_tensor() to allow code to specify if they plan to assign a new value to the result of the conversion. Make Variable return the result of Variable.mutable() when as_ref is True. - Make all ops that assign values to variables pass as_ref=True when converting their arguments. Change: Change to reduce critical section times in gpu_event_mgr.h: (1) Call stream->ThenRecordEvent outside the EventMgr critical section (2) Do memory deallocation outside the critical section Speeds up one configuration of ptb_word_lm from 2924 words per second (wps) to 3278 wps on my desktop machine with a Titan X. Change: Remove some colons that break the open source build ::tensorflow::StringPiece breaks for @raingo, see https://github.com/tensorflow/tensorflow/issues/358. tensorflow::StringPiece (without the leading colons) seems to fix the problem. Change: Added check that inputs to Operation is a list and make a defensive copy of the input. This is for cases where the input list is changed such as in _add_input. Change: Use standard names for TensorFlow dtypes in the tutorial. Change: Add tests for tensor inputs. Change: Fix build after declaring more types for ops Change: Switch to 32 bit indexing to speedup convolutions and concatenations. Change: Add convert_image op to convert between types for images (similar to OpenCV's cvtScale). Change: Make cast work between numeric types (bool, uint8, int16, int32, int64, float, double). Change: Padding input data for odd number of paddings, so we can use cudnn anyway. + Fix total padding computation when padding==VALID. + This CL makes the Googlenet benchmark run 5x faster. Change: Support IndexedSlices in ConcatGrad Change: * sampled softmax op uses one embedding lookup for positive and negative samples * float64 support for sampled softmax Change: Move RNN code out of models.rnn (without breaking existing code). The API may still undergo minor changes, until full documentation as added. Change: Changed to use per-step stacks for the accumulators used in while-loop gradient computation. This addresses the problem caused by using concat without sufficient static shape information. It should also improve performance as we avoided those expensive concats. Change: Update generated Op docs. Change: Improve error messages when the optimizer finds no variables to minimize or when none of the variables has gradients. Change: Say that -1 isn't just for flattening in reshape docs Also add scalar reshape (reshape(t, [])) as an example. This fixes https://github.com/tensorflow/tensorflow/issues/281. Change: This is a test. Base CL: 109118714
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
854f49bd43588c062b046384f239f64a3d819702 |
|
25-Nov-2015 |
Manjunath Kudlur <keveman@gmail.com> |
TensorFlow: Upstream changes to git Changes: - Updates to docs - Several changes for Python 3 compatibility - Added license headers Base CL: 108710566
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
9c3043ff3bf31a6a81810b4ce9e87ef936f1f529 |
|
20-Nov-2015 |
Manjunath Kudlur <keveman@gmail.com> |
TensorFlow: Improve performance of Alexnet Changes: * error message that refers to removed `DefaultSession` method. * -Wnull-conversion warnings * the "_start_time" attr for recvs when the flag "--brain_enable_scheduling_for_recvs" is set. * typo in tutorial data download progress message. * a typo ("however their installing"=>"however installing"). * typo, rename "TensorFlow Mechanics" to "How To" to be consistent with the website. * a typo ("subtact"=>"subtract"). * protobuf examples in comments in tensorflow::Example.proto. * formula formatting in MNIST beginner tutorial * negative fraction-of-queue-full stats * protobuf inclusion path so that Android demo will build under Blaze. * small typo (moderatly > moderately) * Session.run() to check that tensor arguments come from the session's graph. * another six import * seq2seq typo in bazel command Base CL: 108349164
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
cb9fa5fc9de9f3fc97c15bbcce252d7d7fdcb73b |
|
16-Nov-2015 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: Upstream changes from since last Thursday. Changes: - Bug fix to input.py by @dave-andersen with tests. - Some fixes to names in the whitepaper - Include cfloat for FLT_MAX by @benoitsteiner - Fix broken link in mnist tutorials by @mrry - Typos and fixes to documentation by @Sohl-Dickstein, @ebrevdo, @vrv, Yaroslav, @martinwicke - Fixed unnecessary check around a delete by @girving - More compatibility tests by @josh11b - Misc other typos and fixes by Googlers. Base CL: 107944070
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
4dffee7f62d81ec9173aba1b0ef6b96e47f8037c |
|
12-Nov-2015 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: Minor updates to docs, BUILD, GPU config / perf, etc. Changes: - Updates to op documentation and index by Josh - More changes to BUILD files for python 3 support by @girving - Fix to Eigen to use DenseIndex everywhere by @jiayq - Enable configuration for cuda compute capability by @zheng-xq, including updates to docs. - Route aggregation method through optimizer by schuster - Updates to install instructions for bazel 0.1.1. Base CL: 107702099
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f2102f4e2c1c87f1d1bf9ab856a2849c54478760 |
|
12-Nov-2015 |
Vijay Vasudevan <vrv@google.com> |
TensorFlow: upstream changes from the afternoon. Changes: - futurize --stage2 changes for Python 3 compatibility by @girving. - Small updates to documentation by @vrv, schuster and others - Account for failure of std::thread::hardware_concurrency by @ebrevdo. - More changes for backwards-compatibility tests by Josh - Updates to python op doc generation by Josh - Added support for using the best-fit allocator via ConfigProto by @vrv. - Rename LocalSession to DirectSession, since local was a bad name for it. - Enable tf.nn.moments() to work with tensors of unknown shape by @mrry. GITHUB_ISSUE: 139 - Changes for Android build by Andrew. Base CL: 107645181
/external/tensorflow/tensorflow/python/ops/array_ops.py
|
f41959ccb2d9d4c722fe8fc3351401d53bcf4900 |
|
07-Nov-2015 |
Manjunath Kudlur <keveman@gmail.com> |
TensorFlow: Initial commit of TensorFlow library. TensorFlow is an open source software library for numerical computation using data flow graphs. Base CL: 107276108
/external/tensorflow/tensorflow/python/ops/array_ops.py
|