| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
PiperOrigin-RevId: 215266241
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
PiperOrigin-RevId: 214824023
|
|
|
|
|
|
|
|
| |
This change reduce the size of //tensorflow/tools/pip_package:simple_console_windows's zip file from 1000027677 bytes to 47690474 bytes for a CPU build. For GPU build, it will avoid going over 4GB when multiple CUDA compatibility are specified.
To fix #22390
PiperOrigin-RevId: 214764423
|
|
|
|
| |
PiperOrigin-RevId: 214541221
|
|
|
|
| |
PiperOrigin-RevId: 214055060
|
|
|
|
|
|
|
|
| |
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: 213944355
|
|
|
|
| |
PiperOrigin-RevId: 213296537
|
|
|
|
|
|
| |
meta_graph_def.signature_def[signature_def_key]
PiperOrigin-RevId: 212873314
|
|\
| |
| |
| | |
PiperOrigin-RevId: 212017232
|
| |
| |
| |
| |
| |
| | |
then bazel will build TensorFlow API version 2.0. In all other cases, it would build API version 1.*.
PiperOrigin-RevId: 212016666
|
| |
| |
| |
| | |
PiperOrigin-RevId: 211892456
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
AccumulateNV2 doesn't have or need a kernel. It gets rewritten to other ops by
accumulate_n_optimizer.cc. This change allows it to be mentioned in the output
of print_selective_registration_header, rather than being ignored with a
warning. Behavior for other ops is preserved.
PiperOrigin-RevId: 211701878
|
| |
| |
| |
| | |
PiperOrigin-RevId: 211666438
|
| |
| |
| |
| | |
PiperOrigin-RevId: 211581486
|
| |
| |
| |
| | |
PiperOrigin-RevId: 211519679
|
| |
| |
| |
| | |
PiperOrigin-RevId: 211013090
|
| |
| |
| |
| |
| |
| | |
Queue runners will be removed in TensorFlow 2.0. They have been replaced with `tf.data` input pipelines, which provide a more efficient version of the same functionality.
PiperOrigin-RevId: 210964268
|
| |
| |
| |
| |
| |
| | |
TENSORFLOW_API_INIT_FILES and TENSORFLOW_API_INIT_FILES_V1 in doc_srcs_test.
PiperOrigin-RevId: 210798675
|
| |
| |
| |
| | |
PiperOrigin-RevId: 210647272
|
| |
| |
| |
| |
| |
| | |
them more user friendly
PiperOrigin-RevId: 210432021
|
| |
| |
| |
| | |
PiperOrigin-RevId: 210174523
|
| |
| |
| |
| | |
NPY files are binary and should be opened with mode "rb".
|
| |
| |
| |
| | |
PiperOrigin-RevId: 209637025
|
| |
| |
| |
| | |
PiperOrigin-RevId: 209299599
|
|/
|
|
| |
PiperOrigin-RevId: 209013414
|
|
|
|
| |
PiperOrigin-RevId: 208561390
|
|
|
|
|
|
| |
Also remove MobileNetV2 due to a compatibility issue (will be re-enabled in the next version).
PiperOrigin-RevId: 208517089
|
|
|
|
|
|
| |
modules.
PiperOrigin-RevId: 207953769
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
need to generate V2 and V1 in one step since V2's "compat" module (e.g.
"tf.compat.as_bytes") overlaps with "compat.v1". That is, some of the __init__.py files
are *shared*. So, we need to run create_python_api.py just once to generate all.
A few additional changes:
- Split out a few functions to prevent them from growing too large.
- Added output_init_files_test.py to test consistency of api_init_files.bzl and
api_init_files_v1.bzl. Before, this check was done in create_python_api.py
but now that we have different files for V1 and V2 this is getting
cumbersome, so I split it in a separete test.
PiperOrigin-RevId: 207629449
|
|\
| |
| |
| | |
PiperOrigin-RevId: 207600851
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206639908
|
| |
| |
| |
| |
| |
| | |
Also update how canonical endpoint name is set in doc_generator_visitor.py.
PiperOrigin-RevId: 204841165
|
| |
| |
| |
| | |
PiperOrigin-RevId: 204368026
|
| |
| |
| |
| | |
PiperOrigin-RevId: 204338153
|
| |
| |
| |
| |
| |
| | |
Update references in source files and docs in tensorflow and related projects.
PiperOrigin-RevId: 201766994
|
| |
| |
| |
| | |
PiperOrigin-RevId: 201110240
|
| |
| |
| |
| | |
PiperOrigin-RevId: 201033171
|
| |
| |
| |
| | |
PiperOrigin-RevId: 201011811
|
| |
| |
| |
| | |
optimized graphs to tensorboard graphs
|
| | |
|
| |
| |
| |
| | |
tensorrt installed
|
|/
|
|
| |
TensorRT ops
|
|
|
|
|
|
| |
This is in preparation for removing the _USE_C_API toggle altogether.
PiperOrigin-RevId: 196920481
|
|
|
|
|
|
|
| |
This currently causes tags mismatch because a leading whitespace is added
within the saved_model_cli when doing ', '.join(tag_set).
PiperOrigin-RevId: 194590154
|
|
|
|
| |
PiperOrigin-RevId: 194031845
|