Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

WIP: TF threading #5

Open
wants to merge 10,000 commits into
base: master
Choose a base branch
from
Open

WIP: TF threading #5

wants to merge 10,000 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 15, 2019

  1. [Grappler] Generalize Squeeze and Reduce op transformations in Generi…

    …cLayoutOptimizer.
    
    PiperOrigin-RevId: 258198838
    andyly authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    129b5d5 View commit details
    Browse the repository at this point in the history
  2. tensor tracer: minor change in flush function.

    PiperOrigin-RevId: 258198866
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    4145835 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1303776 View commit details
    Browse the repository at this point in the history
  4. Add support for Python 3 type-annotated assign. Fixes tensorflow#28849.

    PiperOrigin-RevId: 258199464
    Dan Moldovan authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    d3dd072 View commit details
    Browse the repository at this point in the history
  5. Do not accumulate loop invariants in while_v2.

    PiperOrigin-RevId: 258199946
    saxenasaurabh authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    b5358aa View commit details
    Browse the repository at this point in the history
  6. 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
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    e5e6eef View commit details
    Browse the repository at this point in the history
  7. Create zeros of correct type when building default gradient for resou…

    …rces.
    
    PiperOrigin-RevId: 258201156
    saxenasaurabh authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    c8aef18 View commit details
    Browse the repository at this point in the history
  8. Handle shape inference for "outside compilation to outside compilatio…

    …n data edge" for If/While nodes as well.
    
    PiperOrigin-RevId: 258205803
    er91 authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    efafe1b View commit details
    Browse the repository at this point in the history
  9. 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
    dubey authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    1c68152 View commit details
    Browse the repository at this point in the history
  10. Adds run_eagerly option for bert.

    PiperOrigin-RevId: 258208153
    saberkun authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    37f51da View commit details
    Browse the repository at this point in the history
  11. [tf.data] Include "(Experimental)ParseExampleDataset" as a passthroug…

    …h op for rebatching.
    
    PiperOrigin-RevId: 258211187
    Rachel Lim authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    fc91d10 View commit details
    Browse the repository at this point in the history
  12. Use declarative rewrite pattern for Gather(V2) legalization

    PiperOrigin-RevId: 258216008
    antiagainst authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    1a16c72 View commit details
    Browse the repository at this point in the history
  13. 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
    reedwm authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    d158fbb View commit details
    Browse the repository at this point in the history
  14. Merge pull request tensorflow#30718 from tensorflow:master-numpy

    PiperOrigin-RevId: 258222061
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    2f67bf7 View commit details
    Browse the repository at this point in the history
  15. Merge pull request tensorflow#30603 from tensorflow:release_1.14.0

    PiperOrigin-RevId: 258225869
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    9e577ba View commit details
    Browse the repository at this point in the history
  16. 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
    qlzh727 authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    031b2d3 View commit details
    Browse the repository at this point in the history
  17. 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
    smit-hinsu authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    f314ebf View commit details
    Browse the repository at this point in the history
  18. Clif wraps the TPU topology proto target to enable use in clif files.

    PiperOrigin-RevId: 258233713
    sudroy authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    49c3f30 View commit details
    Browse the repository at this point in the history
  19. Update Eigen to commit 049af2f56331.

    This update fixes few TensorChipping and TensorSlicing regressions.
    
    PiperOrigin-RevId: 258238409
    ezhulenev authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    79e6d26 View commit details
    Browse the repository at this point in the history
  20. Renamed enum from cc3-apache2 to cc-apache.

    PiperOrigin-RevId: 258239245
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    294bf90 View commit details
    Browse the repository at this point in the history
  21. Disable failing msan and asan tests until fix is landed.

    PiperOrigin-RevId: 258242570
    bmzhao authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    ba6a221 View commit details
    Browse the repository at this point in the history
  22. Merge pull request tensorflow#30586 from siju-samuel:lite_deprecated_…

    …tfrun_removal
    
    PiperOrigin-RevId: 258244067
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    5c6ff74 View commit details
    Browse the repository at this point in the history
  23. 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
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    7a2ce46 View commit details
    Browse the repository at this point in the history
  24. Refactor OptimizeDatasetOp

    feihugis committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    e313f0b View commit details
    Browse the repository at this point in the history
  25. Automated rollback of commit acab6a2

    PiperOrigin-RevId: 258246018
    allenlavoie authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    68e2db3 View commit details
    Browse the repository at this point in the history
  26. Add --quantize_to_float16 flag to tflite_convert

    Note that this must always be used in conjunction with
    `--post_training_quantize` to have any effect in conversion.
    
    PiperOrigin-RevId: 258246075
    jdduke authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    deee3e1 View commit details
    Browse the repository at this point in the history
  27. TFLite GPU Delegate: Introduce stretch_time operation options.

    PiperOrigin-RevId: 258246204
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    c154473 View commit details
    Browse the repository at this point in the history
  28. Merge pull request tensorflow#30663 from yongtang:07122019-window-doc…

    …string
    
    PiperOrigin-RevId: 258248081
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    e2678e0 View commit details
    Browse the repository at this point in the history
  29. 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
    allenlavoie authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    3d67dfd View commit details
    Browse the repository at this point in the history
  30. 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
    yifeif authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    75bd293 View commit details
    Browse the repository at this point in the history
  31. tensor tracer: moving the tf.case that determines the file to flush i…

    …nto the outside_compilation region.
    
    PiperOrigin-RevId: 258254009
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    7c33772 View commit details
    Browse the repository at this point in the history
  32. Metal: 'Add' operation supports scalar.

    PiperOrigin-RevId: 258254040
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    b4f8423 View commit details
    Browse the repository at this point in the history
  33. 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
    mrry authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    00d3da0 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    2beeba1 View commit details
    Browse the repository at this point in the history
  35. Minor changes to TFLiteConverter 2.0 documentation.

    PiperOrigin-RevId: 258256417
    Nupur Garg authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    1330566 View commit details
    Browse the repository at this point in the history
  36. 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
    rohan100jain authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    6168525 View commit details
    Browse the repository at this point in the history
  37. Changing test size for topk_op_test_xla_gpu.

    PiperOrigin-RevId: 258261110
    bmzhao authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    35c45b7 View commit details
    Browse the repository at this point in the history
  38. Make ReachableFunctionLibraryDefinition deterministic in its output b…

    …y replacing absl::flat_hash_set with std::set.
    
    PiperOrigin-RevId: 258261287
    tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    550e573 View commit details
    Browse the repository at this point in the history
  39. [XLA] Expose HloInstruction::CreateBitcast method.

    PiperOrigin-RevId: 258263420
    cheshire authored and tensorflower-gardener committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    cdeeac9 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    3e1b203 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2019

  1. Configuration menu
    Copy the full SHA
    d0914dc View commit details
    Browse the repository at this point in the history
  2. [XLA] Use device sync instead of stream sync for gemm autotuning.

    PiperOrigin-RevId: 258264512
    timshen91 authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    d49fe96 View commit details
    Browse the repository at this point in the history
  3. 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
    qlzh727 authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    59217f5 View commit details
    Browse the repository at this point in the history
  4. [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
    cheshire authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    0ea905b View commit details
    Browse the repository at this point in the history
  5. Add gemmlowp label for SquaredDifference and Sum ops

    PiperOrigin-RevId: 258267779
    karimnosseir authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    cdc1338 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0b24888 View commit details
    Browse the repository at this point in the history
  7. [tf.data] Fix check for iterator initialization.

    Fixes: tensorflow#29989
    PiperOrigin-RevId: 258269050
    jsimsa authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    51d1f48 View commit details
    Browse the repository at this point in the history
  8. Metal: Concat unit test.

    PiperOrigin-RevId: 258271243
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    2010ed0 View commit details
    Browse the repository at this point in the history
  9. Add Unique Op to MLIR converter.

    PiperOrigin-RevId: 258271679
    karimnosseir authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    bb797ba View commit details
    Browse the repository at this point in the history
  10. 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
    k-w-w authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    0ca245e View commit details
    Browse the repository at this point in the history
  11. Update ops-related pbtxt files.

    PiperOrigin-RevId: 258275394
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    2803367 View commit details
    Browse the repository at this point in the history
  12. In DatasetSpec constructor, convert dataset_shape to a shape.

    PiperOrigin-RevId: 258275543
    edloper authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    814cce5 View commit details
    Browse the repository at this point in the history
  13. Merge pull request tensorflow#30625 from Intel-tensorflow:nhasabni/ad…

    …d_mkldnnv0.20
    
    PiperOrigin-RevId: 258277683
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    f34fe51 View commit details
    Browse the repository at this point in the history
  14. Build visibility for friends

    PiperOrigin-RevId: 258284211
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    b645595 View commit details
    Browse the repository at this point in the history
  15. 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
    mrry authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    b3d4737 View commit details
    Browse the repository at this point in the history
  16. [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
    mrry authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    c1f7f64 View commit details
    Browse the repository at this point in the history
  17. Add Bool support in transpose op.

    PiperOrigin-RevId: 258304540
    haozha111 authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    b51a1b2 View commit details
    Browse the repository at this point in the history
  18. Refactor MapDefunOp

    feihugis committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    283e298 View commit details
    Browse the repository at this point in the history
  19. Add tests for MapDefunOp

    feihugis committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    53b3cab View commit details
    Browse the repository at this point in the history
  20. 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
    liufengdb authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    4cb9707 View commit details
    Browse the repository at this point in the history
  21. Fix for tf.function in v1 control flow.

    PiperOrigin-RevId: 258313758
    saxenasaurabh authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    2a182a8 View commit details
    Browse the repository at this point in the history
  22. Make it flexible to choose the actual TFLite op resolver in the bench…

    …mark tool.
    
    PiperOrigin-RevId: 258317482
    multiverse-tf authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    49cd273 View commit details
    Browse the repository at this point in the history
  23. Update GraphDef version to 98.

    PiperOrigin-RevId: 258324381
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    cd1960a View commit details
    Browse the repository at this point in the history
  24. compat: Update forward compatibility horizon to 2019-07-16

    PiperOrigin-RevId: 258324385
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    205e143 View commit details
    Browse the repository at this point in the history
  25. 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
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    17343b2 View commit details
    Browse the repository at this point in the history
  26. Merge pull request tensorflow#30613 from ROCmSoftwarePlatform:google_…

    …upstream_avgpooling_op_part_two
    
    PiperOrigin-RevId: 258349112
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    69fdaa0 View commit details
    Browse the repository at this point in the history
  27. Merge pull request tensorflow#30614 from ROCmSoftwarePlatform:google_…

    …upstream_einsum_op
    
    PiperOrigin-RevId: 258349270
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    104a469 View commit details
    Browse the repository at this point in the history
  28. [XLA:GPU] Skip multi-output fusion in IsProducerConsumerMultiOutputFu…

    …sible().
    
    PiperOrigin-RevId: 258349333
    pifon2a authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    e1f2843 View commit details
    Browse the repository at this point in the history
  29. Merge pull request tensorflow#30618 from ROCmSoftwarePlatform:google_…

    …upstream_stateful_random_ops
    
    PiperOrigin-RevId: 258349360
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    66b97d2 View commit details
    Browse the repository at this point in the history
  30. 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
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    2ba24e8 View commit details
    Browse the repository at this point in the history
  31. 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
    tamaranorman authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    b542d67 View commit details
    Browse the repository at this point in the history
  32. 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]>
    yongtang committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    c6c731d View commit details
    Browse the repository at this point in the history
  33. Configure LLVMDialect and extract pointer size.

    PiperOrigin-RevId: 258361644
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    7e8efb0 View commit details
    Browse the repository at this point in the history
  34. Merge pull request tensorflow#30704 from siju-samuel:depr_removed_con…

    …trib_gan_examples
    
    PiperOrigin-RevId: 258371737
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    f2df2c2 View commit details
    Browse the repository at this point in the history
  35. 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
    bjacob authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    8c1064d View commit details
    Browse the repository at this point in the history
  36. Merge pull request tensorflow#30683 from RonLek:tf.Print_render

    PiperOrigin-RevId: 258373033
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    021eb7a View commit details
    Browse the repository at this point in the history
  37. 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
    aaudiber authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    06d0ca4 View commit details
    Browse the repository at this point in the history
  38. 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
    superbobry authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    729c1df View commit details
    Browse the repository at this point in the history
  39. Add note to benchmark tool on NNAPI restrictions on /data/local/tmp/ …

    …on some Android P devices.
    
    PiperOrigin-RevId: 258378187
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    307abb3 View commit details
    Browse the repository at this point in the history
  40. Compatibility compile fix

    PiperOrigin-RevId: 258380926
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    d223302 View commit details
    Browse the repository at this point in the history
  41. [tf.data] Reflect cl/256436076 in tf.data rewrites.

    PiperOrigin-RevId: 258385606
    jsimsa authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    369a047 View commit details
    Browse the repository at this point in the history
  42. Fix UBSan error in test that was testing unrealistic accumulation depth

    50001.
    
    PiperOrigin-RevId: 258389320
    bjacob authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    6841ac2 View commit details
    Browse the repository at this point in the history
  43. Tags some tests.

    PiperOrigin-RevId: 258389587
    alextp authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    e0e7272 View commit details
    Browse the repository at this point in the history
  44. Make sum_regularizer robust against None.

    PiperOrigin-RevId: 258391933
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    738615c View commit details
    Browse the repository at this point in the history
  45. Merge pull request tensorflow#30681 from BBQuercus:patch-2

    PiperOrigin-RevId: 258392805
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    781535f View commit details
    Browse the repository at this point in the history
  46. Updating scatter semantics to include an invariant.

    PiperOrigin-RevId: 258393073
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    a4c01b2 View commit details
    Browse the repository at this point in the history
  47. 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
    liufengdb authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    c99a2b7 View commit details
    Browse the repository at this point in the history
  48. Add the missing comma

    A missing comma in a list of string means the string "Rank" and "ShapeN" will be concatenated implicitly.
    yegle authored Jul 16, 2019
    Configuration menu
    Copy the full SHA
    5a0c6ee View commit details
    Browse the repository at this point in the history
  49. Add support for freezing non-lowered While ops in 2.0.

    PiperOrigin-RevId: 258395114
    Nupur Garg authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    dc72738 View commit details
    Browse the repository at this point in the history
  50. Update docs of MultiWorkerMirroredStrategy (and some related docs in …

    …base class)
    
    PiperOrigin-RevId: 258399687
    guptapriya authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    31cc24f View commit details
    Browse the repository at this point in the history
  51. [tf.data] Re-enables forward compatibility test.

    PiperOrigin-RevId: 258404510
    jsimsa authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    2bb4f00 View commit details
    Browse the repository at this point in the history
  52. 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
    Akshay Modi authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    da3a241 View commit details
    Browse the repository at this point in the history
  53. Mark input and output shapes attribute as deprecated in TRTEngineOp

    PiperOrigin-RevId: 258412619
    smit-hinsu authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    09f7d53 View commit details
    Browse the repository at this point in the history
  54. Automated rollback of commit dbd23da

    PiperOrigin-RevId: 258413874
    andyly authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    26d27c5 View commit details
    Browse the repository at this point in the history
  55. 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
    langmore authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    5819055 View commit details
    Browse the repository at this point in the history
  56. Do not force PartitionedCall DT_RESOURCE outputs to be on CPU device

    PiperOrigin-RevId: 258422018
    ezhulenev authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    f0fd2be View commit details
    Browse the repository at this point in the history
  57. [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
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    dc9814a View commit details
    Browse the repository at this point in the history
  58. 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
    bjacob authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    ee131bf View commit details
    Browse the repository at this point in the history
  59. 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
    yifeif authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    584a64f View commit details
    Browse the repository at this point in the history
  60. 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
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    db78382 View commit details
    Browse the repository at this point in the history
  61. Improve cross entropy docs to mention why a user should consider from…

    …_logits.
    
    PiperOrigin-RevId: 258432123
    pavithrasv authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    42b5da6 View commit details
    Browse the repository at this point in the history
  62. 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
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    502e5e6 View commit details
    Browse the repository at this point in the history
  63. [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
    yunxing authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    a07965c View commit details
    Browse the repository at this point in the history
  64. Automated rollback of commit 104a469. Revert tensorflow#30614.

    PiperOrigin-RevId: 258438229
    yifeif authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    7d18392 View commit details
    Browse the repository at this point in the history
  65. Fix for scaling when default loss reduction is not specified.

    PiperOrigin-RevId: 258438818
    pavithrasv authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    179b388 View commit details
    Browse the repository at this point in the history
  66. Fix import of SavedModels which use Defun

    We weren't properly handling the op-type-is-function-name calling convention.
    
    PiperOrigin-RevId: 258441889
    allenlavoie authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    41b0cfa View commit details
    Browse the repository at this point in the history
  67. Automated rollback of commit 0d2891d

    PiperOrigin-RevId: 258445832
    aaudiber authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    9dd35dc View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    02433bb View commit details
    Browse the repository at this point in the history
  69. Pfor: make unsorted_segment_sum converter safe for int64 types.

    PiperOrigin-RevId: 258450422
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    ec0b5d1 View commit details
    Browse the repository at this point in the history
  70. 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
    tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    9133bcb View commit details
    Browse the repository at this point in the history
  71. 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
    iganichev authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    d38a8fe View commit details
    Browse the repository at this point in the history
  72. Do not force DT_RESOURCE return node to be on the source node device

    PiperOrigin-RevId: 258454960
    ezhulenev authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    ca7acec View commit details
    Browse the repository at this point in the history
  73. Pass attributes when lowering functional If/While.

    PiperOrigin-RevId: 258460978
    er91 authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    c51eb49 View commit details
    Browse the repository at this point in the history
  74. 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
    reedwm authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    c7504db View commit details
    Browse the repository at this point in the history
  75. Add GatherNd operator into tflite mlir converter.

    PiperOrigin-RevId: 258463148
    haozha111 authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    e22197f View commit details
    Browse the repository at this point in the history
  76. Remove DeviceMgr from Device

    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
    jaingaurav authored and tensorflower-gardener committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    10387fc View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. 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
    aaroey authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    174c241 View commit details
    Browse the repository at this point in the history
  2. Adding missing argument to tflite_plugin_create_delegate ctypes decla…

    …ration.
    
    PiperOrigin-RevId: 258469750
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    74df7ef View commit details
    Browse the repository at this point in the history
  3. Internal change

    PiperOrigin-RevId: 258470701
    blakehechtman authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    579a5c9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request tensorflow#30170 from DavidNorman:allow-disable-do…

    …t-to-multiply
    
    PiperOrigin-RevId: 258472358
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    7c93af2 View commit details
    Browse the repository at this point in the history
  5. Compatibility compile fix

    PiperOrigin-RevId: 258472796
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    41730b8 View commit details
    Browse the repository at this point in the history
  6. 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
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    65db228 View commit details
    Browse the repository at this point in the history
  7. [XLA]Fix remat test.

    PiperOrigin-RevId: 258473579
    yunxing authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    5893331 View commit details
    Browse the repository at this point in the history
  8. Do not import contrib.cloud if it is not available.

    Hopefully Fixes tensorflow#29617
    
    PiperOrigin-RevId: 258473584
    gunan authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    ed62ac8 View commit details
    Browse the repository at this point in the history
  9. [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
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    edd1f81 View commit details
    Browse the repository at this point in the history
  10. [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
    Justin Lebar authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    6dc36df View commit details
    Browse the repository at this point in the history
  11. Fix a Hub export test

    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
    allenlavoie authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    8c90819 View commit details
    Browse the repository at this point in the history
  12. 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
    allenlavoie authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    9436de2 View commit details
    Browse the repository at this point in the history
  13. [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
    Justin Lebar authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    ed75575 View commit details
    Browse the repository at this point in the history
  14. 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
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    b389d0b View commit details
    Browse the repository at this point in the history
  15. Quash a -Wshadow-ivar trigger

    PiperOrigin-RevId: 258486264
    bbarenblat authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    3ec306b View commit details
    Browse the repository at this point in the history
  16. Support ReverseSequence in tflite mlir converter.

    PiperOrigin-RevId: 258489966
    haozha111 authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    bc09fcd View commit details
    Browse the repository at this point in the history
  17. Switch to using ruy::DetectDotprod() for sdot instruction support

    instead of the /proc/cpuinfo code we're using currently.
    
    PiperOrigin-RevId: 258491846
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    70fd0a4 View commit details
    Browse the repository at this point in the history
  18. Release python interpreter lock in TFE_TensorHandleToNumpy, since thi…

    …s method may be blocked.
    
    PiperOrigin-RevId: 258497704
    qqfish authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    e25e18d View commit details
    Browse the repository at this point in the history
  19. Unit tests should use file in temporary directory as config file for …

    …CLIConfig
    
    PiperOrigin-RevId: 258503116
    lindong28 authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    9c20948 View commit details
    Browse the repository at this point in the history
  20. Merge pull request tensorflow#30669 from Intel-tensorflow:lakshay-ut-…

    …fix-selective_registration_header_test
    
    PiperOrigin-RevId: 258503791
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    2a6c305 View commit details
    Browse the repository at this point in the history
  21. Simplify for consistency

    habernal authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    a6c499f View commit details
    Browse the repository at this point in the history
  22. compat: Update forward compatibility horizon to 2019-07-17

    PiperOrigin-RevId: 258526294
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    f96275e View commit details
    Browse the repository at this point in the history
  23. Update GraphDef version to 99.

    PiperOrigin-RevId: 258526302
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    bf3fa52 View commit details
    Browse the repository at this point in the history
  24. Removed the deprecated API from the File.

    Amit Srivastava committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    047d4bf View commit details
    Browse the repository at this point in the history
  25. Removed the deprecated API from the File.

    Amit Srivastava committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    c15b321 View commit details
    Browse the repository at this point in the history
  26. Removed the deprecated API from the File.

    Amit Srivastava committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    6405015 View commit details
    Browse the repository at this point in the history
  27. Removed the deprecated API from the File.

    Amit Srivastava committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    ecd9af0 View commit details
    Browse the repository at this point in the history
  28. Update MLIR revision.

    PiperOrigin-RevId: 258533317
    chsigg authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    229bc84 View commit details
    Browse the repository at this point in the history
  29. Merge pull request tensorflow#29224 from houtoms:pr_fast_3dy_reduce

    PiperOrigin-RevId: 258539769
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    c635270 View commit details
    Browse the repository at this point in the history
  30. Add tests for transpose convolution with constant inputs

    PiperOrigin-RevId: 258547874
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    66e9e93 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    c6948c4 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    4fd6623 View commit details
    Browse the repository at this point in the history
  33. Add int16 support to Quant.

    PiperOrigin-RevId: 258563058
    jianlijianli authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    f0d6424 View commit details
    Browse the repository at this point in the history
  34. Make LinearOperatorDiag tape safe. Also add a standard "check_tape_sa…

    …fe" method in the base test class.
    
    PiperOrigin-RevId: 258570322
    langmore authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    9eabc5c View commit details
    Browse the repository at this point in the history
  35. Avoid converting the old-style print statement, because it would othe…

    …rwise generate a syntax error.
    
    PiperOrigin-RevId: 258575670
    Dan Moldovan authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    617f101 View commit details
    Browse the repository at this point in the history
  36. Workaround for CI build problems with Arduino nightly

    PiperOrigin-RevId: 258577336
    petewarden authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    1c50e73 View commit details
    Browse the repository at this point in the history
  37. Add documentation for building/using the TensorFlow Lite AAR

    PiperOrigin-RevId: 258578415
    jdduke authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    fce56a7 View commit details
    Browse the repository at this point in the history
  38. Update GPU delegate documentation

    The delegate is no longer experimental.
    
    PiperOrigin-RevId: 258578637
    jdduke authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    5841e35 View commit details
    Browse the repository at this point in the history
  39. Merge pull request tensorflow#29939 from terryky:fix_tflite_detect_po…

    …stprocess
    
    PiperOrigin-RevId: 258579478
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    f34d571 View commit details
    Browse the repository at this point in the history
  40. Checks shape compatibility between initial_value and shape in Res…

    …ourceVariable's constructor.
    
    PiperOrigin-RevId: 258580730
    wangpengmit authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    cbb4561 View commit details
    Browse the repository at this point in the history
  41. [XLA GPU] Factor out helper utils for FileCheck testing into gpu_code…

    …gen_test
    
    PiperOrigin-RevId: 258581066
    cheshire authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    a9611e1 View commit details
    Browse the repository at this point in the history
  42. 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
    Taylor Robie authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    498df5d View commit details
    Browse the repository at this point in the history
  43. Export LICENSE.TXT file. Update BUILD file.

    PiperOrigin-RevId: 258582046
    Prakalp Srivastava authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    5361b62 View commit details
    Browse the repository at this point in the history
  44. Register GPU kernel for TensorListElementShape

    PiperOrigin-RevId: 258582149
    ezhulenev authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    7eb4f19 View commit details
    Browse the repository at this point in the history
  45. Merge pull request tensorflow#30760 from yongtang:use_resource

    PiperOrigin-RevId: 258582774
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    fc47b58 View commit details
    Browse the repository at this point in the history
  46. Add tests for TensorSpec.name

    PiperOrigin-RevId: 258583855
    edloper authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    109bad9 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    e1f6d9e View commit details
    Browse the repository at this point in the history
  48. Fix control dependencies in Keras distributed TPU loops.

    PiperOrigin-RevId: 258596337
    chr1sj0nes authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    30c1d66 View commit details
    Browse the repository at this point in the history
  49. Disable test_nonlocal_symbol unit test

    PiperOrigin-RevId: 258596408
    lindong28 authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    75a0cbb View commit details
    Browse the repository at this point in the history
  50. 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
    rxsang authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    eba2610 View commit details
    Browse the repository at this point in the history
  51. Enable roundtrip of all TF tests through MLIR using the with_mlir_sup…

    …port flag.
    
    PiperOrigin-RevId: 258597426
    Prakalp Srivastava authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    ca146ef View commit details
    Browse the repository at this point in the history
  52. Merge pull request tensorflow#30053 from yongtang:30040-BinaryCrossEn…

    …tropy
    
    PiperOrigin-RevId: 258598105
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    11b3334 View commit details
    Browse the repository at this point in the history
  53. Avoid copying a FunctionDef in CapturedFunction.

    The recently added `FunctionLibraryDefinition::CopyFunctionDefFrom()` method performs a more efficient shallow copy.
    
    PiperOrigin-RevId: 258604819
    mrry authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    4499d73 View commit details
    Browse the repository at this point in the history
  54. 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
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    208ff88 View commit details
    Browse the repository at this point in the history
  55. Remove no_windows tab for fixed flaky tests.

    PiperOrigin-RevId: 258612058
    Yuefeng Zhou authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    e81526a View commit details
    Browse the repository at this point in the history
  56. Allow building of MLIR converter in OSS.

    PiperOrigin-RevId: 258618714
    aselle authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    18b2f26 View commit details
    Browse the repository at this point in the history
  57. Have model_to_estimator make a V2 Estimator if TF2 is enabled.

    PiperOrigin-RevId: 258620905
    omalleyt12 authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    75e3f92 View commit details
    Browse the repository at this point in the history
  58. [ROCm] Fix for the broken --config=rocm build

    The 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.
    deven-amd committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    f22d313 View commit details
    Browse the repository at this point in the history
  59. 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
    jdduke authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    d88b16b View commit details
    Browse the repository at this point in the history
  60. Tweak build rules in lite/java

    PiperOrigin-RevId: 258630122
    jdduke authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    2bf47cb View commit details
    Browse the repository at this point in the history
  61. Add interfaces to modify an HLO module after already being scheduled.

    * Replace computation/parameter
    * Remove/replace scheduled computation/instruction
    
    PiperOrigin-RevId: 258633717
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    544ada5 View commit details
    Browse the repository at this point in the history
  62. Remove dead link.

    lamberta authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    7c60669 View commit details
    Browse the repository at this point in the history
  63. Automated rollback of commit 7a2ce46

    PiperOrigin-RevId: 258637728
    lindong28 authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    ee5bf62 View commit details
    Browse the repository at this point in the history
  64. Disable the test_annotated_assign unit test because the annotation sy…

    …ntax is only recognized by Python 3.6 or later
    
    PiperOrigin-RevId: 258638033
    lindong28 authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    3b1f369 View commit details
    Browse the repository at this point in the history
  65. 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
    reedwm authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    054aabf View commit details
    Browse the repository at this point in the history
  66. Automated rollback of commit 18b2f26

    PiperOrigin-RevId: 258640781
    fdxmw authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    05cd037 View commit details
    Browse the repository at this point in the history
  67. Delete broadcastable trait TensorFlow and TFLite tests

    The trait is defined the MLIR core repository so tests should be there.
    
    PiperOrigin-RevId: 258645091
    smit-hinsu authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    a34051c View commit details
    Browse the repository at this point in the history
  68. [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
    mrry authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    7c9e906 View commit details
    Browse the repository at this point in the history
  69. 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
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    7127bed View commit details
    Browse the repository at this point in the history
  70. 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
    mrry authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    27fe470 View commit details
    Browse the repository at this point in the history
  71. 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
    tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    604c05a View commit details
    Browse the repository at this point in the history
  72. 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
    isaprykin authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    1129d27 View commit details
    Browse the repository at this point in the history
  73. Do not infer steps per epoch when auto_sharding is enabled in multi_w…

    …orker_mode.
    
    PiperOrigin-RevId: 258653457
    Yuefeng Zhou authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    b8c1c7d View commit details
    Browse the repository at this point in the history
  74. 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
    rohan100jain authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    5e7ee33 View commit details
    Browse the repository at this point in the history
  75. Refactor PostprocessLiftedArgs to facilitate adding support for funct…

    …ional If node.
    
    PiperOrigin-RevId: 258656476
    gmagogsfm authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    6ee2da3 View commit details
    Browse the repository at this point in the history
  76. 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
    rohan100jain authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    e9a4177 View commit details
    Browse the repository at this point in the history
  77. Fix toco_python_api check for valid GraphDefInfo in Python 3.

    PiperOrigin-RevId: 258662584
    Nupur Garg authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    11d2cb7 View commit details
    Browse the repository at this point in the history
  78. Add API for checking whether v2 control flow is enabled.

    PiperOrigin-RevId: 258665942
    saxenasaurabh authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    2e236da View commit details
    Browse the repository at this point in the history
  79. Resave deepdream notebook using colab

    PiperOrigin-RevId: 258668572
    MarkDaoust authored and tensorflower-gardener committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    f3aac2f View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. Improve integration of TPUClusterResolver with connect_to_cluster().

    PiperOrigin-RevId: 258668832
    Revan Sopher authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    a96a3e1 View commit details
    Browse the repository at this point in the history
  2. [XLA] Simplify cudnn convolution autotuning cache key.

    PiperOrigin-RevId: 258669684
    timshen91 authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    b7527a0 View commit details
    Browse the repository at this point in the history
  3. Skip test if tensorflow std server could not be started.

    PiperOrigin-RevId: 258671103
    Yuefeng Zhou authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    74bd707 View commit details
    Browse the repository at this point in the history
  4. [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
    cheshire authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    77c9e6d View commit details
    Browse the repository at this point in the history
  5. Temporarily disable scoped_allocator_optimizer_test under TSAN.

    PiperOrigin-RevId: 258677464
    dubey authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    b1da621 View commit details
    Browse the repository at this point in the history
  6. Add explicit comment for ModifyGraphWithDelegate about delegate lifet…

    …ime.
    
    PiperOrigin-RevId: 258678127
    karimnosseir authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    83fadcf View commit details
    Browse the repository at this point in the history
  7. Handle zero batch case in BatchNorm only when 'experimental_enable_ge…

    …t_next_as_optional' is set in strategy object.
    
    PiperOrigin-RevId: 258678778
    rxsang authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    1d5b243 View commit details
    Browse the repository at this point in the history
  8. Filter Python 3.6+ test in the build file, since skipTest has no effect.

    PiperOrigin-RevId: 258678914
    Dan Moldovan authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    675d7db View commit details
    Browse the repository at this point in the history
  9. Remove Eager Profiler

    PiperOrigin-RevId: 258680164
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    57fcf81 View commit details
    Browse the repository at this point in the history
  10. Update ops-related pbtxt files.

    PiperOrigin-RevId: 258681226
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    11a2f81 View commit details
    Browse the repository at this point in the history
  11. Add strided_slice np style to generate_zip tests.

    PiperOrigin-RevId: 258685164
    renjie-liu authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    3d11f06 View commit details
    Browse the repository at this point in the history
  12. 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
    6 people authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    4ad0cdb View commit details
    Browse the repository at this point in the history
  13. [TFLite] Defining the "FULL" LSTM op in TFLite dialect.

    PiperOrigin-RevId: 258695158
    ashwinmurthy authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    87ceafe View commit details
    Browse the repository at this point in the history
  14. Clarify parse_sequence_example and parse_single_sequence_example docu…

    …mentation.
    
    PiperOrigin-RevId: 258710743
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    9aaf74d View commit details
    Browse the repository at this point in the history
  15. compat: Update forward compatibility horizon to 2019-07-18

    PiperOrigin-RevId: 258728710
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    e2a9b73 View commit details
    Browse the repository at this point in the history
  16. Update GraphDef version to 100.

    PiperOrigin-RevId: 258728712
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    30731e5 View commit details
    Browse the repository at this point in the history
  17. Add delegate support for QUANTIZE

    PiperOrigin-RevId: 258730901
    galarragas authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    0b3c5ea View commit details
    Browse the repository at this point in the history
  18. Merge pull request tensorflow#30692 from habernal:patch-1

    PiperOrigin-RevId: 258760434
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    408da25 View commit details
    Browse the repository at this point in the history
  19. Workaround for MSVC 14.0 limitation related to template alias.

    PiperOrigin-RevId: 258768670
    chsigg authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ded6600 View commit details
    Browse the repository at this point in the history
  20. Merge pull request tensorflow#30765 from yegle:patch-1

    PiperOrigin-RevId: 258772618
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    7f3b732 View commit details
    Browse the repository at this point in the history
  21. Whitelist additional built-in modules, and alphabetize the list.

    PiperOrigin-RevId: 258772826
    Dan Moldovan authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    5a9f981 View commit details
    Browse the repository at this point in the history
  22. Copybara fix for proto2 namespace in object detection stage

    PiperOrigin-RevId: 258777340
    srjoglekar246 authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    664df1d View commit details
    Browse the repository at this point in the history
  23. Added benchmarks for scalar caching in eager mode

    PiperOrigin-RevId: 258778004
    superbobry authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    3794c88 View commit details
    Browse the repository at this point in the history
  24. Avoid hard-coded device assignment.

    PiperOrigin-RevId: 258780092
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ad2fef8 View commit details
    Browse the repository at this point in the history
  25. Merge pull request tensorflow#30796 from amitsrivastava78:fix_dep

    PiperOrigin-RevId: 258782351
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    39b4fa4 View commit details
    Browse the repository at this point in the history
  26. Ruy: Fix asm instruction syntax

    PiperOrigin-RevId: 258786233
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    670f337 View commit details
    Browse the repository at this point in the history
  27. [Grappler] Update GenericLayoutOptimizer layout selection.

    PiperOrigin-RevId: 258787030
    andyly authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    f917d99 View commit details
    Browse the repository at this point in the history
  28. 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
    qlzh727 authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    1a64887 View commit details
    Browse the repository at this point in the history
  29. 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
    superbobry authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    eec66ce View commit details
    Browse the repository at this point in the history
  30. Add force_concurrent_kernels flag to device_tracer.

    PiperOrigin-RevId: 258789651
    Andiry authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    e52c3d7 View commit details
    Browse the repository at this point in the history
  31. Add LRN op to TFLite MLIR Converter

    PiperOrigin-RevId: 258790736
    karimnosseir authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    00bba04 View commit details
    Browse the repository at this point in the history
  32. 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
    rohan100jain authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    f6e0ec4 View commit details
    Browse the repository at this point in the history
  33. Better workaround for MSVC 14.0 limitation related to constexpr array.

    PiperOrigin-RevId: 258793545
    chsigg authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    6ab65bc View commit details
    Browse the repository at this point in the history
  34. Workaround for MSVC 14.0 limitation related to constexpr array.

    PiperOrigin-RevId: 258793613
    chsigg authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    2e4bd31 View commit details
    Browse the repository at this point in the history
  35. Define PLATFORM_WINDOWS when compiling XLA for windows. Tensorflow co…

    …re headers require it.
    
    PiperOrigin-RevId: 258793968
    chsigg authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    7aa6e38 View commit details
    Browse the repository at this point in the history
  36. Ensure device_ == nullptr if it is the HostCPU

    PiperOrigin-RevId: 258794419
    jaingaurav authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    0cf942f View commit details
    Browse the repository at this point in the history
  37. Merge pull request tensorflow#30823 from ROCmSoftwarePlatform:google_…

    …upstream_rocm_platform_fix_190717
    
    PiperOrigin-RevId: 258800263
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    4d89ba9 View commit details
    Browse the repository at this point in the history
  38. Distribute blocking threads across requests using exponential distrib…

    …ution
    
    PiperOrigin-RevId: 258802489
    lindong28 authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    dec84ea View commit details
    Browse the repository at this point in the history
  39. Internal change

    PiperOrigin-RevId: 258803932
    Akshay Modi authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    40a3c78 View commit details
    Browse the repository at this point in the history
  40. [XLA] Skip two tests for XLA.

    They are statistical tests for very low probability regions, which is not very
    practically useful.
    
    PiperOrigin-RevId: 258804299
    bixia1 authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    624b7ef View commit details
    Browse the repository at this point in the history
  41. 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
    allenlavoie authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    45a7a5d View commit details
    Browse the repository at this point in the history
  42. Fix ordering of module names.

    PiperOrigin-RevId: 258805890
    Dan Moldovan authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    237bd5d View commit details
    Browse the repository at this point in the history
  43. Use op type as JSON event name in Profiler

    PiperOrigin-RevId: 258811490
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    e3062d1 View commit details
    Browse the repository at this point in the history
  44. Merge pull request tensorflow#30824 from tensorflow:lamberta-patch-1

    PiperOrigin-RevId: 258813026
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    4f16da5 View commit details
    Browse the repository at this point in the history
  45. Automated rollback of commit 11b3334. Revert tensorflow#30053.

    PiperOrigin-RevId: 258813889
    pavithrasv authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    e5cf807 View commit details
    Browse the repository at this point in the history
  46. Merge pull request tensorflow#30611 from ROCmSoftwarePlatform:google_…

    …upstream_rocm_update_190711
    
    PiperOrigin-RevId: 258814126
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    a5780f6 View commit details
    Browse the repository at this point in the history
  47. Merge pull request tensorflow#30500 from ROCmSoftwarePlatform:google_…

    …upstream_skip_double_dtyp_subtests
    
    PiperOrigin-RevId: 258814196
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    f1b70ad View commit details
    Browse the repository at this point in the history
  48. [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
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    943792d View commit details
    Browse the repository at this point in the history
  49. Fix all tests in training_eager_test for new codepath.

    PiperOrigin-RevId: 258814617
    omalleyt12 authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    c4a5d20 View commit details
    Browse the repository at this point in the history
  50. 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
    joker-eph authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ec47370 View commit details
    Browse the repository at this point in the history
  51. Merge pull request tensorflow#30724 from jbedorf:fix_30440

    PiperOrigin-RevId: 258819909
    tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    7dfc439 View commit details
    Browse the repository at this point in the history
  52. [tf.data] Fix forward compatibility issue in rebatch.cc

    PiperOrigin-RevId: 258820315
    Rachel Lim authored and tensorflower-gardener committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    fe44fdd View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2019

  1. Temporary change: always link to MKL binary blob

    Roman Dubtsov committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    fd71033 View commit details
    Browse the repository at this point in the history
  2. Disable inter_op manipulation with MKLDNN_TF_THREADING

    Roman Dubtsov committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    8f0f0ce View commit details
    Browse the repository at this point in the history
  3. 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 committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    5ff63dc View commit details
    Browse the repository at this point in the history