aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* contrib/distributions: Test cleanup.Gravatar Asim Shankar2018-08-23
| | | | | | | | | - Don't need a test_session() when using @test_util.run_in_graph_and_eager_modes - Can use @test_util.run_all_in_graph_and_eager_modes when all tests in the TestCase should be run in both modes. PiperOrigin-RevId: 209968609
* Automated rollback of commit 1eb7db417a39b846d7679346e6a5b219224156adGravatar Peter Hawkins2018-08-23
| | | | PiperOrigin-RevId: 209968387
* [TF:XLA] Make the two functions for computing HLO buffer interference ↵Gravatar A. Unique TensorFlower2018-08-23
| | | | | | | | | | | | | | consistent. Consider only real uses of fusion parameters when computing buffer interference using HloDataflowAnalysis. This is a step in unifying our HLO dataflow framework to a single source of truth and improves HloOrdering::LiveRangeStrictlyBefore to match the behavior of BufferLiveness::live_range_strictly_before (which uses TuplePointsToAnalysis) PiperOrigin-RevId: 209966644
* [tf.data] Include indexed dataset in contrib:contrib_ops_op_libGravatar Brennan Saeta2018-08-23
| | | | PiperOrigin-RevId: 209966634
* Add clone_model to the public API.Gravatar Francois Chollet2018-08-23
| | | | PiperOrigin-RevId: 209962361
* BugFix: Assign layer_configs = config to avoid uninitialized layer_configs ↵Gravatar A. Unique TensorFlower2018-08-23
| | | | | | variable. PiperOrigin-RevId: 209962144
* Fix lint error due to unused importGravatar Sourabh Bajaj2018-08-23
| | | | PiperOrigin-RevId: 209960839
* [XLA] Use absl string types and functions instead of the TF versions.Gravatar Justin Lebar2018-08-23
| | | | | | | Unfortunately this has to be one big patch, because e.g. absl::StrCat doesn't accept a TF StringPiece, but as soon as we switch to absl::string_view, we have to switch away from all of the TF functions. PiperOrigin-RevId: 209957896
* Also set FTZ/rounding modes in ConstantFold()Gravatar Benjamin Kramer2018-08-23
| | | | | | Otherwise executing the op behaves differently from constant folding it. PiperOrigin-RevId: 209949852
* Make the explanation of tf.cond() semantics more prominent.Gravatar A. Unique TensorFlower2018-08-23
| | | | PiperOrigin-RevId: 209945757
* Allows tf.train.ExponentialMovingAverage to work with eager execution.Gravatar Alexandre Passos2018-08-23
| | | | | | | | | In the process removes unnecessary restriction on it being called multiple times on the same variables; it might be necessary to do so if you want to call ema.apply with different control dependencies in different calls to session.run, for example. PiperOrigin-RevId: 209945355
* Reduce the memory usage of sharding domainsGravatar A. Unique TensorFlower2018-08-23
| | | | | | | | | | | | | | | | | | | Previously the domain instructions inserted before and after an `n` element tuple required `O(n^2)` memory (and compute) because every operand and user had its own domain instruction with a tuple sharding and tuple shape for the exit domains what constructed `n` HloSharding and `n` Shape proto per domain. After this change we keep track of the domain instructions inserted and if we already have a domain instruction with the correct operand and metadata then we re-use it instead of creating a new one. Additionally we change HloInstruction and ShardingMetadata to store a std::shared_ptr to HloSharding so the same instance can be shared by many instructions. This CL doesn't update all uses to remove all of the duplicated HloShardings but handles the most wastful cases to reduce memory usage. PiperOrigin-RevId: 209924260
* compat: Update forward compatibility horizon to 2018-08-23Gravatar A. Unique TensorFlower2018-08-23
| | | | PiperOrigin-RevId: 209908710
* Remove memset() for SummaryEntry in weighted quantiles. This is a bug ↵Gravatar A. Unique TensorFlower2018-08-23
| | | | | | whenever one of the template arguments is not a POD, in particular for types such as string. A memset on a struct that contains a string invalidates the internals of that class (in particular the pointer that stores the characters of the string) and causes segfaults. This allows using weighted quantiles beyond int/float like template parameters. The upstream issue with memcopy of alignment bytes used for padding has been solved separately in the meantime. PiperOrigin-RevId: 209906298
* Add an example to demonstrate how to use Keras native APIs withGravatar Anjali Sridhar2018-08-23
| | | | | | DistributionStrategy. PiperOrigin-RevId: 209891724
* Add reduce_any to schema.Gravatar A. Unique TensorFlower2018-08-22
| | | | PiperOrigin-RevId: 209884688
* Support non-PerDevice value to be reduced in cross_tower_ops.Gravatar Yuefeng Zhou2018-08-22
| | | | | | This allows MirroredStrategy with one device and between-graph strategies with one tower on each worker. PiperOrigin-RevId: 209884569
* Implemented the configure method and properties needed by distribute ↵Gravatar Yuefeng Zhou2018-08-22
| | | | | | coordinator in CollectiveAllReduceStrategy. PiperOrigin-RevId: 209879722
* Add floor_div to schema.Gravatar A. Unique TensorFlower2018-08-22
| | | | PiperOrigin-RevId: 209875487
* Pass max_input_length to Recurrent() to avoid iterating on padded data.Gravatar A. Unique TensorFlower2018-08-22
| | | | PiperOrigin-RevId: 209873671
* Add an accuracy tool that can be used to evaluate model accuracy on device.Gravatar Shashi Shekhar2018-08-22
| | | | | | | | | | | | | - Adds an accuracy tool that can be used to develop evaluation pipelines to evaluate model accuracies. - The binary can be compiled for mobile platforms and the tool can be used to evaluate accuracy of models by running the binary on device. - Adds an example implementation for imagenet ILSVRC classification task accuracy evaluation. - More documentations and details coming soon. PiperOrigin-RevId: 209869774
* [XLA] Extract HloCollectiveInstruction as superclass of all collective ↵Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | instructions. This will make adding collective instructions slightly easier. PiperOrigin-RevId: 209864869
* Convert more kernel signatures to use runtime shapes.Gravatar A. Unique TensorFlower2018-08-22
| | | | PiperOrigin-RevId: 209864694
* [tf.data] Add highly experimental IndexedDatasets.Gravatar Brennan Saeta2018-08-22
| | | | PiperOrigin-RevId: 209864144
* Allow DT_INT64 indices for reduction ops.Gravatar Sanjoy Das2018-08-22
| | | | PiperOrigin-RevId: 209860270
* Change visibility of batch_space_ops to friends from private.Gravatar A. Unique TensorFlower2018-08-22
| | | | PiperOrigin-RevId: 209853753
* Turn off prefetching for `predict` calls since it is currently notGravatar Anjali Sridhar2018-08-22
| | | | | | deterministic. PiperOrigin-RevId: 209852547
* Merge pull request #19792 from benmyara:matmul-flop-correctionGravatar TensorFlower Gardener2018-08-22
|\ | | | | | | PiperOrigin-RevId: 209850481
* | Duplicate a //tensorflow/contrib/timeseries/examples:predict_test data depGravatar Allen Lavoie2018-08-22
| | | | | | | | | | | | Apparently it's not inherited from its py_binary dep for pip tests PiperOrigin-RevId: 209848894
* | Implemented the configure method and properties needed by distribute ↵Gravatar Yuefeng Zhou2018-08-22
| | | | | | | | | | | | coordinator in MirroredStrategy. PiperOrigin-RevId: 209848375
* | No reason not to support pickling/unpickling eager tensors/variables.Gravatar Alexandre Passos2018-08-22
| | | | | | | | PiperOrigin-RevId: 209847371
* | tf.enable_resource_variables / tf.disable_resource_variablesGravatar Alexandre Passos2018-08-22
| | | | | | | | PiperOrigin-RevId: 209847352
* | [tf.data] Add benchmarks for map_vectorizationGravatar Rachel Lim2018-08-22
| | | | | | | | PiperOrigin-RevId: 209845613
* | [tf.data] Fixes error in `dataset.concatenate()`, now throws error if two ↵Gravatar Shivani Agrawal2018-08-22
| | | | | | | | | | | | | | | | | | input datasets are of type dictionaries with different set of key(s). FIXES #20626 REL_NOTES: bug fix in `tf.data.Dataset.concatenate()`, now throws error if trying to concatenate two datasets of type dictionaries with different set of key(s). PiperOrigin-RevId: 209845337
* | [XLA] Use some of the utilities introduced in cr/209812568; NFCGravatar Sanjoy Das2018-08-22
| | | | | | | | PiperOrigin-RevId: 209845109
* | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | PiperOrigin-RevId: 209842403
* | [data-stats] Supports stats aggregation for ParseExampleDataset.Gravatar Shivani Agrawal2018-08-22
| | | | | | | | PiperOrigin-RevId: 209840812
* | Added ability to forward sparse tensors in `forward_feature`.Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | PiperOrigin-RevId: 209839159
* | 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: 209839057
* | 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: 209839048
* | 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.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: 209839030
* | [tf.data] Fix MultiDeviceIterator initialization to use correct FLR.Gravatar Derek Murray2018-08-22
| | | | | | | | | | | | | | | | | | In the recent change to instantiate functions at iterator initialization time, I forgot to make the corresponding change was to MultiDeviceIterator. This change fixes that problem and unbreaks MultiDeviceIterator. PiperOrigin-RevId: 209838406
* | Switch to using variable._in_graph_mode instead of ↵Gravatar Pavithra Vijay2018-08-22
| | | | | | | | | | | | | | | | context.executing_eagerly() in optimizer.variables() Remove global collection usage from the Keras model to estimator flow. PiperOrigin-RevId: 209837803
* | 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: 209837298
* | 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: 209836477
* | [tf.data] Implements `dataset` transformation `parse_example_dataset(..)` ↵Gravatar Shivani Agrawal2018-08-22
| | | | | | | | | | | | which will replace dataset.map(parsing_ops.parse_example(..)). PiperOrigin-RevId: 209836033
* | Disable random_forest_test in asan.Gravatar Gunhan Gulsoy2018-08-22
| | | | | | | | PiperOrigin-RevId: 209835865
* | Convert TensorFlow's flatbuffers dependency to new third party import methodGravatar Austin Anderson2018-08-22
| | | | | | | | PiperOrigin-RevId: 209833197
* | Fix the interaction between the split handler ops and the grow tree ensemble ↵Gravatar A. Unique TensorFlower2018-08-22
| | | | | | | | | | | | ops when we have nodes with no examples. PiperOrigin-RevId: 209830550