aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Include the print function in the list of special functions - its name is ↵Gravatar Dan Moldovan2018-09-20
| | | | | | not found in the namespace in Python 3. PiperOrigin-RevId: 213879813
* Fix bug in Pow optimizer rule when broadcasting is involved.Gravatar A. Unique TensorFlower2018-09-20
| | | | | | Minor cleanup by moving the helper function ShapesEqual to GraphProperties and adding unit tests for it. PiperOrigin-RevId: 213876779
* Implement TF graph capture.Gravatar Russell Power2018-09-20
| | | | PiperOrigin-RevId: 213875284
* Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-09-20
| | | | PiperOrigin-RevId: 213873471
* [tf.data] Fixes for two recently introduced use-after-free bugs.Gravatar Derek Murray2018-09-20
| | | | | | | | | | | | | | | | | | 1. In ParallelMapIterator, do not call `cond_var_.notify_all()` without holding the associated mutex. In some cases, the iterator may have been deleted between releasing the lock and notifying the condition variable, which leads to a use-after-free. This change applies this style to all use of condition variables in tensorflow/core/kernels/data/. 2. In CapturedFunction::RunAsync(), do not use `shared_ptr` to manage the lifetime of objects that (potentially) borrow from runtime objects. The present code runs the destructor after the `done()` callback is called, but the `done()` callback may be the last action in a session, and thus trigger destruction of those borrowed objects. In that case, the `shared_ptr` destructor may use the borrowed objects after they are freed. PiperOrigin-RevId: 213872829
* This CL adds a Keras-based mobilenet_v2 feature extractor for object ↵Gravatar A. Unique TensorFlower2018-09-20
| | | | | | | | detection models. As part of this CL, we use the Keras mobilenet_v2 application's keyword argument layer injection API to allow the generated network to support the object detection hyperparameters. PiperOrigin-RevId: 213872175
* Simplifies the ResourceVariable constructor.Gravatar Alexandre Passos2018-09-20
| | | | PiperOrigin-RevId: 213872127
* Updating doc references to tf.distributions to point to tfp.distributions.Gravatar Brian Patton2018-09-20
| | | | PiperOrigin-RevId: 213867606
* Modify docs under contrib/distributions to point to tfp.Gravatar Brian Patton2018-09-20
| | | | PiperOrigin-RevId: 213866466
* Add searchsorted (ie lower/upper bound) op.Gravatar A. Unique TensorFlower2018-09-20
| | | | PiperOrigin-RevId: 213863392
* Fix _handle_data of variant and resource type outputs of While op in while_v2.Gravatar Saurabh Saxena2018-09-20
| | | | | | https://github.com/tensorflow/community/pull/13 PiperOrigin-RevId: 213862844
* Replace the OrderedDict with a basic list/dict solution. OrderedDict is ↵Gravatar Dan Moldovan2018-09-20
| | | | | | problematic to use in eager because of the circular references it creates. PiperOrigin-RevId: 213862402
* Moving tpu_embedding_config.proto to tpu_embedding_configuration.proto, ↵Gravatar Daryl Ng2018-09-20
| | | | | | refactoring it, adding several new fields and an EmbeddingOutputLayout message to provide experimental support for controlling the embedding output. PiperOrigin-RevId: 213849572
* [data-stats] Adds number of filtered elements as scalar summary, also adds ↵Gravatar Shivani Agrawal2018-09-20
| | | | | | number of filtered elements to monitoring counter. PiperOrigin-RevId: 213846793
* [SE] Use absl instead of TF classes where an absl version existsGravatar Benjamin Kramer2018-09-20
| | | | | | | With the exception of StrCat all of these are using absl already, this change just removes one layer of indirection. PiperOrigin-RevId: 213846036
* Merge pull request #20443 from naurril:masterGravatar TensorFlower Gardener2018-09-20
|\ | | | | | | PiperOrigin-RevId: 213844688
* | [tf.data] Use vectorization_utils::VectorizeMapDefun in MapVectorization ↵Gravatar Rachel Lim2018-09-20
| | | | | | | | | | | | optimization PiperOrigin-RevId: 213840320
* | Merge pull request #22391 from Shujian2015:patch-2Gravatar TensorFlower Gardener2018-09-20
|\ \ | | | | | | | | | PiperOrigin-RevId: 213836802
* | | Callbacks should count the steps correctly in the multi step caseGravatar Sourabh Bajaj2018-09-20
| | | | | | | | | | | | PiperOrigin-RevId: 213829360
* | | Fix typo in _EnforceShapeInvariant.Gravatar A. Unique TensorFlower2018-09-20
| | | | | | | | | | | | PiperOrigin-RevId: 213801006
* | | [XLA:TF] Whitelist quantized types for CPU/GPUGravatar Benjamin Kramer2018-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have the same behavior as unquantized types so we can just pass them through to XLA (which converts them to unquantized types). They're supposed to be used with special ops, none of which are currently implemented by XLA. Casting (without quantization) and basic math works fine though. These do not have a corresponding numpy type, so only tests using TF types will see them. PiperOrigin-RevId: 213781650
* | | compat: Update forward compatibility horizon to 2018-09-20Gravatar A. Unique TensorFlower2018-09-20
| | | | | | | | | | | | PiperOrigin-RevId: 213773990
* | | Automated rollback of commit da3357ecbdd6772413e8bbceeab8238971be11ceGravatar Adrian Kuegel2018-09-20
| | | | | | | | | | | | PiperOrigin-RevId: 213771631
* | | Internal change.Gravatar A. Unique TensorFlower2018-09-20
| | | | | | | | | | | | PiperOrigin-RevId: 213770000
* | | Automated rollback of commit 31c0857f6b5d79f4a7b16ee4af85f0bde8b5f5daGravatar A. Unique TensorFlower2018-09-20
| | | | | | | | | | | | PiperOrigin-RevId: 213764810
* | | Add AOT test case for XlaSort.Gravatar Adrian Kuegel2018-09-20
| | | | | | | | | | | | | | | | | | | | | The only tensorflow op that uses XlaSort is nn.top_k, so we add a test case using nn.top_k. PiperOrigin-RevId: 213763591
* | | Add feature_group_count parameter of Convolution op to xla_client.py.Gravatar Adrian Kuegel2018-09-20
| | | | | | | | | | | | | | | | | | This parameter has been added to HLO to support depthwise convolution. PiperOrigin-RevId: 213761790
* | | Speeds up _random_flip for batched images.Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | PiperOrigin-RevId: 213753728
* | | Internal change.Gravatar Eugene Brevdo2018-09-19
| | | | | | | | | | | | PiperOrigin-RevId: 213749129
* | | Update TF Lite subsiteGravatar Billy Lamberta2018-09-19
| | | | | | | | | | | | PiperOrigin-RevId: 213737482
* | | BEGIN_PUBLICGravatar James Qin2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's desirable to run int64 compute on GPU. Rolling back the folowing CL. *** Original change description *** Register a new Sum op for T:int64 and Tidx:int32 END_PUBLIC Automated rollback of commit a9a5929d06e5eb4dd38bef63d56c4e338bbd38a2 PiperOrigin-RevId: 213736058
* | | Copy Tensor._handle_data from external_capture to placeholder for Variant ↵Gravatar Saurabh Saxena2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tensors in Graph mode defun. This allows inferring the shape of values popped from TensorLists inside defuns. Remove "Resource" from {Set|Get}ResourceHandleShapeAndType since the same functions are re-usable for variants. Eager mode fix coming in a future changelist. PiperOrigin-RevId: 213735462
* | | Fix the error message thrown when running eval on podGravatar Sourabh Bajaj2018-09-19
| | | | | | | | | | | | PiperOrigin-RevId: 213730668
* | | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | PiperOrigin-RevId: 213729979
* | | TOCO transformations updated to support dilated depthwise convolution.Gravatar Suharsh Sivakumar2018-09-19
| | | | | | | | | | | | PiperOrigin-RevId: 213729750
* | | Allow setting a global override for the "allow_growth" GPU option via the ↵Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | | | TF_FORCE_GPU_ALLOW_GROWTH environment variable. PiperOrigin-RevId: 213728460
* | | Merge pull request #21114 from yongtang:07242018-CudnnRNNParamsSizeGravatar TensorFlower Gardener2018-09-19
|\ \ \ | | | | | | | | | | | | PiperOrigin-RevId: 213726710
* | | | Add VerifiedHloModule class.Gravatar Mark Heffernan2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VerifiedHloModule is derived from HloModule and verifies itself on destruction. This is designed to be used in HloVerifiedTestBase. This replaces the current mechanism which verifies HloModules in the TearDown method. The VerifiedHloModule approach is cleaner (less state on the test object) and more capable because these verified HLO modules can be passed to methods which require taking ownership of the module (eg, HlotestBase::Execute). This change required some changes to the parser which enables constructing the parsed HloModule into an already allocated HloModule. Some trivial changes to HloModule are required as well. PiperOrigin-RevId: 213718126
* | | | [XLA] Add R2 strided slice test.Gravatar Michael Kuperstein2018-09-19
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 213718019
* | | | Go: Update generated wrapper functions for TensorFlow ops.Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 213716034
* | | | This CL adds a new `tf.print` operator that more closely aligns with the ↵Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | standard python `print` method, and deprecates the old `tf.Print` operator (to be removed in in v2.0). It follows the design doc specified in https://github.com/tensorflow/community/pull/14 and additionally incorporates the community feedback and design review decisions. This CL adds two new internal graph operators: a StringFormat operator that formats a template string with a list of input tensors to insert into the string and outputs a string scalar containing the result, and a PrintV2 operator that prints a string scalar to a specified output stream or logging level. The formatting op is exposed at `tf.strings.Format`. A new python method is exposed at `tf.print` that takes a list of inputs that may be nested structures and may contain tensors, formats them nicely using the formatting op, and returns a PrintV2 operator that prints them. In Eager mode and inside defuns this PrintV2 operator will automatically be executed, but in graph mode it will need to be either added to `sess.run`, or used as a control dependency for other operators being executed. As compared to the previous print function, the new print function: - Has an API that more closely aligns with the standard python3 print - Supports changing the print logging level/output stream - allows printing arbitrary (optionally nested) data structures as opposed to just flat lists of tensors - support printing sparse tensors - changes printed tensor format to show more meaningful summary (recursively print the first and last elements of each tensor dimension, instead of just the first few elements of the tensor irregardless of dimension). PiperOrigin-RevId: 213709924
* | | | Boosted trees: Add error messages when tree complexity parameter is not ↵Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | properly set. PiperOrigin-RevId: 213706101
* | | | Create a steps_per_run variable to be updated correctly in the fit loop to ↵Gravatar Sourabh Bajaj2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | make sure we run fit for the right number of steps. PiperOrigin-RevId: 213706042
* | | | Allow the tape tensor to have unknown shapes.Gravatar Akshay Modi2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | This is done by making the TapeTensor a template rather than a concrete struct. PiperOrigin-RevId: 213700425
* | | | Add min/max version for depthwise conv.Gravatar Suharsh Sivakumar2018-09-19
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 213698663
* | | | Added ABSL_DEPRECATED annotations to various deprecated TensorFlow functions.Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 213693027
* | | | Remove LOG(INFO) in MetaOptimizer:Optimize as this currently produces a ↵Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | large number of debugging outputs in the INFO log that look like: I0917 16:20:11.073992 9191 meta_optimizer.cc:334] Starting optimization for grappler item: tf_graph I0917 16:20:11.079458 9191 meta_optimizer.cc:334] Starting optimization for grappler item: tf_graph I0917 16:20:11.084827 12447 meta_optimizer.cc:334] Starting optimization for grappler item: tf_graph I0917 16:20:11.089359 12447 meta_optimizer.cc:334] Starting optimization for grappler item: tf_graph After this change those lines will simply no longer appear. RELNOTES: n/a PiperOrigin-RevId: 213690759
* | | | [tf.data] MapVectorization optimization: C++ conversion framework to ↵Gravatar Rachel Lim2018-09-19
| | | | | | | | | | | | | | | | | | | | | | | | vectorize a MapDefun function. Also implements conversion for two ops: Cast and Unpack. PiperOrigin-RevId: 213686720
* | | | Fixes bits/bytes unit error in comment.Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 213684048
* | | | Remove the CHECK added for debugging.Gravatar A. Unique TensorFlower2018-09-19
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 213681549