aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/training
Commit message (Collapse)AuthorAge
* [tf.data] Deprecate `tf.contrib.data` and introduce `tf.data.experimental` ↵Gravatar Derek Murray2018-10-01
| | | | | | | | | | | | | | | | | | | | to replace it. This change prepares `tf.data` for TensorFlow 2.0, where `tf.contrib` will no longer exist. It retains the pre-existing endpoints in `tf.contrib.data` with deprecation warnings. Note there are some exceptions to the move: * Deprecated symbols in `tf.contrib.data` have not been moved to `tf.data.experimental`, because replacements already exist. * `tf.contrib.data.LMDBDataset` has not been moved, because we plan to move it to a SIG-maintained repository. * `tf.contrib.data.assert_element_shape()` has not yet been moved, because it depends on functionality in `tf.contrib`, and it will move in a later change. * `tf.contrib.data.AUTOTUNE` has not yet been moved, because we have not yet determined how to `tf_export()` a Python integer. * The stats-related API endpoints have not yet appeared in a released version of TensorFlow, so these are moved to `tf.data.experimental` without retaining an endpoint in `tf.contrib.data`. In addition, this change includes some build rule and ApiDef refactoring: * Some of the "//third_party/tensorflow/python:training" dependencies had to be split in order to avoid a circular dependency. * The `tf.contrib.stateless` ops now have a private core library for the generated wrappers (and accordingly are hidden in their ApiDef) so that `tf.data.experimental.sample_from_datasets()` can depend on them. PiperOrigin-RevId: 215304249
* CleanupGravatar A. Unique TensorFlower2018-09-28
| | | | PiperOrigin-RevId: 214985873
* Updating the V2 variables API.Gravatar Alexandre Passos2018-09-27
| | | | PiperOrigin-RevId: 214824023
* [tf.data] Adding a private method for (recursively) tracking dataset inputs.Gravatar Jiri Simsa2018-09-25
| | | | PiperOrigin-RevId: 214495925
* Make SummaryAtEndHook work even if there are no summaries in the graph.Gravatar A. Unique TensorFlower2018-08-30
| | | | | | | Besides just general resilience to general user code, another motivation is that it still makes sense to use the hook when there are no summaries in the graph for the side effect of writing out the graph summary. PiperOrigin-RevId: 210975165
* Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about: * the fact that the session may be reused. * the session is not closed even when doing a "with self.test_session()" statement. PiperOrigin-RevId: 209839032
* Move from deprecated self.test_session() to self.session() when a graph is set.Gravatar A. Unique TensorFlower2018-08-21
| | | | | | self.test_session() has been deprecated in cl/208545396 as its behavior confuses readers of the test. Moving to self.session() instead. PiperOrigin-RevId: 209696110
* Remove magic-doc-links from code.Gravatar Mark Daoust2018-08-16
| | | | | | | | | | This change contains no code changes. Only doc-strings. We can't use relative links in code files, so we don't have much choice but to link to tensorflow.org/ The deleted links were to docs that no longer exist. PiperOrigin-RevId: 209019572
* TF train: allow passing in run_metadata to unblock tf profiler.Gravatar Tiezhen WANG2018-08-13
| | | | PiperOrigin-RevId: 208495685
* Merge pull request #20413 from Horstage:masterGravatar TensorFlower Gardener2018-08-10
|\ | | | | | | PiperOrigin-RevId: 208244350
* | Fix estimator dependencies in contrib/.Gravatar Michael Case2018-08-09
| | | | | | | | PiperOrigin-RevId: 208126204
* | Remove usage of magic-api-link syntax from source files.Gravatar Mark Daoust2018-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Back-ticks are now converted to links in the api_docs generator. With the new docs repo we're moving to simplify the docs pipeline, and make everything more readable. By doing this we no longer get test failures for symbols that don't exist (`tf.does_not_exist` will not get a link). There is also no way, not to set custom link text. That's okay. This is the result of the following regex replacement (+ a couple of manual edits.): re: @\{([^$].*?)(\$.+?)?} sub: `\1` Which does the following replacements: "@{tf.symbol}" --> "`tf.symbol`" "@{tf.symbol$link_text}" --> "`tf.symbol`" PiperOrigin-RevId: 208042358
| * Merge branch 'master' into masterGravatar Jan Hünnemeyer2018-08-09
| |\ | |/ |/|
* | Split checkpoint management utility functions out of saver.pyGravatar Allen Lavoie2018-08-02
| | | | | | | | | | | | Pure refactor, in preparation for adding a higher level checkpoint management utility. This utility will also need to work with the Checkpoint proto, and globbing it on to saver.py seems dirty. PiperOrigin-RevId: 207179646
* | Allow is_initialized and initializer to be called on MirroredVariables and ↵Gravatar Anjali Sridhar2018-07-06
| | | | | | | | | | | | TowerLocalVariables. PiperOrigin-RevId: 203520287
| * Utilizing dict comprehensionGravatar Jan Horst Hünnemeyer2018-06-29
|/
* Merge commit for internal changesGravatar Mingxing Tan2018-06-20
|\
| * [tf.data] Cleanup of tf.contrib.data python tests.Gravatar Jiri Simsa2018-06-18
| | | | | | | | PiperOrigin-RevId: 201004909
* | Merge commit for internal changesGravatar Akshay Modi2018-06-11
|\|
| * [tf.data] Improve the error message for `Dataset.padded_batch()`.Gravatar Derek Murray2018-06-08
| | | | | | | | | | | | | | | | | | Previously, we accepted the `padded_shapes` argument without validating that it was compatible with the `input_dataset.output_shapes`. In many cases, we have enough static shape information to do this, and so we now raise an actionable error at the point where the mistake is committed, rather than at runtime. PiperOrigin-RevId: 199800348
* | Merge commit for internal changesGravatar zhengxq2018-05-16
|\|
| * Remove _USE_C_API staging in tests now that the C API is enabled by default.Gravatar Skye Wanderman-Milne2018-05-16
| | | | | | | | | | | | This is in preparation for removing the _USE_C_API toggle altogether. PiperOrigin-RevId: 196920481
* | Merge commit for internal changesGravatar Yifei Feng2018-05-15
|\|
| * RELNOTES: This allows the use of '.' in variables (e.g. ↵Gravatar A. Unique TensorFlower2018-05-11
| | | | | | | | | | | | | | "hparams.parse('a.b=1.0')"), which would previously raise an error. This will correspond to an attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only be accessed indirectly (e.g. through getattr and setattr). To set this up the user will first need to explicitly add the variable to the hparam object (e.g. "hparams.add_hparam(name='a.b', value=0.0)"). NOTE: the use of '.' in variable names is now allowed, but it is not recommended. PiperOrigin-RevId: 196278660
* | Merge commit for internal changesGravatar Shanqing Cai2018-04-30
|\|
| * Added del_hparam(), the counter part of add_hparam.Gravatar Sherry Moore2018-04-29
| | | | | | | | PiperOrigin-RevId: 194711291
| * Merge changes from github.Gravatar Yifei Feng2018-04-23
| | | | | | | | PiperOrigin-RevId: 194031845
* | Merge commit for internal changesGravatar Yifei Feng2018-04-19
|\|
* | Merge pull request #17815 from brettkoonce/data_spellingGravatar Martin Wicke2018-04-19
|\ \ | | | | | | contrib: minor spelling tweaks
| | * Expose tf.contrib.training.{prepend_from_queue_and_padded_batch_dataset}Gravatar Eugene Brevdo2018-04-18
| | | | | | | | | | | | | | | | | | Also its helper method "enqueue_in_queue_dataset". PiperOrigin-RevId: 193458095
| | * PiperOrigin-RevId: 193059174Gravatar Anna R2018-04-16
| | |
| | * Internal changeGravatar A. Unique TensorFlower2018-04-15
| | | | | | | | | | | | PiperOrigin-RevId: 192981122
* | | Merge commit for internal changesGravatar Scott Zhu2018-04-13
|\ \ \ | | |/ | |/|
| * | Document support for boolean values in tf.contrib.training.HParams.Gravatar Stephan Hoyer2018-04-12
| | | | | | | | | | | | PiperOrigin-RevId: 192694244
| * | Use tf.train.get_or_create_global_step() instead of deprecated ↵Gravatar A. Unique TensorFlower2018-04-11
| | | | | | | | | | | | | | | | | | variables.get_or_create_global_step(). PiperOrigin-RevId: 192476077
| * | Merge changes from github.Gravatar Michael Case2018-04-10
| | | | | | | | | | | | PiperOrigin-RevId: 192388250
* | | Merge commit for internal changesGravatar Scott Zhu2018-04-09
|\| |
| * | Adds __repr__ method to HParams.Gravatar A. Unique TensorFlower2018-04-09
| | | | | | | | | | | | PiperOrigin-RevId: 192184000
| | * contrib: minor spelling tweaksGravatar Brett Koonce2018-04-07
| |/ |/| | | | | | | | | | | packages: data training tensor_forest
* | Merge commit for internal changesGravatar Michael Case2018-04-05
|\|
| * Make batch_sequences_with_states_test.py work with the C API enabled, take 2.Gravatar Skye Wanderman-Milne2018-04-03
| | | | | | | | | | | | | | | | | | It turns out the error can depend on what sequence comes first in the input dict. This change internally sorts the input to make the error predictable (this is useful for this test, as well as any users who may run into this). PiperOrigin-RevId: 191449214
* | Replace deprecated tf.contrib.metrics.streaming_accuracy with ↵Gravatar Yong Tang2018-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tf.metrics.accuracy (#18154) * Replace deprecated tf.contrib.metrics.streaming_accuracy with tf.metrics.accuracy As tf.contrib.metrics.streaming_accuracy (tf.contrib.metrics.streaming_mean_squared_error) has been deprecated and has been replaced with tf.metrics.accuracy, this fix replaces deprecated tf.contrib.metrics.streaming_accuracy with tf.metrics.accuracy in tensorflow/contrib/training/python/training/evaluation.py. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Replace streaming_accuracy with tf.metrics.accuracy in tests Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix additional WARNING in evaluation_test.py Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix pylint issue Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
| * Make batch_sequences_with_states_test.py work with the C API enabled.Gravatar Skye Wanderman-Milne2018-04-01
| | | | | | | | | | | | | | The C API improves static shape inference, making more errors caught at graph construction time instead of runtime. PiperOrigin-RevId: 191260634
* | Resolve conflicts.Gravatar Jianwei Xie2018-03-29
|\|
| * Remove all_opensource_files. It's not needed any more.Gravatar Martin Wicke2018-03-28
| | | | | | | | PiperOrigin-RevId: 190878279
* | Merge commit for internal changesGravatar Jianwei Xie2018-03-26
|\|
| * Updated test (but not source) of ↵Gravatar A. Unique TensorFlower2018-03-26
| | | | | | | | | | | | https://www.tensorflow.org/api_docs/python/tf/contrib/training/HParams to show that it allows '=' in the values. PiperOrigin-RevId: 190470578
* | Merge commit for internal changesGravatar Akshay Modi2018-03-09
|\|
| * PiperOrigin-RevId: 188267957Gravatar A. Unique TensorFlower2018-03-07
| |
* | Merge commit for internal changesGravatar Yifei Feng2018-02-22
|\|