aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Creating an InstantiatedCapturedFunction that captures the instantiated ↵Gravatar Rohan Jain2018-09-18
| | | | | | | | state of a function to be executed, separating it out from the non instantiated regular state such as function name, captured inputs etc. This allows us to truly separate Dataset kernel creation from Iterator creation i.e. each time a dataset is created that uses functions, we create only a CapturedFunction whereas we create an InstantiatedCapturedFunction each time a new iterator is created. PiperOrigin-RevId: 213456128
* Automated rollback of commit 19d66a950e2091bb598c6a2d375e14208f5773b2Gravatar Guangda Lai2018-09-18
| | | | PiperOrigin-RevId: 213453719
* Add a fuzzer to test DecodeCompressedGravatar David G. Andersen2018-09-18
| | | | PiperOrigin-RevId: 213441868
* Simplify the interface of conversion_call to allow a ConversionOptions ↵Gravatar Dan Moldovan2018-09-18
| | | | | | | object that can be more easily extended. Currently any new argument needs changing a lot of call sites and there is redundancy in argument documentation. Note: this does not modify the public symbols yet - it's not clear whether we want to complicate their interface. However we may want to use it in to_graph and to_code. PiperOrigin-RevId: 213433379
* compat: Update forward compatibility horizon to 2018-09-18Gravatar A. Unique TensorFlower2018-09-18
| | | | PiperOrigin-RevId: 213414462
* Merge pull request #22263 from angersson:get-111-version-changesGravatar TensorFlower Gardener2018-09-17
|\ | | | | | | PiperOrigin-RevId: 213401619
* | [XLA] Refactor conv_ops emitters to make them reusable.Gravatar Justin Lebar2018-09-17
| | | | | | | | PiperOrigin-RevId: 213398930
* | Automated rollback of commit 185aa89912376d4088c22615908696cd30f9951bGravatar A. Unique TensorFlower2018-09-17
| | | | | | | | PiperOrigin-RevId: 213394522
* | Refactor out the metadata_ops set from const_analysis to a per-op bit; NFCGravatar Sanjoy Das2018-09-17
| | | | | | | | PiperOrigin-RevId: 213389224
* | [tf.data] Fixing an error in the optimization loop.Gravatar Jiri Simsa2018-09-17
| | | | | | | | PiperOrigin-RevId: 213386401
* | Fix unused variable error on powerpc.Gravatar Suharsh Sivakumar2018-09-17
| | | | | | | | PiperOrigin-RevId: 213386145
* | Register fp16 reduce_max on GPUGravatar James Qin2018-09-17
| | | | | | | | PiperOrigin-RevId: 213383647
* | Add Keras TPU support for the new metrics.Gravatar Pavithra Vijay2018-09-17
| | | | | | | | PiperOrigin-RevId: 213378552
* | Break cwise_opt_test.py into 3 files to speed up testing, since we are up ↵Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | against the 50 shard limit. PiperOrigin-RevId: 213377776
* | Num elements fastpath for eager tensors.Gravatar Akshay Modi2018-09-17
| | | | | | | | PiperOrigin-RevId: 213377426
* | Increase test timeout for image_grad_test to de-flake.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | PiperOrigin-RevId: 213372241
* | Remove some dead code after migration from python to C.Gravatar Akshay Modi2018-09-17
| | | | | | | | PiperOrigin-RevId: 213372027
* | Add type checking at the beginning of tpu.shard().Gravatar Yunxing Dai2018-09-17
| | | | | | | | | | | | Otherwise a message like "TypeError: Tensor objects are only iterable when eager execution is enabled. To iterate over this tensor use tf.map_fn." will be thrown, which is confusing. PiperOrigin-RevId: 213371676
* | Eliminate VisitableAllocator.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The visitor pattern is used to allow pre-registration of memory for DMA access, e.g. for fast GPU/CPU i/o and for RDMA networking. The VisitableAllocator interface was introduced to support this use some time ago, prior to SubAllocators. Memory registration works best if it's done infrequently, on large pieces of memory, rather than on every piece that's dynamically allocated/freed. This usage pattern fits the SubAllocator better than a general Allocator. This change moves memory allocation visitor access to SubAllocator and eliminates the VisitableAllocator subclass of Allocator. This change also more rigorously enforces the requirement that all Visitors be declared prior to memory allocation begining. This is accomplished by requiring that Visitors be provided to the SubAllocator constructor. This refactoring will ease an upcoming CL introducing NUMA specific CPU devices. It also should fix some performance pitfalls (e.g. accidental use of PoolAllocator) introduced by an earlier refactoring of ProcessState that was also in preparation for NUMA. It restores the default use of the cpu_allocator() value (i.e. no SubAllocator) by model executions that don't use allocation visitors (since visitor registration must precede the first allocation, hence can be detected at that time). PiperOrigin-RevId: 213371553
* | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | PiperOrigin-RevId: 213368723
* | Remove unnecessary side-effect test, since HLO liveness now reports correctGravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | | | liveness information if a control flow computation contains side effect instructions. PiperOrigin-RevId: 213367995
* | Fixed bug where a mixture of Variable and PartitionedVariable would break ↵Gravatar Eddie Zhou2018-09-17
| | | | | | | | | | | | | | | | SDCA. Added new test that fails with `IndexError: list index out of range` in `_get_partitioned_update_ops` without the corresponding fix. Note that the effect of this bug is minimal, because for Estimator users, it only applies to sparse features that are not partitionable (e.g. [1,]), since all variables are created with the same partitioner in Estimator). PiperOrigin-RevId: 213365956
* | Increase test timeout for dnn_tree_combined_estimator_test to de-flake.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | PiperOrigin-RevId: 213363558
* | Changing `OpInputList` so that it is a forward iterator and taking advantage ↵Gravatar Jiri Simsa2018-09-17
| | | | | | | | | | | | of the fact in the tf.data kernels. PiperOrigin-RevId: 213361953
* | Make HLO liveness analysis correctly handle computations with side effect ↵Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | instructions. PiperOrigin-RevId: 213361904
| * Update 1.11.0-rc0 version strings to 1.11.0-rc1 (#22284)Gravatar Austin Anderson2018-09-17
| |
* | Add basic op resolver registration to TFLite C APIGravatar Jared Duke2018-09-17
| | | | | | | | PiperOrigin-RevId: 213360279
* | [tf.data] Introducing `tf.data.Dataset.window(size, shift, stride, ↵Gravatar Jiri Simsa2018-09-17
| | | | | | | | | | | | | | | | drop_remainder)`, which can be used for combining elements of input dataset into "windows". A window is itself a finite dataset and, among other things, can be used for generalized batching (see https://github.com/tensorflow/community/pull/5 for details). PiperOrigin-RevId: 213360134
* | Fixing the documentation of the parse_sequence_example function.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | PiperOrigin-RevId: 213354240
* | Fix GraphConstructor and import_graph_def bug with variadic ops.Gravatar Skye Wanderman-Milne2018-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, GraphConstructor::PopulateMissingUnusedInputMapKey() didn't correctly compute the number of outputs for ops with variadic outputs. This meant that missing_unused_input_map_keys could contain spurious entries for unused variadic outputs, which could trigger a ValueError in import_graph_def. This also adds a new util method in node_def_util.h, NumOutputsForNode(). PiperOrigin-RevId: 213353158
* | Remove tensorflow/contrib/linalg library. linalg remains in core.Gravatar Ian Langmore2018-09-17
| | | | | | | | PiperOrigin-RevId: 213352573
* | Add generic fallback optimized implementations for dilated DepthwiseConv.Gravatar Suharsh Sivakumar2018-09-17
| | | | | | | | PiperOrigin-RevId: 213350122
* | Move OvicBenchmarker class from app folder to source folder.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | PiperOrigin-RevId: 213349833
* | Add api_docs_relpath option.Gravatar Mark Daoust2018-09-17
| | | | | | | | | | | | Eliminate error when copying a file to itself. PiperOrigin-RevId: 213349424
* | Fix _check_is_tensor like _check_is_tensor_or_operation was fixed in #22264.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | PiperOrigin-RevId: 213346485
* | Add benchmarks comparing Mkl vs Default Conv2D ops.Gravatar Eugene Zhulenev2018-09-17
| | | | | | | | PiperOrigin-RevId: 213346439
* | Fix testing bug where partitioned primals wasn't actually being tested ↵Gravatar Eddie Zhou2018-09-17
| | | | | | | | | | | | (constructing Variable directly instead of get_variable under scope with partitioner). PiperOrigin-RevId: 213345447
* | Merge pull request #22061 from perfinion:install_headersGravatar TensorFlower Gardener2018-09-17
|\ \ | | | | | | | | | PiperOrigin-RevId: 213343364
* | | Keep only weak references to variables in graph functionsGravatar Allen Lavoie2018-09-17
| | | | | | | | | | | | | | | | | | | | | | | | This enables cleanup of the variables referenced in defunned methods of objects when the object is garbage collected. Since one PolymorphicFunction is created per @defun, decorated methods before this change held on to all of the variables referenced in that method for any instance of the class (i.e. variables which should have been object-scoped were scoped to the lifetime of the class definition). Raises an exception if variables used in the function have been deleted when it is called, which means no local variables. PiperOrigin-RevId: 213337256
* | | Use a single thread in eager if inter_op_parallelism_threads isn't specified.Gravatar Akshay Modi2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213336463
* | | Improve the error messages in custom_export_strategy.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213334465
* | | Tweak test tolerance in segment_reduction_ops_test.py, which is otherwise flaky.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213327863
* | | Compute `axes` and `free` statically during graph creation.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213327709
* | | Add support for predicting models with learning_phase.Gravatar Jianwei Xie2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213327633
* | | Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | | | | | | | | | | | | | 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: 213326581
* | | Add missing `watch` call to GradientTape documentation.Gravatar Akshay Agrawal2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213326503
* | | Move from deprecated self.test_session() to self.cached_session().Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | | | | | | | | | | | | | 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: 213326167
* | | Raise error on encountering bad indentation during Autograph parsing.Gravatar A. Unique TensorFlower2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213324570
* | | [XLA] Add ReduceWindow test.Gravatar Michael Kuperstein2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213322116
* | | GradientTape: Documentation formatting tweak.Gravatar Asim Shankar2018-09-17
| | | | | | | | | | | | PiperOrigin-RevId: 213318051