aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/copy_graph
Commit message (Collapse)AuthorAge
* Do not create a graph as a global variable in tests.Gravatar Gunhan Gulsoy2018-10-09
| | | | PiperOrigin-RevId: 216418324
* Updating the V2 variables API.Gravatar Alexandre Passos2018-09-27
| | | | PiperOrigin-RevId: 214824023
* Convert device function stack into TraceableStack for use in error message ↵Gravatar A. Unique TensorFlower2018-07-26
| | | | | | interpolation. PiperOrigin-RevId: 206120307
* Fix a couple typosGravatar SneakyFish52018-07-10
|
* Remove _USE_C_API staging from ops.py.Gravatar Skye Wanderman-Milne2018-06-05
| | | | PiperOrigin-RevId: 199298594
* Merge changes from github.Gravatar Scott Zhu2018-04-13
| | | | PiperOrigin-RevId: 192850372
* Remove all_opensource_files. It's not needed any more.Gravatar Martin Wicke2018-03-28
| | | | PiperOrigin-RevId: 190878279
* Add pylint check for W0611 unused-import in ci_sanity.sh and fix existing ↵Gravatar Yifei Feng2018-02-06
| | | | | | pylint errors. PiperOrigin-RevId: 184790548
* Add C0330 bad-continuation check to pylint.Gravatar Yifei Feng2018-01-25
| | | | PiperOrigin-RevId: 183270896
* Delete empty api_guides.Gravatar Mark Daoust2017-12-15
| | | | PiperOrigin-RevId: 179215745
* (Temporarily) call Graph._add_op outside of Operation.__init__ again.Gravatar Skye Wanderman-Milne2017-11-29
| | | | | | | | | | | | | | | | | This change partially undoes my previous commit (https://github.com/tensorflow/tensorflow/commit/f4c18a0eb05e21bae397c9c16527ff8080cae6b8). Without this change, if an op is added that has invalid input shapes and also requires a kernel label, the op will be added to the graph before shape inference is run, but then the shape inference error will prevent the kernel label from being applied. The placer will then complain about the missing label when the graph is run. This is only a problem with the C API disabled. With the C API enabled, shape inference is performed when the TF_Operation is created in Operation.__init__. Thus we can and should move the _add_op call back to Operation.__init__ once the _USE_C_API flag is removed. PiperOrigin-RevId: 177338123
* Call Graph._add_op in Operation.__init__ (and remove existing calls).Gravatar Skye Wanderman-Milne2017-11-17
| | | | | | | | | | | | | | | | | | | | | | Without this change, ops manually constructed via Operation.__init__ must be passed to Graph._add_op to keep the graph in a consistent state. Failure to do so is particularly disasterous with the C API enabled, as more Operation methods rely on Graph._nodes_by_name, which is updated in Graph._add_op (e.g. Operation.inputs will fail if the inputs have not been added to the graph). An alternative to this change is to require that all Operation.__init__ callers also call Graph._add_op (we don't currently do this in ops_test.py, although I imagine all non-test callers do). While this is effectively the current contract, it forces callers of Operation.__init__, which is a public API, to use _add_op, which is private. One downside of this change is that it will break existing Graph._add_op calls, since the op will already have been added. However, _add_op is a private API. PiperOrigin-RevId: 176180386
* Automated g4 rollback of changelist 158565259Gravatar Gunhan Gulsoy2017-09-14
| | | | PiperOrigin-RevId: 168650887
* BUILD cleanupGravatar A. Unique TensorFlower2017-08-25
| | | | PiperOrigin-RevId: 166461274
* Further BUILD cleanup in tensorflow/contrib/...Gravatar A. Unique TensorFlower2017-07-19
| | | | PiperOrigin-RevId: 162466482
* Merge changes from github.Gravatar Frank Chen2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Adjust test sizesGravatar A. Unique TensorFlower2017-06-09
| | | | PiperOrigin-RevId: 158565259
* Fix docstring Args/Raises/Returns parsing (Don't assume there is a blank ↵Gravatar Mark Daoust2017-03-22
| | | | | | | | line between). Fix whitespace in copy_elements doc-strings Fixes #8364 Change: 150952638
* Replace pip testing script with bazel.Gravatar Gunhan Gulsoy2017-02-13
| | | | Change: 147423640
* Documentation changes to adhere to new doc generatorGravatar Brennan Saeta2017-02-13
| | | | Change: 147402290
* Seal contrib interfaces (as much a feasible). If you were using a symbol ↵Gravatar Martin Wicke2017-01-29
| | | | | | which is now hidden, it should be added to the _allowed_symbols list in the appropriate __init__.py file. Change: 145943844
* Remove so many more hourglass importsGravatar Justine Tunney2016-12-29
| | | | Change: 143230429
* Remove hourglass imports from even more testsGravatar Justine Tunney2016-12-16
| | | | Change: 142318245
* Change remaining tf.mul -> tf.multiply, tf.neg -> tf.negative, and tf.sub -> ↵Gravatar Andrew Selle2016-12-16
| | | | | | | tf.subtract tf.negative, tf.multiply, tf.subtract are the new names Change: 142257628
* Remove hourglass imports from kernel_testsGravatar Justine Tunney2016-12-14
| | | | Change: 142080137
* Automated rollback of change 139400135Gravatar Jonathan Hseu2016-11-18
| | | | Change: 139632235
* Fix for Markdown in the Python docstrings.Gravatar A. Unique TensorFlower2016-11-17
| | | | Change: 139506551
* Rename `Tensor` to `Output` in all Python docsGravatar Jonathan Hseu2016-11-16
| | | | | | | | | | | | | | 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
* Replace usages all_variables -> global_variables, GraphKeys.VARIABLES -> ↵Gravatar Illia Polosukhin2016-11-04
| | | | | | GraphKeys.GLOBAL_VARIABLES Change: 138212111
* Replace usages initialize_all_variables -> global_variables_initializerGravatar Illia Polosukhin2016-11-03
| | | | Change: 138128703
* Add pylint indentation check to sanity and fix existing indentationGravatar A. Unique TensorFlower2016-09-11
| | | | Change: 132840696
* Split NodeDef out of graph.proto into node_def.proto. Needed so weGravatar A. Unique TensorFlower2016-08-22
| | | | | can use NodeDef in FunctionDef. Change: 130982373
* Update copyright for 3p/tf.Gravatar A. Unique TensorFlower2016-06-02
| | | | Change: 123901292
* Fix check_license and related failures due to new contrib/copy_graph directory.Gravatar A. Unique TensorFlower2016-05-05
| | | | Change: 121600103
* Merge changes from github.Gravatar A. Unique TensorFlower2016-05-05
Change: 121586635