aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add a require_static_shapes argument to DistributionStrategy class. This ↵Gravatar Anjali Sridhar2018-10-03
| | | | | | allows us to identify if we need to set the drop_remainder option when creating Dataset objects. PiperOrigin-RevId: 215633097
* Internal change.Gravatar Anna R2018-10-03
| | | | PiperOrigin-RevId: 215631612
* [XLA] Disable a test for layout changing elementwise operations.Gravatar Bixia Zheng2018-10-03
| | | | | | | | | Rename the test to make it obvious that it is for testing the codegen correctness in handling layout changing elementwise operations. Keep the test only for the CPU backend. PiperOrigin-RevId: 215630611
* Add NNAPI padding enums to NeuralNetworksShim.hGravatar A. Unique TensorFlower2018-10-03
| | | | PiperOrigin-RevId: 215628561
* Move out-params to end of argument list and add an out_ prefix; NFCGravatar Sanjoy Das2018-10-03
| | | | PiperOrigin-RevId: 215624875
* Update reference to tools/bazel.rc to .bazelrc after cl/215483141Gravatar Yifei Feng2018-10-03
| | | | PiperOrigin-RevId: 215623215
* Fixes bug in Conv2D unit test that made it test a SeparableConv2D layer ↵Gravatar A. Unique TensorFlower2018-10-03
| | | | | | instead of a Conv2D layer. PiperOrigin-RevId: 215619966
* Some tiny speed improvements for defun.Gravatar Akshay Modi2018-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: entry { name: "MicroBenchmarks.benchmark_defun_matmul_2_by_2_CPU" iters: 30000 wall_time: 48.4476327896 extras { key: "examples_per_sec" value { double_value: 20640.8433688 } } } After: entry { name: "MicroBenchmarks.benchmark_defun_matmul_2_by_2_CPU" iters: 30000 wall_time: 45.2344338099 extras { key: "examples_per_sec" value { double_value: 22107.0524327 } } } PiperOrigin-RevId: 215619902
* Tests for metrics correctness with TPU strategyGravatar Priya Gupta2018-10-03
| | | | PiperOrigin-RevId: 215618809
* Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-10-03
| | | | PiperOrigin-RevId: 215617800
* Updates the doc of SyncReplicasOptimizer. It notes that some worker can ↵Gravatar Mustafa Ispir2018-10-03
| | | | | | consume multiple mini-batches while some may not even one. PiperOrigin-RevId: 215617588
* Enable collective graph key test for GPU builds.Gravatar Ayush Dubey2018-10-03
| | | | | | | In the process, properly place nodes on devices in the collective graph key test. PiperOrigin-RevId: 215616146
* Add the option of merging bidirectional RNN and LSTM outputs into a single ↵Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | output tensor. This is useful if the output of both directions will be passed to the next layer as a single output, as it avoids adding a concatenation op, which can be expensive on mobile devices where memory movement is relatively expensive. PiperOrigin-RevId: 215616140
* Fix handling of tuples in CreateCopyWithNewLayout.Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | If the layout of a single tensor in a tuple is different from its use, then CreateCopyWithNewLayout will do a deep copy of the entire tuple. Not only does this operation create unnecessary copies of elements where the layout is the same, it will throw an error if the tuple contains elements like token[] that cannot be copied. As a result, layout assignment on TPU occassionally causes mysterious compilation failures for code that runs correctly on CPU and GPU. PiperOrigin-RevId: 215615731
* [data-stats] Sets user given `tag` and `counter_prefix` with ↵Gravatar Shivani Agrawal2018-10-03
| | | | | | | | `set_stats_aggregator`. `tag` would get prep-end with all the statistics recorded as summary and `counter_prefix` would set the prefix for the statistics recorded as counter. Note: `counter` defaults to `\tensorflow`, and `tag` and `prefix` gets associated with the dataset (not the stats_aggregator). PiperOrigin-RevId: 215609159
* Automated rollback of commit 2af8fd975aaf5c70ebb396895fa15a8f034a8440Gravatar Tong Shen2018-10-03
| | | | PiperOrigin-RevId: 215608349
* Change hierarchical_tree_broadcaster_test from small to medium.Gravatar Todd Wang2018-10-03
| | | | PiperOrigin-RevId: 215607769
* [tf.data] Fix noisy warning.Gravatar Jiri Simsa2018-10-03
| | | | PiperOrigin-RevId: 215607171
* Automated rollback of commit c9bdd3938e2b43334a0065b4c198ec9d491c8cb8Gravatar Derek Murray2018-10-03
| | | | PiperOrigin-RevId: 215607038
* Disable XLA for Android builds.Gravatar Jeremy Lau2018-10-03
| | | | PiperOrigin-RevId: 215605865
* [tf.data] Add utility to deduplicate graph node names (after vectorization)Gravatar Rachel Lim2018-10-03
| | | | PiperOrigin-RevId: 215595078
* Automated rollback of commit 51b266fba181dffb6b3f9207280cde6b7670dd90Gravatar Jiri Simsa2018-10-03
| | | | PiperOrigin-RevId: 215593867
* Merge pull request #22671 from ↵Gravatar TensorFlower Gardener2018-10-03
|\ | | | | | | | | | | dmitrievanthony:apache-ignite-dataset-fixes-after-initial-merge PiperOrigin-RevId: 215593528
* | [tf.data] Fix noisy warning.Gravatar Jiri Simsa2018-10-03
| | | | | | | | PiperOrigin-RevId: 215592456
* | Supports TPUEstimatorSpec in multi_head for TRAIN and PREDICT modes.Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | PiperOrigin-RevId: 215590676
* | Add a new GetRunFilesDir function to Env.Gravatar Gunhan Gulsoy2018-10-03
| | | | | | | | PiperOrigin-RevId: 215590440
* | Update _check_shape to accept six.integer_types instead of intGravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | Currently _check_shape requires that a shape be an `int` or sequence of `int`s. This CL allows `six.integer_type`s so now (1L,) would be a valid shape. PiperOrigin-RevId: 215589131
* | Internal change.Gravatar Nupur Garg2018-10-03
| | | | | | | | PiperOrigin-RevId: 215589009
* | Fix filename/line number lookup for logging.Gravatar Russell Power2018-10-03
| | | | | | | | | | | | Log messages now show the correct file/function name/line number instead of that of the helper function. PiperOrigin-RevId: 215586852
* | Re-add proto fields temporarily for internal compatibility.Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | PiperOrigin-RevId: 215585187
* | Re-enable the arithmetic optimizer by default in tests.Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | Add a warning to not disable optimizers without consulting with the Grappler team. PiperOrigin-RevId: 215584369
* | Fix bug in shape function for transpose: If the rank of the input is unknown ↵Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | and the rank derived from the permutation array is 0 or 1, the shape is ambiguous and cannot be determined at graph construction time. In this case, forward the shape of the input. PiperOrigin-RevId: 215583050
* | Fix TfLiteTensor invalidation issue when using the Java APIGravatar Jared Duke2018-10-03
| | | | | | | | | | | | | | | | Fix an issue where the Java Tensor class would hold a reference to an invalidated TfLiteTensor instance. This issue was manifest in certain models that add temporary tensors during execution. PiperOrigin-RevId: 215582842
* | Skip control flow functionalization if there is no Switch or Merge node.Gravatar Tong Shen2018-10-03
| | | | | | | | PiperOrigin-RevId: 215580891
* | [tf.data] Switch background threads to use `BackgroundWorker`.Gravatar Derek Murray2018-10-03
| | | | | | | | PiperOrigin-RevId: 215579950
* | Merge pull request #22493 from Intel-tensorflow:cuixiaom_disable_MKLGravatar TensorFlower Gardener2018-10-03
|\ \ | | | | | | | | | PiperOrigin-RevId: 215560522
* | | Fix test that was relying on old lax toco behaviorGravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215553161
* | | compat: Update forward compatibility horizon to 2018-10-03Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215534396
* | | [XLA] In the HLO parser, give the module a non-empty default name.Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | | | | | | | Otherwise, when parsing a single instruction, the parsed module doesn't have a name, which won't pass the hlo verifier check. PiperOrigin-RevId: 215519412
* | | Internal change.Gravatar Anna R2018-10-02
| | | | | | | | | | | | PiperOrigin-RevId: 215518288
* | | [XLA:CPU] Re-enable the inliner pass in the cpu compiler.Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | PiperOrigin-RevId: 215517752
* | | [XLA] Modify the function that determines whether an instruction can changeGravatar Bixia Zheng2018-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | layout so that it can be used by the HLO verifier. Change the function to a static member function of the LayoutAssignment class. Add an std::function member to LayoutAssignment to store the function object passed down from the backend compiler class and use it to decide whether an instruction can change layouts. Fix affected test cases. PiperOrigin-RevId: 215515611
* | | Further loosen bounds for depthwise_conv_op_test.Gravatar Anna R2018-10-02
| | | | | | | | | | | | PiperOrigin-RevId: 215512168
* | | Improve error messages and doc strings for eager-mode tf.keras.Model.fit() + ↵Gravatar Shanqing Cai2018-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | tf.data objects - Previously, when validation_steps was missing, the error message incorrectly says "please provide either batch_size or steps_per_epoch". Now it reads "please provide either batch_size or validation_steps". - Some whitespace-related fixes. PiperOrigin-RevId: 215503991
* | | Automated rollback of commit b7e9cbab27c893283acc4a6154d7a59dffb23758Gravatar Derek Murray2018-10-02
| | | | | | | | | | | | PiperOrigin-RevId: 215503549
* | | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | PiperOrigin-RevId: 215501709
* | | [XLA] Merge the single instruction parsing and the full module parsing in ↵Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | | | | | | | one function. PiperOrigin-RevId: 215501702
* | | In all constant-propagation transformations, check that the array we'd be ↵Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | turning into a constant is a discardable array. If it's not discardable, it means that the user wants this array to keep existing in a way that is observable to them, i.e. not as weights. Typical example: a Fill op outputs an array that is passed as a RNN state array (non-discardable). It seems that so far we have been relying on accidental ordering of graph transformations for such state arrays not to be accidentally turned into constants. Instead, the desired graph transformation here is RemoveUnusedOp noticing that such a Fill can be discarded since its output is a RNN state array. So I don't have a test for this, but this seems to be tightening existing behavior, and should be good to have as long as it does not regress anything. PiperOrigin-RevId: 215500760
* | | Disable the cuDNN workarounds if the version number is new enough to get the ↵Gravatar Tim Shen2018-10-02
| | | | | | | | | | | | | | | | | | | | | | | | corresponding bugs fixed. The bugs that were work-arounded were fixed and verified. PiperOrigin-RevId: 215497418
* | | Remove initial accumulator (and other auxiliary parameter) values fromGravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | | | | | | | optimization parameter protos and removed uses of that functionality in tests. PiperOrigin-RevId: 215494433