aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/tools
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
* Add option to initialize the TPU system.Gravatar A. Unique TensorFlower2018-10-01
| | | | PiperOrigin-RevId: 215266241
* Updating function and class tf_export decorators for endpoints according toGravatar Anna R2018-10-01
| | | | | | | | | | | 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
* Updating the V2 variables API.Gravatar Alexandre Passos2018-09-27
| | | | PiperOrigin-RevId: 214824023
* Reduce the size of //tensorflow/tools/pip_package:simple_console_windowsGravatar A. Unique TensorFlower2018-09-27
| | | | | | | | 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
* Update BUILD files so that Estimator code depends on TF thru tf_no_contrib.Gravatar Michael Case2018-09-25
| | | | PiperOrigin-RevId: 214541221
* Fix "from tensorflow._api.v1 import *".Gravatar Michael Case2018-09-21
| | | | PiperOrigin-RevId: 214055060
* Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-09-21
| | | | | | | | 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
* Minor docstring change: update link to saved_model_cli.Gravatar Karmel Allison2018-09-17
| | | | PiperOrigin-RevId: 213296537
* Remove tf.contrib.get_signature_def_by_key. This can be replaced by ↵Gravatar A. Unique TensorFlower2018-09-13
| | | | | | meta_graph_def.signature_def[signature_def_key] PiperOrigin-RevId: 212873314
* Merge pull request #21768 from superbobry:fix-load_inputs_from_input_arg_stringGravatar TensorFlower Gardener2018-09-07
|\ | | | | | | PiperOrigin-RevId: 212017232
* | Add tf_api_version flag. If --define=tf_api_version=2 flag is passed in, ↵Gravatar Anna R2018-09-07
| | | | | | | | | | | | then bazel will build TensorFlow API version 2.0. In all other cases, it would build API version 1.*. PiperOrigin-RevId: 212016666
* | removing a test thats timing out on tapGravatar Olivia Nordquist2018-09-06
| | | | | | | | PiperOrigin-RevId: 211892456
* | Special-case the AccumulateNV2 op in print_selective_registration_headerGravatar A. Unique TensorFlower2018-09-05
| | | | | | | | | | | | | | | | | | 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
* | Internal Change.Gravatar Michael Case2018-09-05
| | | | | | | | PiperOrigin-RevId: 211666438
* | Automated rollback of commit 8cf8afefdb4c240f74a05e24246c8cd2dcce9d54Gravatar Michael Case2018-09-04
| | | | | | | | PiperOrigin-RevId: 211581486
* | Internal Change.Gravatar Michael Case2018-09-04
| | | | | | | | PiperOrigin-RevId: 211519679
* | Add an option to connect to a worker.Gravatar A. Unique TensorFlower2018-08-30
| | | | | | | | PiperOrigin-RevId: 211013090
* | Deprecate `tf.train.QueueRunner` and related APIs.Gravatar Derek Murray2018-08-30
| | | | | | | | | | | | 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
* | Pass V1 __init__.py file list when generating API. Also, check against both ↵Gravatar Anna R2018-08-29
| | | | | | | | | | | | TENSORFLOW_API_INIT_FILES and TENSORFLOW_API_INIT_FILES_V1 in doc_srcs_test. PiperOrigin-RevId: 210798675
* | Avoid iterating the dict keys list for membership test.Gravatar A. Unique TensorFlower2018-08-28
| | | | | | | | PiperOrigin-RevId: 210647272
* | adding args and returns docstrings to freeze_graph public functions to make ↵Gravatar Olivia Nordquist2018-08-27
| | | | | | | | | | | | them more user friendly PiperOrigin-RevId: 210432021
* | Upgrade Keras applications and Keras preprocessing.Gravatar Francois Chollet2018-08-24
| | | | | | | | PiperOrigin-RevId: 210174523
| * Fixed mode in load_inputs_from_input_arg_stringGravatar Sergei Lebedev2018-08-21
| | | | | | | | NPY files are binary and should be opened with mode "rb".
* | Internal Change.Gravatar Michael Case2018-08-21
| | | | | | | | PiperOrigin-RevId: 209637025
* | Internal Change.Gravatar Michael Case2018-08-18
| | | | | | | | PiperOrigin-RevId: 209299599
* | Renamed function in freeze_graph.py.Gravatar Nupur Garg2018-08-16
|/ | | | PiperOrigin-RevId: 209013414
* Add error message to freeze_graph.Gravatar Nupur Garg2018-08-13
| | | | PiperOrigin-RevId: 208561390
* Replace applications tests with lighter integration test.Gravatar Francois Chollet2018-08-13
| | | | | | Also remove MobileNetV2 due to a compatibility issue (will be re-enabled in the next version). PiperOrigin-RevId: 208517089
* Make tf.keras rely on external keras_applications and keras_preprocessing ↵Gravatar Francois Chollet2018-08-08
| | | | | | modules. PiperOrigin-RevId: 207953769
* Add a way to generate compat.v* modules in create_python_api.py. WeGravatar Anna R2018-08-06
| | | | | | | | | | | | | | 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
* Merge pull request #19920 from samikama:TRTOpsForTensorBoardGravatar TensorFlower Gardener2018-08-06
|\ | | | | | | PiperOrigin-RevId: 207600851
| * Fix windows build.Gravatar gracehoney2018-08-03
| |
| * Add missing dependency to the build rule.Gravatar gracehoney2018-08-03
| |
* | 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
* | Adds error message in freeze_graph.py.Gravatar Nupur Garg2018-07-30
| | | | | | | | PiperOrigin-RevId: 206639908
* | Handle deprecated fields in api_def.proto.Gravatar Anna R2018-07-16
| | | | | | | | | | | | Also update how canonical endpoint name is set in doc_generator_visitor.py. PiperOrigin-RevId: 204841165
* | Support passing TensorFlow API names as a separate v1 argument to tf_export.Gravatar Anna R2018-07-12
| | | | | | | | PiperOrigin-RevId: 204368026
* | Internal Change.Gravatar Michael Case2018-07-12
| | | | | | | | PiperOrigin-RevId: 204338153
* | Rename programmers_guide/ directory to guide/.Gravatar Billy Lamberta2018-06-22
| | | | | | | | | | | | Update references in source files and docs in tensorflow and related projects. PiperOrigin-RevId: 201766994
* | Merge changes from github.Gravatar Akshay Modi2018-06-18
| | | | | | | | PiperOrigin-RevId: 201110240
* | Automated g4 rollback of changelist 201011811Gravatar Akshay Modi2018-06-18
| | | | | | | | PiperOrigin-RevId: 201033171
* | Merge changes from github.Gravatar Akshay Modi2018-06-18
| | | | | | | | PiperOrigin-RevId: 201011811
| * Try importing TRTOps to import_pb_to_tensorboard script to convert TF-TRT ↵Gravatar Sami Kama2018-06-11
| | | | | | | | optimized graphs to tensorboard graphs
| * Remove changes to tensorboard scriptGravatar Sami Kama2018-05-30
| |
| * Import only ops not the implementations to prevent issues if user don't have ↵Gravatar Sami Kama2018-05-30
| | | | | | | | tensorrt installed
| * Import tensorrt if available to import_pb_to_tensorboard.py for displaying ↵Gravatar Sami Kama2018-05-29
|/ | | | TensorRT ops
* 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
* Remove whitespaces from tags in saved_model_cli.Gravatar A. Unique TensorFlower2018-04-27
| | | | | | | This currently causes tags mismatch because a leading whitespace is added within the saved_model_cli when doing ', '.join(tag_set). PiperOrigin-RevId: 194590154
* Merge changes from github.Gravatar Yifei Feng2018-04-23
| | | | PiperOrigin-RevId: 194031845