tensorflow/tensorflow/examples
Derek Murray b72265dc00 [tf.data] Deprecate tf.contrib.data and introduce tf.data.experimental 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
2018-10-01 16:50:05 -07:00
..
adding_an_op Move from deprecated self.test_session() to self.cached_session(). 2018-08-21 19:13:28 -07:00
android Internal 2018-09-28 00:07:37 -07:00
autograph/integration_tests Move from deprecated self.test_session() to self.cached_session(). 2018-09-24 11:37:28 -07:00
benchmark Remove all_opensource_files. It's not needed any more. 2018-03-28 20:49:47 -07:00
get_started [tf.data] Deprecate tf.contrib.data and introduce tf.data.experimental to replace it. 2018-10-01 16:50:05 -07:00
how_tos Rename programmers_guide/ directory to guide/. 2018-06-22 17:43:06 -07:00
image_retraining Replace examples/image_retraining by a pointer to TensorFlow Hub. 2018-04-11 13:53:23 -07:00
ios Fix include guards 2018-08-20 11:20:05 -07:00
label_image Replaced calls to tensorflow::StringPiece::ToString with string conversions. 2018-08-22 12:12:38 -07:00
learn Fix warning in text_classification_character_cnn.py 2018-09-19 03:34:42 +00:00
multibox_detector Replaced calls to deprecated tensorflow::StringPiece methods with their 2018-04-02 14:48:43 -07:00
saved_model Add support for forcing ops to devices 2018-07-30 20:00:19 -07:00
speech_commands Move from deprecated self.test_session() to self.cached_session(). 2018-09-12 16:42:21 -07:00
tutorials Add build rules for mnist_softmax_xla.py so it can work internally. 2018-09-19 09:13:28 -07:00
udacity Merge changes from github. 2018-02-22 14:29:27 -08:00
wav_to_spectrogram Remove all_opensource_files. It's not needed any more. 2018-03-28 20:49:47 -07:00
__init__.py