-
Notifications
You must be signed in to change notification settings - Fork 1
WIP: TF threading #5
base: master
Are you sure you want to change the base?
Commits on Jul 15, 2019
-
[Grappler] Generalize Squeeze and Reduce op transformations in Generi…
…cLayoutOptimizer. PiperOrigin-RevId: 258198838
Configuration menu - View commit details
-
Copy full SHA for 129b5d5 - Browse repository at this point
Copy the full SHA 129b5d5View commit details -
tensor tracer: minor change in flush function.
PiperOrigin-RevId: 258198866
Configuration menu - View commit details
-
Copy full SHA for 4145835 - Browse repository at this point
Copy the full SHA 4145835View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1303776 - Browse repository at this point
Copy the full SHA 1303776View commit details -
Add support for Python 3 type-annotated assign. Fixes tensorflow#28849.
PiperOrigin-RevId: 258199464
Configuration menu - View commit details
-
Copy full SHA for d3dd072 - Browse repository at this point
Copy the full SHA d3dd072View commit details -
Do not accumulate loop invariants in while_v2.
PiperOrigin-RevId: 258199946
Configuration menu - View commit details
-
Copy full SHA for b5358aa - Browse repository at this point
Copy the full SHA b5358aaView commit details -
AveragePrecision@k(e) for an example e is defined as
Sum_{i=1,...,k} Precision@i(e) * I(i, e) / D(k, e) where I(i, e) is 1 if label of rank i for e is a positive label for e, and 0 otherwise, and the denominator D(k, e) is the maximum possible number of terms in the sum with a non-zero I(i, e): D(k, e) = min(k, number positive labels for e). While this formula is implemented correctly in `average_precision_at_k` when `labels` is a sparse tensor, it is incorrect when `labels` is a dense tensor with some values out of range [0, num_classes), necessary in the case of examples with a different number of positive labels. In this case, the current implementation defines the denominator as D(k, e) = min(k, size of last dimension of `labels`). Consider 2 examples e_1 and e_2 with positive labels {0, 1} and {0}, assume that the top ranked label for e_2 is 0. AveragePrecision@2(e_2) = 1 and is computed correctly when the labels are given by a sparse tensor, but when the labels are given by a dense tensor, e.g. [[0, 1], [0, -1]], then AveragePrecision@2(e_2) = 0.5, as D(i, e_2) is considered min(2, 2). This CL corrects this error. PiperOrigin-RevId: 258200333
Configuration menu - View commit details
-
Copy full SHA for e5e6eef - Browse repository at this point
Copy the full SHA e5e6eefView commit details -
Create zeros of correct type when building default gradient for resou…
…rces. PiperOrigin-RevId: 258201156
Configuration menu - View commit details
-
Copy full SHA for c8aef18 - Browse repository at this point
Copy the full SHA c8aef18View commit details -
Handle shape inference for "outside compilation to outside compilatio…
…n data edge" for If/While nodes as well. PiperOrigin-RevId: 258205803
Configuration menu - View commit details
-
Copy full SHA for efafe1b - Browse repository at this point
Copy the full SHA efafe1bView commit details -
Use OP_REQUIRES_ASYNC in CollectiveGatherOpKernel.
This change also adds a test that covers the error, i.e. attempting to pass in tensors with different shapes across runs to a particular instance of a collective gather op. PiperOrigin-RevId: 258207891
Configuration menu - View commit details
-
Copy full SHA for 1c68152 - Browse repository at this point
Copy the full SHA 1c68152View commit details -
Adds run_eagerly option for bert.
PiperOrigin-RevId: 258208153
Configuration menu - View commit details
-
Copy full SHA for 37f51da - Browse repository at this point
Copy the full SHA 37f51daView commit details -
[tf.data] Include "(Experimental)ParseExampleDataset" as a passthroug…
…h op for rebatching. PiperOrigin-RevId: 258211187
Configuration menu - View commit details
-
Copy full SHA for fc91d10 - Browse repository at this point
Copy the full SHA fc91d10View commit details -
Use declarative rewrite pattern for Gather(V2) legalization
PiperOrigin-RevId: 258216008
Configuration menu - View commit details
-
Copy full SHA for 1a16c72 - Browse repository at this point
Copy the full SHA 1a16c72View commit details -
Add test where mixed precision is enabled when saving and disabled wh…
…en loading, and vice versa. Support for this was (perhaps unintentially) added in cl/242345741. PiperOrigin-RevId: 258218701
Configuration menu - View commit details
-
Copy full SHA for d158fbb - Browse repository at this point
Copy the full SHA d158fbbView commit details -
Merge pull request tensorflow#30718 from tensorflow:master-numpy
PiperOrigin-RevId: 258222061
Configuration menu - View commit details
-
Copy full SHA for 2f67bf7 - Browse repository at this point
Copy the full SHA 2f67bf7View commit details -
Merge pull request tensorflow#30603 from tensorflow:release_1.14.0
PiperOrigin-RevId: 258225869
Configuration menu - View commit details
-
Copy full SHA for 9e577ba - Browse repository at this point
Copy the full SHA 9e577baView commit details -
Update select_training_loop to discard inferred default strategy.
This will make the code correctly fallback to use existing train_array or train_generator. PiperOrigin-RevId: 258227722
Configuration menu - View commit details
-
Copy full SHA for 031b2d3 - Browse repository at this point
Copy the full SHA 031b2d3View commit details -
Preserve input nodes even if they are not used while importing GraphD…
…ef to MLIR Otherwise, it will fail to find the input node later in InferMainFunctionType method. We should preserve input nodes even if unused so that user can feed inputs, as specified. PiperOrigin-RevId: 258230459
Configuration menu - View commit details
-
Copy full SHA for f314ebf - Browse repository at this point
Copy the full SHA f314ebfView commit details -
Clif wraps the TPU topology proto target to enable use in clif files.
PiperOrigin-RevId: 258233713
Configuration menu - View commit details
-
Copy full SHA for 49c3f30 - Browse repository at this point
Copy the full SHA 49c3f30View commit details -
Update Eigen to commit 049af2f56331.
This update fixes few TensorChipping and TensorSlicing regressions. PiperOrigin-RevId: 258238409
Configuration menu - View commit details
-
Copy full SHA for 79e6d26 - Browse repository at this point
Copy the full SHA 79e6d26View commit details -
Renamed enum from cc3-apache2 to cc-apache.
PiperOrigin-RevId: 258239245
Configuration menu - View commit details
-
Copy full SHA for 294bf90 - Browse repository at this point
Copy the full SHA 294bf90View commit details -
Disable failing msan and asan tests until fix is landed.
PiperOrigin-RevId: 258242570
Configuration menu - View commit details
-
Copy full SHA for ba6a221 - Browse repository at this point
Copy the full SHA ba6a221View commit details -
Merge pull request tensorflow#30586 from siju-samuel:lite_deprecated_…
…tfrun_removal PiperOrigin-RevId: 258244067
Configuration menu - View commit details
-
Copy full SHA for 5c6ff74 - Browse repository at this point
Copy the full SHA 5c6ff74View commit details -
Remove --spawn_strategy=standalone and --strategy=Genrule=standalone …
…from bazelrc file They are no longer needed and will prevent future incompatible migration for RBE build. Related bazelbuild/bazel#7480 PiperOrigin-RevId: 258244467
Configuration menu - View commit details
-
Copy full SHA for 7a2ce46 - Browse repository at this point
Copy the full SHA 7a2ce46View commit details -
Configuration menu - View commit details
-
Copy full SHA for e313f0b - Browse repository at this point
Copy the full SHA e313f0bView commit details -
Automated rollback of commit acab6a2
PiperOrigin-RevId: 258246018
Configuration menu - View commit details
-
Copy full SHA for 68e2db3 - Browse repository at this point
Copy the full SHA 68e2db3View commit details -
Add
--quantize_to_float16
flag to tflite_convertNote that this must always be used in conjunction with `--post_training_quantize` to have any effect in conversion. PiperOrigin-RevId: 258246075
Configuration menu - View commit details
-
Copy full SHA for deee3e1 - Browse repository at this point
Copy the full SHA deee3e1View commit details -
TFLite GPU Delegate: Introduce stretch_time operation options.
PiperOrigin-RevId: 258246204
Configuration menu - View commit details
-
Copy full SHA for c154473 - Browse repository at this point
Copy the full SHA c154473View commit details -
Merge pull request tensorflow#30663 from yongtang:07122019-window-doc…
…string PiperOrigin-RevId: 258248081
Configuration menu - View commit details
-
Copy full SHA for e2678e0 - Browse repository at this point
Copy the full SHA e2678e0View commit details -
Add back a (very hacky) executing_eagerly check to avoid computing se…
…cond-order gradients where we weren't before cl/256268751 A better fix would be to temporarily pop all existing tapes (not pause all tapes globally), then restore them when we're done building the function. But that needs a bit more infrastructure. PiperOrigin-RevId: 258250440
Configuration menu - View commit details
-
Copy full SHA for 3d67dfd - Browse repository at this point
Copy the full SHA 3d67dfdView commit details -
Update TensorFlow API generation so that it uses import statement ins…
…tead of calling importlib. We saw issues with tensorflow_estimator that getattr was called on a module before the module finishing running. Switching back to standard import statements. Keeping the module wrapper so we don't need to revert the changes made to templated __init__.py in cl/257240535. PiperOrigin-RevId: 258251871
Configuration menu - View commit details
-
Copy full SHA for 75bd293 - Browse repository at this point
Copy the full SHA 75bd293View commit details -
tensor tracer: moving the tf.case that determines the file to flush i…
…nto the outside_compilation region. PiperOrigin-RevId: 258254009
Configuration menu - View commit details
-
Copy full SHA for 7c33772 - Browse repository at this point
Copy the full SHA 7c33772View commit details -
Metal: 'Add' operation supports scalar.
PiperOrigin-RevId: 258254040
Configuration menu - View commit details
-
Copy full SHA for b4f8423 - Browse repository at this point
Copy the full SHA b4f8423View commit details -
Switch FunctionLibraryDefinition to share FunctionDef storage with ot…
…her instances. We frequently waste memory during graph construction and optimization by copying FunctionLibraryDefinition objects, which entails a copy of all the FunctionDefs in the library. Since all FunctionDefs (and related op registration data) in the library are immutable after it is constructed, we can share them with other library instances. PiperOrigin-RevId: 258254464
Configuration menu - View commit details
-
Copy full SHA for 00d3da0 - Browse repository at this point
Copy the full SHA 00d3da0View commit details -
Merge pull request tensorflow#30723 from feihugis:Refactor_DatasetOps_8
PiperOrigin-RevId: 258254881
Configuration menu - View commit details
-
Copy full SHA for 2beeba1 - Browse repository at this point
Copy the full SHA 2beeba1View commit details -
Minor changes to TFLiteConverter 2.0 documentation.
PiperOrigin-RevId: 258256417
Configuration menu - View commit details
-
Copy full SHA for 1330566 - Browse repository at this point
Copy the full SHA 1330566View commit details -
Added multi threading support for SnapshotReaderIterator. Currently t…
…his doesn't ensure any determinism or ordering. This is especially useful when the data is compressed because the decompression code can be quite intensive and its very helpful to parallelize it. PiperOrigin-RevId: 258259309
Configuration menu - View commit details
-
Copy full SHA for 6168525 - Browse repository at this point
Copy the full SHA 6168525View commit details -
Changing test size for topk_op_test_xla_gpu.
PiperOrigin-RevId: 258261110
Configuration menu - View commit details
-
Copy full SHA for 35c45b7 - Browse repository at this point
Copy the full SHA 35c45b7View commit details -
Make ReachableFunctionLibraryDefinition deterministic in its output b…
…y replacing absl::flat_hash_set with std::set. PiperOrigin-RevId: 258261287
Configuration menu - View commit details
-
Copy full SHA for 550e573 - Browse repository at this point
Copy the full SHA 550e573View commit details -
[XLA] Expose HloInstruction::CreateBitcast method.
PiperOrigin-RevId: 258263420
Configuration menu - View commit details
-
Copy full SHA for cdeeac9 - Browse repository at this point
Copy the full SHA cdeeac9View commit details -
Minor changes to keras preprocessing layer test utilities
PiperOrigin-RevId: 2582635
Configuration menu - View commit details
-
Copy full SHA for 3e1b203 - Browse repository at this point
Copy the full SHA 3e1b203View commit details
Commits on Jul 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d0914dc - Browse repository at this point
Copy the full SHA d0914dcView commit details -
[XLA] Use device sync instead of stream sync for gemm autotuning.
PiperOrigin-RevId: 258264512
Configuration menu - View commit details
-
Copy full SHA for d49fe96 - Browse repository at this point
Copy the full SHA d49fe96View commit details -
Enable all keras tests with run_distributed=True.
Failed tests are all disabled for now, and we should address them while we updating the v2 training path and util functions. PiperOrigin-RevId: 258267130
Configuration menu - View commit details
-
Copy full SHA for 59217f5 - Browse repository at this point
Copy the full SHA 59217f5View commit details -
[XLA] Do not dump FileCheck input when test succeeds.
The strategy to always dump FileCheck input generates a large amount of log spam, and makes debugging other failures difficult. We only need the full input if the test has failed. PiperOrigin-RevId: 258267702
Configuration menu - View commit details
-
Copy full SHA for 0ea905b - Browse repository at this point
Copy the full SHA 0ea905bView commit details -
Add gemmlowp label for SquaredDifference and Sum ops
PiperOrigin-RevId: 258267779
Configuration menu - View commit details
-
Copy full SHA for cdc1338 - Browse repository at this point
Copy the full SHA cdc1338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b24888 - Browse repository at this point
Copy the full SHA 0b24888View commit details -
[tf.data] Fix check for iterator initialization.
Fixes: tensorflow#29989 PiperOrigin-RevId: 258269050
Configuration menu - View commit details
-
Copy full SHA for 51d1f48 - Browse repository at this point
Copy the full SHA 51d1f48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2010ed0 - Browse repository at this point
Copy the full SHA 2010ed0View commit details -
Add Unique Op to MLIR converter.
PiperOrigin-RevId: 258271679
Configuration menu - View commit details
-
Copy full SHA for bb797ba - Browse repository at this point
Copy the full SHA bb797baView commit details -
Fix sequential model setattr and layer tracking logic.
Since Sequential has its own layer tracking logic, disable the tracking logic in base_layer setattr for sequential models. PiperOrigin-RevId: 258275046
Configuration menu - View commit details
-
Copy full SHA for 0ca245e - Browse repository at this point
Copy the full SHA 0ca245eView commit details -
Update ops-related pbtxt files.
PiperOrigin-RevId: 258275394
Configuration menu - View commit details
-
Copy full SHA for 2803367 - Browse repository at this point
Copy the full SHA 2803367View commit details -
In DatasetSpec constructor, convert dataset_shape to a shape.
PiperOrigin-RevId: 258275543
Configuration menu - View commit details
-
Copy full SHA for 814cce5 - Browse repository at this point
Copy the full SHA 814cce5View commit details -
Merge pull request tensorflow#30625 from Intel-tensorflow:nhasabni/ad…
…d_mkldnnv0.20 PiperOrigin-RevId: 258277683
Configuration menu - View commit details
-
Copy full SHA for f34fe51 - Browse repository at this point
Copy the full SHA f34fe51View commit details -
PiperOrigin-RevId: 258284211
Configuration menu - View commit details
-
Copy full SHA for b645595 - Browse repository at this point
Copy the full SHA b645595View commit details -
Fix undefined behavior in FunctionLibraryDefinition::Find().
With some combinations of compiler options (though surprisingly not just enabling ASAN), taking the address of the first member through a null `std::shared_ptr<FunctionDefAndOpRegistration>` fails. PiperOrigin-RevId: 258295758
Configuration menu - View commit details
-
Copy full SHA for b3d4737 - Browse repository at this point
Copy the full SHA b3d4737View commit details -
[Eager] Change rewrite registry from a (singleton) std::map to an std…
…::array. The registry is keyed by an enum and contains a static number of keys (based on an enum), so this avoids a map lookup at the start of every eager op execution. PiperOrigin-RevId: 258296647
Configuration menu - View commit details
-
Copy full SHA for c1f7f64 - Browse repository at this point
Copy the full SHA c1f7f64View commit details -
Add Bool support in transpose op.
PiperOrigin-RevId: 258304540
Configuration menu - View commit details
-
Copy full SHA for b51a1b2 - Browse repository at this point
Copy the full SHA b51a1b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283e298 - Browse repository at this point
Copy the full SHA 283e298View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53b3cab - Browse repository at this point
Copy the full SHA 53b3cabView commit details -
Use the right lookup key when the graph debug info is imported and E2…
…E tests When the graph debug info is generated by TensorFlow, the node stack trace is indexed by the string concatenation of function name and node name, so we have to use the same string to lookup the stack trace for the nodes. E2E tests for displaying stack traces in the error messages are added to verify the stack traces for nodes from both graphs and functions can be displayed correctly. PiperOrigin-RevId: 258311493
Configuration menu - View commit details
-
Copy full SHA for 4cb9707 - Browse repository at this point
Copy the full SHA 4cb9707View commit details -
Fix for tf.function in v1 control flow.
PiperOrigin-RevId: 258313758
Configuration menu - View commit details
-
Copy full SHA for 2a182a8 - Browse repository at this point
Copy the full SHA 2a182a8View commit details -
Make it flexible to choose the actual TFLite op resolver in the bench…
…mark tool. PiperOrigin-RevId: 258317482
Configuration menu - View commit details
-
Copy full SHA for 49cd273 - Browse repository at this point
Copy the full SHA 49cd273View commit details -
Update GraphDef version to 98.
PiperOrigin-RevId: 258324381
Configuration menu - View commit details
-
Copy full SHA for cd1960a - Browse repository at this point
Copy the full SHA cd1960aView commit details -
compat: Update forward compatibility horizon to 2019-07-16
PiperOrigin-RevId: 258324385
Configuration menu - View commit details
-
Copy full SHA for 205e143 - Browse repository at this point
Copy the full SHA 205e143View commit details -
Add a skeleton for the MLIR GPU backend.
The skeleton returns unimplemented for all members of the Compiler interface. It can only be used when combined with the FailoverCompiler and the existing GPU backend. This is also the configuration that is registered. PiperOrigin-RevId: 258333034
Configuration menu - View commit details
-
Copy full SHA for 17343b2 - Browse repository at this point
Copy the full SHA 17343b2View commit details -
Merge pull request tensorflow#30613 from ROCmSoftwarePlatform:google_…
…upstream_avgpooling_op_part_two PiperOrigin-RevId: 258349112
Configuration menu - View commit details
-
Copy full SHA for 69fdaa0 - Browse repository at this point
Copy the full SHA 69fdaa0View commit details -
Merge pull request tensorflow#30614 from ROCmSoftwarePlatform:google_…
…upstream_einsum_op PiperOrigin-RevId: 258349270
Configuration menu - View commit details
-
Copy full SHA for 104a469 - Browse repository at this point
Copy the full SHA 104a469View commit details -
[XLA:GPU] Skip multi-output fusion in IsProducerConsumerMultiOutputFu…
…sible(). PiperOrigin-RevId: 258349333
Configuration menu - View commit details
-
Copy full SHA for e1f2843 - Browse repository at this point
Copy the full SHA e1f2843View commit details -
Merge pull request tensorflow#30618 from ROCmSoftwarePlatform:google_…
…upstream_stateful_random_ops PiperOrigin-RevId: 258349360
Configuration menu - View commit details
-
Copy full SHA for 66b97d2 - Browse repository at this point
Copy the full SHA 66b97d2View commit details -
Make XLA GPU and XLA MLIR GPU emitters share the same HLO optimizatio…
…ns passes. For now, the MLIR backend will expect the same HLO as input as the GPU backend does. Hence, we need to run the same required passes. Also use the same HLO level optimizations, so that we get comparable HLO. PiperOrigin-RevId: 258349785
Configuration menu - View commit details
-
Copy full SHA for 2ba24e8 - Browse repository at this point
Copy the full SHA 2ba24e8View commit details -
Add absl logging functions to the output_streams supported by tf.prin…
…t (v2). This ensures we can print to these streams without needing to use tf.compat.v1 PiperOrigin-RevId: 258360763
Configuration menu - View commit details
-
Copy full SHA for b542d67 - Browse repository at this point
Copy the full SHA b542d67View commit details -
Remove use_resource from v2 Variable doc
Think v2 Variables are resource Variables so `use_resource=True` is not relevant any more (and there is no `use_resource` arg in __init__). Signed-off-by: Yong Tang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6c731d - Browse repository at this point
Copy the full SHA c6c731dView commit details -
Configure LLVMDialect and extract pointer size.
PiperOrigin-RevId: 258361644
Configuration menu - View commit details
-
Copy full SHA for 7e8efb0 - Browse repository at this point
Copy the full SHA 7e8efb0View commit details -
Merge pull request tensorflow#30704 from siju-samuel:depr_removed_con…
…trib_gan_examples PiperOrigin-RevId: 258371737
Configuration menu - View commit details
-
Copy full SHA for f2df2c2 - Browse repository at this point
Copy the full SHA f2df2c2View commit details -
Fix performance regression (b/137615815) introduced by new platform
#defines - they were tested directly by #ifdef, and were being defined by path.h. As tune.cc did not #include path.h, it did not enable its platform-specific tuning code, resulting in a performance regression in cases relying on tuning for maximal performance --- in-order ARM. To prevent that from happening again, this moves the platform defines to a new platform.h and forces users to use a RUY_PLATFORM(X) function macro, so that if they fail to #include platform.h, they get a compilation error. PiperOrigin-RevId: 258372624
Configuration menu - View commit details
-
Copy full SHA for 8c1064d - Browse repository at this point
Copy the full SHA 8c1064dView commit details -
Merge pull request tensorflow#30683 from RonLek:tf.Print_render
PiperOrigin-RevId: 258373033
Configuration menu - View commit details
-
Copy full SHA for 021eb7a - Browse repository at this point
Copy the full SHA 021eb7aView commit details -
Update docs for general element handling.
Dataset elements are no longer limited to nested structures of Tensors. This change updates the docs to refer to "dataset elements" instead of nested structures of Tensors. We may want to also deprecate from_tensors/from_tensor_slices and replace them with better-named from_element/from_element_slices. Since this is more controversial, we can do it as a separate change. PiperOrigin-RevId: 258375042
Configuration menu - View commit details
-
Copy full SHA for 06d0ca4 - Browse repository at this point
Copy the full SHA 06d0ca4View commit details -
Do not attempt to autopack sequences of scalars
This slightly speeds up the common case of converting shape lists to tensors (when calling an op). Before: >>> %timeit tf.convert_to_tensor([1, 2, 3]) 100000 loops, best of 3: 10.4 ?s per loop >>> %timeit tf.convert_to_tensor(np.array([1, 2, 3])) # For reference. 100000 loops, best of 3: 6.47 ?s per loop After: >>> %timeit tf.convert_to_tensor([1, 2, 3]) 100000 loops, best of 3: 7.23 ?s per loop The remaining 1us is due to the necessary nest.flatten call. It might be optimized by introducing nest.all which does not allocate a flat list. PiperOrigin-RevId: 258375416
Configuration menu - View commit details
-
Copy full SHA for 729c1df - Browse repository at this point
Copy the full SHA 729c1dfView commit details -
Add note to benchmark tool on NNAPI restrictions on /data/local/tmp/ …
…on some Android P devices. PiperOrigin-RevId: 258378187
Configuration menu - View commit details
-
Copy full SHA for 307abb3 - Browse repository at this point
Copy the full SHA 307abb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d223302 - Browse repository at this point
Copy the full SHA d223302View commit details -
[tf.data] Reflect cl/256436076 in tf.data rewrites.
PiperOrigin-RevId: 258385606
Configuration menu - View commit details
-
Copy full SHA for 369a047 - Browse repository at this point
Copy the full SHA 369a047View commit details -
Fix UBSan error in test that was testing unrealistic accumulation depth
50001. PiperOrigin-RevId: 258389320
Configuration menu - View commit details
-
Copy full SHA for 6841ac2 - Browse repository at this point
Copy the full SHA 6841ac2View commit details -
PiperOrigin-RevId: 258389587
Configuration menu - View commit details
-
Copy full SHA for e0e7272 - Browse repository at this point
Copy the full SHA e0e7272View commit details -
Make sum_regularizer robust against None.
PiperOrigin-RevId: 258391933
Configuration menu - View commit details
-
Copy full SHA for 738615c - Browse repository at this point
Copy the full SHA 738615cView commit details -
Merge pull request tensorflow#30681 from BBQuercus:patch-2
PiperOrigin-RevId: 258392805
Configuration menu - View commit details
-
Copy full SHA for 781535f - Browse repository at this point
Copy the full SHA 781535fView commit details -
Updating scatter semantics to include an invariant.
PiperOrigin-RevId: 258393073
Configuration menu - View commit details
-
Copy full SHA for a4c01b2 - Browse repository at this point
Copy the full SHA a4c01b2View commit details -
Support signed and unsigned quantization types
This patch contains various changes to allow the worflow working for both UINT8 and INT8 quantization scheme: - The "restricted_output_params" in the "OpQuantSpec" is changed to a map, so the op definition can define restrictions for both UINT8 and INT8. - INT8 quantization spec is added to the TFLite op definition. - a "quantize_sign" flag is passed into the pre-quantize pass, so the spec and propgation for different sign can be configured by this flag. There are followup patches to read this flag from the user's command line. PiperOrigin-RevId: 258393145
Configuration menu - View commit details
-
Copy full SHA for c99a2b7 - Browse repository at this point
Copy the full SHA c99a2b7View commit details -
A missing comma in a list of string means the string "Rank" and "ShapeN" will be concatenated implicitly.
Configuration menu - View commit details
-
Copy full SHA for 5a0c6ee - Browse repository at this point
Copy the full SHA 5a0c6eeView commit details -
Add support for freezing non-lowered While ops in 2.0.
PiperOrigin-RevId: 258395114
Configuration menu - View commit details
-
Copy full SHA for dc72738 - Browse repository at this point
Copy the full SHA dc72738View commit details -
Update docs of MultiWorkerMirroredStrategy (and some related docs in …
…base class) PiperOrigin-RevId: 258399687
Configuration menu - View commit details
-
Copy full SHA for 31cc24f - Browse repository at this point
Copy the full SHA 31cc24fView commit details -
[tf.data] Re-enables forward compatibility test.
PiperOrigin-RevId: 258404510
Configuration menu - View commit details
-
Copy full SHA for 2bb4f00 - Browse repository at this point
Copy the full SHA 2bb4f00View commit details -
Nicer error message when watching things other than tensors/resource …
…vars. It would fail on ndarrays with an numpy.dtype doesn't have is_floating check on the next line in any case, so this gives it a nicer error message. Also use the common RegisterType functionality to check for resource variables. PiperOrigin-RevId: 258407797
Configuration menu - View commit details
-
Copy full SHA for da3a241 - Browse repository at this point
Copy the full SHA da3a241View commit details -
Mark input and output shapes attribute as deprecated in TRTEngineOp
PiperOrigin-RevId: 258412619
Configuration menu - View commit details
-
Copy full SHA for 09f7d53 - Browse repository at this point
Copy the full SHA 09f7d53View commit details -
Automated rollback of commit dbd23da
PiperOrigin-RevId: 258413874
Configuration menu - View commit details
-
Copy full SHA for 26d27c5 - Browse repository at this point
Copy the full SHA 26d27c5View commit details -
BUGFIX: LinearOperatorAdjoint.matvec was passing an
adjoint_arg
kwa……rg, but this doesn't make sense for matvec (and isn't in the base class matvec defn). PiperOrigin-RevId: 258417922
Configuration menu - View commit details
-
Copy full SHA for 5819055 - Browse repository at this point
Copy the full SHA 5819055View commit details -
Do not force PartitionedCall DT_RESOURCE outputs to be on CPU device
PiperOrigin-RevId: 258422018
Configuration menu - View commit details
-
Copy full SHA for f0fd2be - Browse repository at this point
Copy the full SHA f0fd2beView commit details -
[tracing] add a benchmark test for scoped annotation.
this is the preparation to merge the internal xprof and external oss version of annotation implementation, I need to make sure the benchmark is comparable or better. PiperOrigin-RevId: 258425457
Configuration menu - View commit details
-
Copy full SHA for dc9814a - Browse repository at this point
Copy the full SHA dc9814aView commit details -
Simplify ruy's main loop. Most of the next_* business was unnecessary…
… complication. This code didn't know whether it wanted to hide latency of an atomic increment (60 cycles) or of a block coords computation (comparable). Now it's more intentional about hiding the atomic increment latency, because that's the one instruction here that will always have high latency; for the rest, we can only hope that the compiler will exploit any opportunity to inline the block computation and distribute its instructions so as to hide some of the latency. The more important point is what while we don't really know what would run faster and that will at most make a small impact on latency, on the other hand there is a substantial code simplification here, and this matters because this is very central code. Notice in particular how the block coords computation was written twice, once before the loop body and one at the end of the loop body, and now it's only once anymore. PiperOrigin-RevId: 258429272
Configuration menu - View commit details
-
Copy full SHA for ee131bf - Browse repository at this point
Copy the full SHA ee131bfView commit details -
Fix underscore symbol import issue caused by lazy-loading change cl/2…
…58251871. In the previous change, we switched from calling importlib on a list of public APIs to using direct import statements. As a result, the list of API was not passed to TFModuleWrapper and attributes start with "_" did not show up in __all__. To fix, we manually include all eligible symbols in __all__ as what was done before. Built and tested with pip package. PiperOrigin-RevId: 258431865
Configuration menu - View commit details
-
Copy full SHA for 584a64f - Browse repository at this point
Copy the full SHA 584a64fView commit details -
Create initial skeleton for the Flatbuffer -> MLIR importer
Add a flatbuffer_importer.cc that registers a translation from TFLite Flatbuffer to MLIR and incorporate it into the flatbuffer_translate tool. The translator does not yet perform any translation, but only validates that the input file contains a FlatBuffer and prints its version number and the names and input tensor IDs of each subgraph. The tests don't actually include the expected correct output, but instead simply make sure that the initial code, which only calls the flatbuffer parser and prints some simple information, functions correctly. PiperOrigin-RevId: 258431902
Configuration menu - View commit details
-
Copy full SHA for db78382 - Browse repository at this point
Copy the full SHA db78382View commit details -
Improve cross entropy docs to mention why a user should consider from…
…_logits. PiperOrigin-RevId: 258432123
Configuration menu - View commit details
-
Copy full SHA for 42b5da6 - Browse repository at this point
Copy the full SHA 42b5da6View commit details -
Translate TFlite types to MLIR types
Add code that translates between the TFLite and MLIR type systems. This begins the process of building the translator by translating the types of input arguments. The tests are updated to reflect the beginning of the actual work. PiperOrigin-RevId: 258433154
Configuration menu - View commit details
-
Copy full SHA for 502e5e6 - Browse repository at this point
Copy the full SHA 502e5e6View commit details -
[XLA] Use module scheduler to reduce compile time.
Previously, we only have computation scheduler, which runs heap simulator once per computation. For models with large number of computation, this creates extremly slow compilation time. This cl introduces module scheduler, that only runs heap simulator after the whole module is scheduled. It also contains a helper function that automatically converts a computation scheduler to module scheduler. PiperOrigin-RevId: 258436352
Configuration menu - View commit details
-
Copy full SHA for a07965c - Browse repository at this point
Copy the full SHA a07965cView commit details -
Automated rollback of commit 104a469. Revert tensorflow#30614.
PiperOrigin-RevId: 258438229
Configuration menu - View commit details
-
Copy full SHA for 7d18392 - Browse repository at this point
Copy the full SHA 7d18392View commit details -
Fix for scaling when default loss reduction is not specified.
PiperOrigin-RevId: 258438818
Configuration menu - View commit details
-
Copy full SHA for 179b388 - Browse repository at this point
Copy the full SHA 179b388View commit details -
Fix import of SavedModels which use Defun
We weren't properly handling the op-type-is-function-name calling convention. PiperOrigin-RevId: 258441889
Configuration menu - View commit details
-
Copy full SHA for 41b0cfa - Browse repository at this point
Copy the full SHA 41b0cfaView commit details -
Automated rollback of commit 0d2891d
PiperOrigin-RevId: 258445832
Configuration menu - View commit details
-
Copy full SHA for 9dd35dc - Browse repository at this point
Copy the full SHA 9dd35dcView commit details -
Don't specify
e
when re-raising an error; it loses stack trace info(see, e.g., https://stackoverflow.com/questions/4825234/exception-traceback-is-hidden-if-not-re-raised-immediately) PiperOrigin-RevId: 258445844
Configuration menu - View commit details
-
Copy full SHA for 02433bb - Browse repository at this point
Copy the full SHA 02433bbView commit details -
Pfor: make unsorted_segment_sum converter safe for int64 types.
PiperOrigin-RevId: 258450422
Configuration menu - View commit details
-
Copy full SHA for ec0b5d1 - Browse repository at this point
Copy the full SHA ec0b5d1View commit details -
Export all known shape information to TFLite flatbuffers
Currently, the TFLite flatbuffer exporter only exports the shapes for inputs and constants, which is all that is required by TFLite. However, exporting more information this will improve the ability to round-trip between TFLite and MLIR and could enable the TFLite runtime to infer more information statically. PiperOrigin-RevId: 258452655
Configuration menu - View commit details
-
Copy full SHA for 9133bcb - Browse repository at this point
Copy the full SHA 9133bcbView commit details -
Take eager tensor caches outside of EagerContext
This CL should have no behavior changes. It moves the tensor caches that were fields of eager Context into a global map indexed by context id. This CL is needed so that eager Context does not have a references to EagerTensors. Future changes will add a reference from EagerTensor to eager Context. This will mimick the ownership structure of corresponding C++ objects and ensure that Python will delete the context only after all the tensors have been deleted. The latter will allow us to simplify EagerContext destruction and remove ref counting from it. PiperOrigin-RevId: 258454245
Configuration menu - View commit details
-
Copy full SHA for d38a8fe - Browse repository at this point
Copy the full SHA d38a8feView commit details -
Do not force DT_RESOURCE return node to be on the source node device
PiperOrigin-RevId: 258454960
Configuration menu - View commit details
-
Copy full SHA for ca7acec - Browse repository at this point
Copy the full SHA ca7acecView commit details -
Pass attributes when lowering functional If/While.
PiperOrigin-RevId: 258460978
Configuration menu - View commit details
-
Copy full SHA for c51eb49 - Browse repository at this point
Copy the full SHA c51eb49View commit details -
Add better error message for LossScaleOptimizer AttributeError.
Before, the error message would be something like "LossScaleOptimizer object has no attribute _hyper", even if the accessed attribute was not _hyper. PiperOrigin-RevId: 258462751
Configuration menu - View commit details
-
Copy full SHA for c7504db - Browse repository at this point
Copy the full SHA c7504dbView commit details -
Add GatherNd operator into tflite mlir converter.
PiperOrigin-RevId: 258463148
Configuration menu - View commit details
-
Copy full SHA for e22197f - Browse repository at this point
Copy the full SHA e22197fView commit details -
The device_mgr_ pointer is unused and unnecessarily adds a circular reference. Removing it also leads to good C++ style with: 1) Removal of DeviceMgr as a friend class 2) Removal of forward declaration 3) Removal of CHECK statement PiperOrigin-RevId: 258466138
Configuration menu - View commit details
-
Copy full SHA for 10387fc - Browse repository at this point
Copy the full SHA 10387fcView commit details
Commits on Jul 17, 2019
-
Transfer the ownership of the calibrated TRT engine to the engine cac…
…he, so we can dump it out for TF 2.0. PiperOrigin-RevId: 258468798
Configuration menu - View commit details
-
Copy full SHA for 174c241 - Browse repository at this point
Copy the full SHA 174c241View commit details -
Adding missing argument to tflite_plugin_create_delegate ctypes decla…
…ration. PiperOrigin-RevId: 258469750
Configuration menu - View commit details
-
Copy full SHA for 74df7ef - Browse repository at this point
Copy the full SHA 74df7efView commit details -
PiperOrigin-RevId: 258470701
Configuration menu - View commit details
-
Copy full SHA for 579a5c9 - Browse repository at this point
Copy the full SHA 579a5c9View commit details -
Merge pull request tensorflow#30170 from DavidNorman:allow-disable-do…
…t-to-multiply PiperOrigin-RevId: 258472358
Configuration menu - View commit details
-
Copy full SHA for 7c93af2 - Browse repository at this point
Copy the full SHA 7c93af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41730b8 - Browse repository at this point
Copy the full SHA 41730b8View commit details -
Clean up the way logging is configured and improve error checking. Ma…
…ke failure conditions in micro_interpreter clearer. Reduce tensor arena size in micro_vision so that it builds for Sparkfun Edge. PiperOrigin-RevId: 258473403
Configuration menu - View commit details
-
Copy full SHA for 65db228 - Browse repository at this point
Copy the full SHA 65db228View commit details -
PiperOrigin-RevId: 258473579
Configuration menu - View commit details
-
Copy full SHA for 5893331 - Browse repository at this point
Copy the full SHA 5893331View commit details -
Do not import contrib.cloud if it is not available.
Hopefully Fixes tensorflow#29617 PiperOrigin-RevId: 258473584
Configuration menu - View commit details
-
Copy full SHA for ed62ac8 - Browse repository at this point
Copy the full SHA ed62ac8View commit details -
[TF:XLA] Update resource_operation_safety_analysis file comment.
Read->read and write->write dependencies are not considered a safety problem, but the comment still stated they would not be clustered. PiperOrigin-RevId: 258474807
Configuration menu - View commit details
-
Copy full SHA for edd1f81 - Browse repository at this point
Copy the full SHA edd1f81View commit details -
[XLA] Teach HloInstruction::OperandElementUse about kGather and fix i…
…ts handling of kBitcast. Previously OperandElementUse did not know about kGather, so it incorrectly said gather reused both of its operands. In fact it does a plain elementwise use of operand 0 and does a permuting use of its operand 1. In addition, OperandElementUse previously said that bitcast was a permuting use. This isn't what we want: If a fusion uses an input twice, once directly, and once via a bitcast, that should not count as "reuse", because we're not permuting anything, we're still going to access the elements in the same order. PiperOrigin-RevId: 258476532
Configuration menu - View commit details
-
Copy full SHA for 6dc36df - Browse repository at this point
Copy the full SHA 6dc36dfView commit details -
Apparently it's getting a FunctionDef with duplicate output names. The names only matter for importing Defuns, so ignoring the issue seems fine for now. PiperOrigin-RevId: 258477786
Configuration menu - View commit details
-
Copy full SHA for 8c90819 - Browse repository at this point
Copy the full SHA 8c90819View commit details -
Tweaks to 1.x SavedModel loading with Defuns and custom ops
Fixes is-function checking and relaxes attribute lookups when a custom op isn't (properly?) registered with Python. PiperOrigin-RevId: 258480818
Configuration menu - View commit details
-
Copy full SHA for 9436de2 - Browse repository at this point
Copy the full SHA 9436de2View commit details -
[XLA] Mark div/rem by a constant as not-expensive.
Division by a constant compiles down to multiply and shift, and we consider those operations to be cheap. PiperOrigin-RevId: 258481139
Configuration menu - View commit details
-
Copy full SHA for ed75575 - Browse repository at this point
Copy the full SHA ed75575View commit details -
Significant number of changes to support the Keras v2 loops.
- changes v2 loop to use dataset iterator creator more in line with what we had been planning, so functions explicitly take iterators as inputs instead of functions that return iterators, and aren't excessively retraced. - separates out simplified train/test/predict_on_batch methods & extra utilities, for a cleaner separation between v1 & v2 code. This also allows better fallbacks, because run_distributed no longer has to force model._distribution_strategy to be set. E.g. the *_generator methods fall back correctly. - adds more fallbacks for now (e.g. Keras sequences, and cloning arg = true) - Changes the v2 _get_iterator_input_utility to work with multi io subclass models, including models where the input dataset contains dicts mapping input name to value. - Allows train_eager to work w/ skipped output indices. (fixes gru_test & lstm rewrite test). PiperOrigin-RevId: 258484595
Configuration menu - View commit details
-
Copy full SHA for b389d0b - Browse repository at this point
Copy the full SHA b389d0bView commit details -
PiperOrigin-RevId: 258486264
Configuration menu - View commit details
-
Copy full SHA for 3ec306b - Browse repository at this point
Copy the full SHA 3ec306bView commit details -
Support
ReverseSequence
in tflite mlir converter.PiperOrigin-RevId: 258489966
Configuration menu - View commit details
-
Copy full SHA for bc09fcd - Browse repository at this point
Copy the full SHA bc09fcdView commit details -
Switch to using ruy::DetectDotprod() for sdot instruction support
instead of the /proc/cpuinfo code we're using currently. PiperOrigin-RevId: 258491846
Configuration menu - View commit details
-
Copy full SHA for 70fd0a4 - Browse repository at this point
Copy the full SHA 70fd0a4View commit details -
Release python interpreter lock in TFE_TensorHandleToNumpy, since thi…
…s method may be blocked. PiperOrigin-RevId: 258497704
Configuration menu - View commit details
-
Copy full SHA for e25e18d - Browse repository at this point
Copy the full SHA e25e18dView commit details -
Unit tests should use file in temporary directory as config file for …
…CLIConfig PiperOrigin-RevId: 258503116
Configuration menu - View commit details
-
Copy full SHA for 9c20948 - Browse repository at this point
Copy the full SHA 9c20948View commit details -
Merge pull request tensorflow#30669 from Intel-tensorflow:lakshay-ut-…
…fix-selective_registration_header_test PiperOrigin-RevId: 258503791
Configuration menu - View commit details
-
Copy full SHA for 2a6c305 - Browse repository at this point
Copy the full SHA 2a6c305View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6c499f - Browse repository at this point
Copy the full SHA a6c499fView commit details -
compat: Update forward compatibility horizon to 2019-07-17
PiperOrigin-RevId: 258526294
Configuration menu - View commit details
-
Copy full SHA for f96275e - Browse repository at this point
Copy the full SHA f96275eView commit details -
Update GraphDef version to 99.
PiperOrigin-RevId: 258526302
Configuration menu - View commit details
-
Copy full SHA for bf3fa52 - Browse repository at this point
Copy the full SHA bf3fa52View commit details -
Removed the deprecated API from the File.
Amit Srivastava committedJul 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 047d4bf - Browse repository at this point
Copy the full SHA 047d4bfView commit details -
Removed the deprecated API from the File.
Amit Srivastava committedJul 17, 2019 Configuration menu - View commit details
-
Copy full SHA for c15b321 - Browse repository at this point
Copy the full SHA c15b321View commit details -
Removed the deprecated API from the File.
Amit Srivastava committedJul 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 6405015 - Browse repository at this point
Copy the full SHA 6405015View commit details -
Removed the deprecated API from the File.
Amit Srivastava committedJul 17, 2019 Configuration menu - View commit details
-
Copy full SHA for ecd9af0 - Browse repository at this point
Copy the full SHA ecd9af0View commit details -
PiperOrigin-RevId: 258533317
Configuration menu - View commit details
-
Copy full SHA for 229bc84 - Browse repository at this point
Copy the full SHA 229bc84View commit details -
Merge pull request tensorflow#29224 from houtoms:pr_fast_3dy_reduce
PiperOrigin-RevId: 258539769
Configuration menu - View commit details
-
Copy full SHA for c635270 - Browse repository at this point
Copy the full SHA c635270View commit details -
Add tests for transpose convolution with constant inputs
PiperOrigin-RevId: 258547874
Configuration menu - View commit details
-
Copy full SHA for 66e9e93 - Browse repository at this point
Copy the full SHA 66e9e93View commit details -
Fix a compilation error when defining "TFLITE_CUSTOM_OPS_HEADER" macro.
PiperOrigin-RevId: 258548017
Configuration menu - View commit details
-
Copy full SHA for c6948c4 - Browse repository at this point
Copy the full SHA c6948c4View commit details -
Merge pull request tensorflow#30739 from feihugis:Refactor_DatasetOps_9
PiperOrigin-RevId: 258562390
Configuration menu - View commit details
-
Copy full SHA for 4fd6623 - Browse repository at this point
Copy the full SHA 4fd6623View commit details -
PiperOrigin-RevId: 258563058
Configuration menu - View commit details
-
Copy full SHA for f0d6424 - Browse repository at this point
Copy the full SHA f0d6424View commit details -
Make LinearOperatorDiag tape safe. Also add a standard "check_tape_sa…
…fe" method in the base test class. PiperOrigin-RevId: 258570322
Configuration menu - View commit details
-
Copy full SHA for 9eabc5c - Browse repository at this point
Copy the full SHA 9eabc5cView commit details -
Avoid converting the old-style print statement, because it would othe…
…rwise generate a syntax error. PiperOrigin-RevId: 258575670
Configuration menu - View commit details
-
Copy full SHA for 617f101 - Browse repository at this point
Copy the full SHA 617f101View commit details -
Workaround for CI build problems with Arduino nightly
PiperOrigin-RevId: 258577336
Configuration menu - View commit details
-
Copy full SHA for 1c50e73 - Browse repository at this point
Copy the full SHA 1c50e73View commit details -
Add documentation for building/using the TensorFlow Lite AAR
PiperOrigin-RevId: 258578415
Configuration menu - View commit details
-
Copy full SHA for fce56a7 - Browse repository at this point
Copy the full SHA fce56a7View commit details -
Update GPU delegate documentation
The delegate is no longer experimental. PiperOrigin-RevId: 258578637
Configuration menu - View commit details
-
Copy full SHA for 5841e35 - Browse repository at this point
Copy the full SHA 5841e35View commit details -
Merge pull request tensorflow#29939 from terryky:fix_tflite_detect_po…
…stprocess PiperOrigin-RevId: 258579478
Configuration menu - View commit details
-
Copy full SHA for f34d571 - Browse repository at this point
Copy the full SHA f34d571View commit details -
Checks shape compatibility between
initial_value
andshape
in Res……ourceVariable's constructor. PiperOrigin-RevId: 258580730
Configuration menu - View commit details
-
Copy full SHA for cbb4561 - Browse repository at this point
Copy the full SHA cbb4561View commit details -
[XLA GPU] Factor out helper utils for FileCheck testing into gpu_code…
…gen_test PiperOrigin-RevId: 258581066
Configuration menu - View commit details
-
Copy full SHA for a9611e1 - Browse repository at this point
Copy the full SHA a9611e1View commit details -
Update keras v2 optimizers to reuse coefficients which are shared acr…
…oss all updates, which reduces the total number of ops created by between 5% (for simple optimizers such as SGD and Adagrad) and 25% (for complicated optimizers such as Adam and NAdam). Separate copies are made for each device and dtype. The effect of this change on run time is fairly minimal since Grappler is expected to consolidate most of these ops; however it does improve graph construction time. PiperOrigin-RevId: 258581998
Configuration menu - View commit details
-
Copy full SHA for 498df5d - Browse repository at this point
Copy the full SHA 498df5dView commit details -
Export LICENSE.TXT file. Update BUILD file.
PiperOrigin-RevId: 258582046
Configuration menu - View commit details
-
Copy full SHA for 5361b62 - Browse repository at this point
Copy the full SHA 5361b62View commit details -
Register GPU kernel for TensorListElementShape
PiperOrigin-RevId: 258582149
Configuration menu - View commit details
-
Copy full SHA for 7eb4f19 - Browse repository at this point
Copy the full SHA 7eb4f19View commit details -
Merge pull request tensorflow#30760 from yongtang:use_resource
PiperOrigin-RevId: 258582774
Configuration menu - View commit details
-
Copy full SHA for fc47b58 - Browse repository at this point
Copy the full SHA fc47b58View commit details -
PiperOrigin-RevId: 258583855
Configuration menu - View commit details
-
Copy full SHA for 109bad9 - Browse repository at this point
Copy the full SHA 109bad9View commit details -
Move IsLocal() into Device and return false only for RemoteDevice.
PiperOrigin-RevId: 258591071
Configuration menu - View commit details
-
Copy full SHA for e1f6d9e - Browse repository at this point
Copy the full SHA e1f6d9eView commit details -
Fix control dependencies in Keras distributed TPU loops.
PiperOrigin-RevId: 258596337
Configuration menu - View commit details
-
Copy full SHA for 30c1d66 - Browse repository at this point
Copy the full SHA 30c1d66View commit details -
Disable test_nonlocal_symbol unit test
PiperOrigin-RevId: 258596408
Configuration menu - View commit details
-
Copy full SHA for 75a0cbb - Browse repository at this point
Copy the full SHA 75a0cbbView commit details -
Update all the TPUStrategy examples to use the new v2 APIs, i.e.
make_dataset_iterator -> experimental_distribute_dataset, make_input_fn_iterator -> experimental_distribute_datasets_from_function, unwrap -> experimental_local_results, experimental_run -> experimental_run_v2 PiperOrigin-RevId: 258597234
Configuration menu - View commit details
-
Copy full SHA for eba2610 - Browse repository at this point
Copy the full SHA eba2610View commit details -
Enable roundtrip of all TF tests through MLIR using the with_mlir_sup…
…port flag. PiperOrigin-RevId: 258597426
Configuration menu - View commit details
-
Copy full SHA for ca146ef - Browse repository at this point
Copy the full SHA ca146efView commit details -
Merge pull request tensorflow#30053 from yongtang:30040-BinaryCrossEn…
…tropy PiperOrigin-RevId: 258598105
Configuration menu - View commit details
-
Copy full SHA for 11b3334 - Browse repository at this point
Copy the full SHA 11b3334View commit details -
Avoid copying a FunctionDef in CapturedFunction.
The recently added `FunctionLibraryDefinition::CopyFunctionDefFrom()` method performs a more efficient shallow copy. PiperOrigin-RevId: 258604819
Configuration menu - View commit details
-
Copy full SHA for 4499d73 - Browse repository at this point
Copy the full SHA 4499d73View commit details -
Improve micro_vision README to include detailed instructions for runn…
…ing on the Sparkfun Edge board with a camera. Add raw2bmp script to convert images from log file to viewable bitmaps. PiperOrigin-RevId: 258608334
Configuration menu - View commit details
-
Copy full SHA for 208ff88 - Browse repository at this point
Copy the full SHA 208ff88View commit details -
Remove no_windows tab for fixed flaky tests.
PiperOrigin-RevId: 258612058
Configuration menu - View commit details
-
Copy full SHA for e81526a - Browse repository at this point
Copy the full SHA e81526aView commit details -
Allow building of MLIR converter in OSS.
PiperOrigin-RevId: 258618714
Configuration menu - View commit details
-
Copy full SHA for 18b2f26 - Browse repository at this point
Copy the full SHA 18b2f26View commit details -
Have
model_to_estimator
make a V2 Estimator if TF2 is enabled.PiperOrigin-RevId: 258620905
Configuration menu - View commit details
-
Copy full SHA for 75e3f92 - Browse repository at this point
Copy the full SHA 75e3f92View commit details -
[ROCm] Fix for the broken
--config=rocm
buildThe following PR/commit breaks the `--config=rocm` build tensorflow#29224 It introduces a couple of GPU kernels which have CUDA specific data-structures + syntax, which leads to a compile failure on the ROCm platform. This PR fixes the ROCm build by converting the CUDA specific code to its equivalent GPU generic code.
Configuration menu - View commit details
-
Copy full SHA for f22d313 - Browse repository at this point
Copy the full SHA f22d313View commit details -
Allow specififying the nnapi accelerator in benchmark_model
Add a `--nnapi_accelerator_name` flag to benchmark_model, allowing explicit accelerator control on Android Q+. PiperOrigin-RevId: 258626781
Configuration menu - View commit details
-
Copy full SHA for d88b16b - Browse repository at this point
Copy the full SHA d88b16bView commit details -
Tweak build rules in lite/java
PiperOrigin-RevId: 258630122
Configuration menu - View commit details
-
Copy full SHA for 2bf47cb - Browse repository at this point
Copy the full SHA 2bf47cbView commit details -
Add interfaces to modify an HLO module after already being scheduled.
* Replace computation/parameter * Remove/replace scheduled computation/instruction PiperOrigin-RevId: 258633717
Configuration menu - View commit details
-
Copy full SHA for 544ada5 - Browse repository at this point
Copy the full SHA 544ada5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c60669 - Browse repository at this point
Copy the full SHA 7c60669View commit details -
Automated rollback of commit 7a2ce46
PiperOrigin-RevId: 258637728
Configuration menu - View commit details
-
Copy full SHA for ee5bf62 - Browse repository at this point
Copy the full SHA ee5bf62View commit details -
Disable the test_annotated_assign unit test because the annotation sy…
…ntax is only recognized by Python 3.6 or later PiperOrigin-RevId: 258638033
Configuration menu - View commit details
-
Copy full SHA for 3b1f369 - Browse repository at this point
Copy the full SHA 3b1f369View commit details -
Add mixed precision tests for Sequential/subclassed models.
I only added the "run_with_all_model_types" annotation to one test so that the tests don't take too long to run. PiperOrigin-RevId: 258640310
Configuration menu - View commit details
-
Copy full SHA for 054aabf - Browse repository at this point
Copy the full SHA 054aabfView commit details -
Automated rollback of commit 18b2f26
PiperOrigin-RevId: 258640781
Configuration menu - View commit details
-
Copy full SHA for 05cd037 - Browse repository at this point
Copy the full SHA 05cd037View commit details -
Delete broadcastable trait TensorFlow and TFLite tests
The trait is defined the MLIR core repository so tests should be there. PiperOrigin-RevId: 258645091
Configuration menu - View commit details
-
Copy full SHA for a34051c - Browse repository at this point
Copy the full SHA a34051cView commit details -
[Keras] Use math_ops.divide() instead of math_ops.div() in learning_r…
…ate_schedule.py. This prevents deprecation warnings when using the public API. PiperOrigin-RevId: 258645243
Configuration menu - View commit details
-
Copy full SHA for 7c9e906 - Browse repository at this point
Copy the full SHA 7c9e906View commit details -
Add basic support for float FusedConvBiasActivation in the tensorrt b…
…ridge. The side_input and conv_input_scale input tensors are not yet supported. PiperOrigin-RevId: 258646677
Configuration menu - View commit details
-
Copy full SHA for 7127bed - Browse repository at this point
Copy the full SHA 7127bedView commit details -
Add experimental implementation of cancelable eager function execution.
The experimental interface uses `cancellation.CancellationManager`: ```python c_mgr = cancellation.CancellationManager() @tf.function def f(?): ? cancelable_f = c_mgr.get_cancelable_function(f.get_concrete_function(?)) # Call a function that might run for a long time. cancelable_f(?) # Asynchronously: c_mgr.start_cancel() ``` A subsequent change will add a publicly-accessible (probably experimental) API endpoint for `CancellationManager`. PiperOrigin-RevId: 258648702
Configuration menu - View commit details
-
Copy full SHA for 27fe470 - Browse repository at this point
Copy the full SHA 27fe470View commit details -
Fixes some bugs in how the v2 loop handles batch callbacks when it ru…
…ns out of data. Also makes it always recreate the validation data iterator between epochs even if validation_steps has been set, to be consistent with the behavior of the existing training loops. PiperOrigin-RevId: 258652231
Configuration menu - View commit details
-
Copy full SHA for 604c05a - Browse repository at this point
Copy the full SHA 604c05aView commit details -
Don't distribute Keras models using cloning in Eager mode.
This behavior isn't going to be available with the `compile(cloning=...)` flag. The tests had to updated for this change for a few reasons: 1) Cloning and no-cloning supports different features, so the expected thrown exceptions are different. 2) TFOptimizer-wrapped optimizers don't work due to internal bug issue # 130808953. PiperOrigin-RevId: 258652546
Configuration menu - View commit details
-
Copy full SHA for 1129d27 - Browse repository at this point
Copy the full SHA 1129d27View commit details -
Do not infer steps per epoch when auto_sharding is enabled in multi_w…
…orker_mode. PiperOrigin-RevId: 258653457
Configuration menu - View commit details
-
Copy full SHA for b8c1c7d - Browse repository at this point
Copy the full SHA b8c1c7dView commit details -
Creating a MultiDeviceIteratorV2 op that parallels IteratorV2 op and …
…provides a python iterator style interface. Also handles deletion of MultiDeviceIteratorResources in the eager and function building contexts. PiperOrigin-RevId: 258655466
Configuration menu - View commit details
-
Copy full SHA for 5e7ee33 - Browse repository at this point
Copy the full SHA 5e7ee33View commit details -
Refactor PostprocessLiftedArgs to facilitate adding support for funct…
…ional If node. PiperOrigin-RevId: 258656476
Configuration menu - View commit details
-
Copy full SHA for 6ee2da3 - Browse repository at this point
Copy the full SHA 6ee2da3View commit details -
Multi threading SnapshotWriterIterator in a fashion similar to
SnapshotReaderIterator. This improves writing performance during compression by around 30x for some workloads. In order to get around the problem of figuring out when to write out the final snapshot metadata file in cases when we request exactly dataset size number of elements, we prefetch the next element in the SnapshotWriterIterator now. This way we know when we've got to the last element and then can write out the snapshot metadata file. PiperOrigin-RevId: 258661486
Configuration menu - View commit details
-
Copy full SHA for e9a4177 - Browse repository at this point
Copy the full SHA e9a4177View commit details -
Fix toco_python_api check for valid GraphDefInfo in Python 3.
PiperOrigin-RevId: 258662584
Configuration menu - View commit details
-
Copy full SHA for 11d2cb7 - Browse repository at this point
Copy the full SHA 11d2cb7View commit details -
Add API for checking whether v2 control flow is enabled.
PiperOrigin-RevId: 258665942
Configuration menu - View commit details
-
Copy full SHA for 2e236da - Browse repository at this point
Copy the full SHA 2e236daView commit details -
Resave deepdream notebook using colab
PiperOrigin-RevId: 258668572
Configuration menu - View commit details
-
Copy full SHA for f3aac2f - Browse repository at this point
Copy the full SHA f3aac2fView commit details
Commits on Jul 18, 2019
-
Improve integration of TPUClusterResolver with connect_to_cluster().
PiperOrigin-RevId: 258668832
Configuration menu - View commit details
-
Copy full SHA for a96a3e1 - Browse repository at this point
Copy the full SHA a96a3e1View commit details -
[XLA] Simplify cudnn convolution autotuning cache key.
PiperOrigin-RevId: 258669684
Configuration menu - View commit details
-
Copy full SHA for b7527a0 - Browse repository at this point
Copy the full SHA b7527a0View commit details -
Skip test if tensorflow std server could not be started.
PiperOrigin-RevId: 258671103
Configuration menu - View commit details
-
Copy full SHA for 74bd707 - Browse repository at this point
Copy the full SHA 74bd707View commit details -
[XLA] Validate fusion shape vs. the shape of the called computation
Input HLO can not contain fusions, but tests frequently do, and shapes are currently not validated. PiperOrigin-RevId: 258672652
Configuration menu - View commit details
-
Copy full SHA for 77c9e6d - Browse repository at this point
Copy the full SHA 77c9e6dView commit details -
Temporarily disable scoped_allocator_optimizer_test under TSAN.
PiperOrigin-RevId: 258677464
Configuration menu - View commit details
-
Copy full SHA for b1da621 - Browse repository at this point
Copy the full SHA b1da621View commit details -
Add explicit comment for ModifyGraphWithDelegate about delegate lifet…
…ime. PiperOrigin-RevId: 258678127
Configuration menu - View commit details
-
Copy full SHA for 83fadcf - Browse repository at this point
Copy the full SHA 83fadcfView commit details -
Handle zero batch case in BatchNorm only when 'experimental_enable_ge…
…t_next_as_optional' is set in strategy object. PiperOrigin-RevId: 258678778
Configuration menu - View commit details
-
Copy full SHA for 1d5b243 - Browse repository at this point
Copy the full SHA 1d5b243View commit details -
Filter Python 3.6+ test in the build file, since skipTest has no effect.
PiperOrigin-RevId: 258678914
Configuration menu - View commit details
-
Copy full SHA for 675d7db - Browse repository at this point
Copy the full SHA 675d7dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57fcf81 - Browse repository at this point
Copy the full SHA 57fcf81View commit details -
Update ops-related pbtxt files.
PiperOrigin-RevId: 258681226
Configuration menu - View commit details
-
Copy full SHA for 11a2f81 - Browse repository at this point
Copy the full SHA 11a2f81View commit details -
Add strided_slice np style to generate_zip tests.
PiperOrigin-RevId: 258685164
Configuration menu - View commit details
-
Copy full SHA for 3d11f06 - Browse repository at this point
Copy the full SHA 3d11f06View commit details -
Initial version of HLO translation tools.
Adds the initial version of tools to convert between HLO protos and the XLA dialect. Co-authored-by: Robert Suderman <[email protected]> Co-authored-by: Geoffrey Martin-Noble <[email protected]> Co-authored-by: River Riddle <[email protected]> Co-authored-by: Lei Zhang <[email protected]> Co-authored-by: Himabindu Pucha <[email protected]> PiperOrigin-RevId: 258691517
Configuration menu - View commit details
-
Copy full SHA for 4ad0cdb - Browse repository at this point
Copy the full SHA 4ad0cdbView commit details -
[TFLite] Defining the "FULL" LSTM op in TFLite dialect.
PiperOrigin-RevId: 258695158
Configuration menu - View commit details
-
Copy full SHA for 87ceafe - Browse repository at this point
Copy the full SHA 87ceafeView commit details -
Clarify parse_sequence_example and parse_single_sequence_example docu…
…mentation. PiperOrigin-RevId: 258710743
Configuration menu - View commit details
-
Copy full SHA for 9aaf74d - Browse repository at this point
Copy the full SHA 9aaf74dView commit details -
compat: Update forward compatibility horizon to 2019-07-18
PiperOrigin-RevId: 258728710
Configuration menu - View commit details
-
Copy full SHA for e2a9b73 - Browse repository at this point
Copy the full SHA e2a9b73View commit details -
Update GraphDef version to 100.
PiperOrigin-RevId: 258728712
Configuration menu - View commit details
-
Copy full SHA for 30731e5 - Browse repository at this point
Copy the full SHA 30731e5View commit details -
Add delegate support for QUANTIZE
PiperOrigin-RevId: 258730901
Configuration menu - View commit details
-
Copy full SHA for 0b3c5ea - Browse repository at this point
Copy the full SHA 0b3c5eaView commit details -
Merge pull request tensorflow#30692 from habernal:patch-1
PiperOrigin-RevId: 258760434
Configuration menu - View commit details
-
Copy full SHA for 408da25 - Browse repository at this point
Copy the full SHA 408da25View commit details -
Workaround for MSVC 14.0 limitation related to template alias.
PiperOrigin-RevId: 258768670
Configuration menu - View commit details
-
Copy full SHA for ded6600 - Browse repository at this point
Copy the full SHA ded6600View commit details -
Merge pull request tensorflow#30765 from yegle:patch-1
PiperOrigin-RevId: 258772618
Configuration menu - View commit details
-
Copy full SHA for 7f3b732 - Browse repository at this point
Copy the full SHA 7f3b732View commit details -
Whitelist additional built-in modules, and alphabetize the list.
PiperOrigin-RevId: 258772826
Configuration menu - View commit details
-
Copy full SHA for 5a9f981 - Browse repository at this point
Copy the full SHA 5a9f981View commit details -
Copybara fix for proto2 namespace in object detection stage
PiperOrigin-RevId: 258777340
Configuration menu - View commit details
-
Copy full SHA for 664df1d - Browse repository at this point
Copy the full SHA 664df1dView commit details -
Added benchmarks for scalar caching in eager mode
PiperOrigin-RevId: 258778004
Configuration menu - View commit details
-
Copy full SHA for 3794c88 - Browse repository at this point
Copy the full SHA 3794c88View commit details -
Avoid hard-coded device assignment.
PiperOrigin-RevId: 258780092
Configuration menu - View commit details
-
Copy full SHA for ad2fef8 - Browse repository at this point
Copy the full SHA ad2fef8View commit details -
Merge pull request tensorflow#30796 from amitsrivastava78:fix_dep
PiperOrigin-RevId: 258782351
Configuration menu - View commit details
-
Copy full SHA for 39b4fa4 - Browse repository at this point
Copy the full SHA 39b4fa4View commit details -
Ruy: Fix asm instruction syntax
PiperOrigin-RevId: 258786233
Configuration menu - View commit details
-
Copy full SHA for 670f337 - Browse repository at this point
Copy the full SHA 670f337View commit details -
[Grappler] Update GenericLayoutOptimizer layout selection.
PiperOrigin-RevId: 258787030
Configuration menu - View commit details
-
Copy full SHA for f917d99 - Browse repository at this point
Copy the full SHA f917d99View commit details -
Minor cleanup for the placer_inspection_required_ops_utils.
1. Format the debug string to have newline before print out the proto debug string. 2. Change the node generation ordering for output identity op. Now it will be in an increasing order. 3. Update the typo in the test. PiperOrigin-RevId: 258787166
Configuration menu - View commit details
-
Copy full SHA for 1a64887 - Browse repository at this point
Copy the full SHA 1a64887View commit details -
tensorflow::ConvertToEagerTensor now always produces a handle of the …
…requested dtype Prior to this change the conversion logic was duplicated between EagerTensor_init and ConvertToTensor in pywrap_tfe_src.cc PiperOrigin-RevId: 258787751
Configuration menu - View commit details
-
Copy full SHA for eec66ce - Browse repository at this point
Copy the full SHA eec66ceView commit details -
Add force_concurrent_kernels flag to device_tracer.
PiperOrigin-RevId: 258789651
Configuration menu - View commit details
-
Copy full SHA for e52c3d7 - Browse repository at this point
Copy the full SHA e52c3d7View commit details -
Add LRN op to TFLite MLIR Converter
PiperOrigin-RevId: 258790736
Configuration menu - View commit details
-
Copy full SHA for 00bba04 - Browse repository at this point
Copy the full SHA 00bba04View commit details -
Removing the init_scope from table initialization except for control …
…flow cases. Earlier we tried to remove it in all cases but that doesn't work because if we create a table in a control flow setting then we can't run the initializer outside anymore. Fixes tensorflow#29872 and tensorflow#27086. PiperOrigin-RevId: 258792706
Configuration menu - View commit details
-
Copy full SHA for f6e0ec4 - Browse repository at this point
Copy the full SHA f6e0ec4View commit details -
Better workaround for MSVC 14.0 limitation related to constexpr array.
PiperOrigin-RevId: 258793545
Configuration menu - View commit details
-
Copy full SHA for 6ab65bc - Browse repository at this point
Copy the full SHA 6ab65bcView commit details -
Workaround for MSVC 14.0 limitation related to constexpr array.
PiperOrigin-RevId: 258793613
Configuration menu - View commit details
-
Copy full SHA for 2e4bd31 - Browse repository at this point
Copy the full SHA 2e4bd31View commit details -
Define PLATFORM_WINDOWS when compiling XLA for windows. Tensorflow co…
…re headers require it. PiperOrigin-RevId: 258793968
Configuration menu - View commit details
-
Copy full SHA for 7aa6e38 - Browse repository at this point
Copy the full SHA 7aa6e38View commit details -
Ensure device_ == nullptr if it is the HostCPU
PiperOrigin-RevId: 258794419
Configuration menu - View commit details
-
Copy full SHA for 0cf942f - Browse repository at this point
Copy the full SHA 0cf942fView commit details -
Merge pull request tensorflow#30823 from ROCmSoftwarePlatform:google_…
…upstream_rocm_platform_fix_190717 PiperOrigin-RevId: 258800263
Configuration menu - View commit details
-
Copy full SHA for 4d89ba9 - Browse repository at this point
Copy the full SHA 4d89ba9View commit details -
Distribute blocking threads across requests using exponential distrib…
…ution PiperOrigin-RevId: 258802489
Configuration menu - View commit details
-
Copy full SHA for dec84ea - Browse repository at this point
Copy the full SHA dec84eaView commit details -
PiperOrigin-RevId: 258803932
Configuration menu - View commit details
-
Copy full SHA for 40a3c78 - Browse repository at this point
Copy the full SHA 40a3c78View commit details -
They are statistical tests for very low probability regions, which is not very practically useful. PiperOrigin-RevId: 258804299
Configuration menu - View commit details
-
Copy full SHA for 624b7ef - Browse repository at this point
Copy the full SHA 624b7efView commit details -
Use a regular dictionary instead of an object-identity dictionary whe…
…n printing node names (object-identity was left over from when regular objects were keys) Object-identity dictionaries and Python integers don't mix except for the few that get interned. PiperOrigin-RevId: 258805861
Configuration menu - View commit details
-
Copy full SHA for 45a7a5d - Browse repository at this point
Copy the full SHA 45a7a5dView commit details -
PiperOrigin-RevId: 258805890
Configuration menu - View commit details
-
Copy full SHA for 237bd5d - Browse repository at this point
Copy the full SHA 237bd5dView commit details -
Use op type as JSON event name in Profiler
PiperOrigin-RevId: 258811490
Configuration menu - View commit details
-
Copy full SHA for e3062d1 - Browse repository at this point
Copy the full SHA e3062d1View commit details -
Merge pull request tensorflow#30824 from tensorflow:lamberta-patch-1
PiperOrigin-RevId: 258813026
Configuration menu - View commit details
-
Copy full SHA for 4f16da5 - Browse repository at this point
Copy the full SHA 4f16da5View commit details -
Automated rollback of commit 11b3334. Revert tensorflow#30053.
PiperOrigin-RevId: 258813889
Configuration menu - View commit details
-
Copy full SHA for e5cf807 - Browse repository at this point
Copy the full SHA e5cf807View commit details -
Merge pull request tensorflow#30611 from ROCmSoftwarePlatform:google_…
…upstream_rocm_update_190711 PiperOrigin-RevId: 258814126
Configuration menu - View commit details
-
Copy full SHA for a5780f6 - Browse repository at this point
Copy the full SHA a5780f6View commit details -
Merge pull request tensorflow#30500 from ROCmSoftwarePlatform:google_…
…upstream_skip_double_dtyp_subtests PiperOrigin-RevId: 258814196
Configuration menu - View commit details
-
Copy full SHA for f1b70ad - Browse repository at this point
Copy the full SHA f1b70adView commit details -
[XLA] Improve error message in HLO matchers.
Previously, mismatches in opcode or number of operands wasn't very informative because the error message didn't print out the HloInstruction string. For example, an opcode mismatch might have looked like previously: Value of: body_data_add Expected: subtract Actual: 0x7f58fe3e8c00 (of type xla::HloInstruction*) With this CL, it now looks like: Value of: body_data_add Expected: subtract Actual: 0x7efefd68ec00 (of type xla::HloInstruction*), (%add.1 = f32[2,3]{1,0:S(1)} add(f32[2,3]{1,0} %get-tuple-element.2, f32[2,3]{1,0} %constant.2)) PiperOrigin-RevId: 258814523
Configuration menu - View commit details
-
Copy full SHA for 943792d - Browse repository at this point
Copy the full SHA 943792dView commit details -
Fix all tests in
training_eager_test
for new codepath.PiperOrigin-RevId: 258814617
Configuration menu - View commit details
-
Copy full SHA for c4a5d20 - Browse repository at this point
Copy the full SHA c4a5d20View commit details -
Simplify backedges tracking in the MLIR graph importer (NFC)
We expect a merge to receive a single backedge (multiple NextIteration nodes feeding into the same merge is unexpected here). PiperOrigin-RevId: 258818847
Configuration menu - View commit details
-
Copy full SHA for ec47370 - Browse repository at this point
Copy the full SHA ec47370View commit details -
Merge pull request tensorflow#30724 from jbedorf:fix_30440
PiperOrigin-RevId: 258819909
Configuration menu - View commit details
-
Copy full SHA for 7dfc439 - Browse repository at this point
Copy the full SHA 7dfc439View commit details -
[tf.data] Fix forward compatibility issue in rebatch.cc
PiperOrigin-RevId: 258820315
Configuration menu - View commit details
-
Copy full SHA for fe44fdd - Browse repository at this point
Copy the full SHA fe44fddView commit details
Commits on Aug 15, 2019
-
Temporary change: always link to MKL binary blob
Roman Dubtsov committedAug 15, 2019 Configuration menu - View commit details
-
Copy full SHA for fd71033 - Browse repository at this point
Copy the full SHA fd71033View commit details -
Disable inter_op manipulation with MKLDNN_TF_THREADING
Roman Dubtsov committedAug 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 8f0f0ce - Browse repository at this point
Copy the full SHA 8f0f0ceView commit details -
PoC for using MKL-DNN with TensorFlow thread pool
The .bazelrc updated: - TF threading is now default for MKL-DNN - linking with binary MKL is now disabled by default Limitations: - only a single session without inter-op parallelism is supported - XLA not covered
Roman Dubtsov committedAug 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 5ff63dc - Browse repository at this point
Copy the full SHA 5ff63dcView commit details