diff options
author | Anna R <annarev@google.com> | 2018-10-01 11:53:27 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-01 11:58:12 -0700 |
commit | f1fd53748b99532b2572b8909efcd4f5c06ce28d (patch) | |
tree | 16ae93334d4b10a3bf7cfb1f088efd725857fb54 /tensorflow/python/training | |
parent | 7cabc6be4e32dfb7f42c7f5e33549984bfdb68a3 (diff) |
Updating function and class tf_export decorators for endpoints according to
https://github.com/tensorflow/community/pull/16.
In addition to the changes in the doc, I made the following updates (these changes make sense to me and I didn't notice them when compiling the doc):
* deprecate saved_model.builder.SavedModelBuilder - replaced with saved_model.SavedModelBuilder
* deprecate python_io.tf_record_iterator - replaced with io.tf_record_iterator
* deprecate python_io.TFRecordWriter - replaced with io.TFRecordWriter
* move reduce_join to tf.string
PiperOrigin-RevId: 215253944
Diffstat (limited to 'tensorflow/python/training')
-rw-r--r-- | tensorflow/python/training/input.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/training/input.py b/tensorflow/python/training/input.py index 9d9db70890..eb131ac9f7 100644 --- a/tensorflow/python/training/input.py +++ b/tensorflow/python/training/input.py @@ -56,7 +56,8 @@ _restore_sparse = sparse_ops._take_many_sparse_from_tensors_map # pylint: enable=protected-access -@tf_export("train.match_filenames_once") +@tf_export("io.match_filenames_once", "train.match_filenames_once") +@deprecation.deprecated_endpoints("train.match_filenames_once") def match_filenames_once(pattern, name=None): """Save the list of files matching pattern, so it is only computed once. |