Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch 192771889 #18497

Merged
merged 110 commits into from Apr 13, 2018
Merged

Branch 192771889 #18497

merged 110 commits into from Apr 13, 2018

Commits on Apr 11, 2018

  1. Import FunctionDef as GrapplerFunctionItem

    Explicitly track function input arg expansion into Placeholders,
    and keep metadata to map between FunctionDef and GraphDef connectivity
    formats.
    
    PiperOrigin-RevId: 192462592
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    a9a3b98 View commit details
    Browse the repository at this point in the history
  2. Add a clear error message for when a doc does not have a title.

    PiperOrigin-RevId: 192463583
    MarkDaoust authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    08a12ca View commit details
    Browse the repository at this point in the history
  3. Add gradient in cond test to match CallGradInLoop.

    PiperOrigin-RevId: 192463997
    jpienaar authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    8f75385 View commit details
    Browse the repository at this point in the history
  4. Use tf.train.get_or_create_global_step() instead of deprecated variab…

    …les.get_or_create_global_step().
    
    PiperOrigin-RevId: 192476077
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    5757d09 View commit details
    Browse the repository at this point in the history
  5. Fix uninitialized value.

    PiperOrigin-RevId: 192479630
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    48b2bdc View commit details
    Browse the repository at this point in the history
  6. Disable prelu tests for real now.

    PiperOrigin-RevId: 192480452
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    2ea5c1e View commit details
    Browse the repository at this point in the history
  7. Script to create custom_ops inside a TensorFlow graphdef.

    PiperOrigin-RevId: 192481690
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    8b17a17 View commit details
    Browse the repository at this point in the history
  8. Update docs for softmax_cross_entropy_with_logits.

    PiperOrigin-RevId: 192482242
    adria-p authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    abc26c1 View commit details
    Browse the repository at this point in the history
  9. Increase size of tensorflow/contrib/data/python/kernel_tests:batch_da…

    …taset_op_test to "medium".
    
    PiperOrigin-RevId: 192484895
    mrry authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    5eccb5a View commit details
    Browse the repository at this point in the history
  10. Internal TF Lite test changes

    PiperOrigin-RevId: 192491201
    angerson authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    cc15251 View commit details
    Browse the repository at this point in the history
  11. Adding hp5y back.

    PiperOrigin-RevId: 192491335
    rohan100jain authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    d983832 View commit details
    Browse the repository at this point in the history
  12. Internal change.

    PiperOrigin-RevId: 192498471
    annarev authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    c5d59c6 View commit details
    Browse the repository at this point in the history
  13. DepthwiseConv Optimizations

    PiperOrigin-RevId: 192499401
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    371d513 View commit details
    Browse the repository at this point in the history
  14. When not necessary, avoid the creation of a `placeholder_with_default…

    …` in BN (not yet supported by TPU compilation).
    
    PiperOrigin-RevId: 192502020
    fchollet authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    744a5cc View commit details
    Browse the repository at this point in the history
  15. Factor out the syntactic function scope tracking into the transformer…

    …. Choosing not to do this at static analysis because it exposes the scope to any node, making it easier to use by any specialization of a transformer.
    
    PiperOrigin-RevId: 192502309
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    3fa224a View commit details
    Browse the repository at this point in the history
  16. Replace examples/image_retraining by a pointer to TensorFlow Hub.

    https://github.com/tensorflow/hub/tree/master/examples/image_retraining
    has the same tool, upgraded to use TensorFlow Hub instead of raw graph defs.
    
    PiperOrigin-RevId: 192502469
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    1a36eb1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    73aef57 View commit details
    Browse the repository at this point in the history
  18. Porting tests for the decode_proto and encode_proto to OS.

    PiperOrigin-RevId: 192504411
    jsimsa authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    1e283d6 View commit details
    Browse the repository at this point in the history
  19. BREAKING_CHANGE: Remove event_ndims in Bijector, and require `log_det…

    …_jacobian` methods to take event_ndims.
    
    The class level event_ndims parameter is being deprecated in favor of passing it in
    to the `log_det_jacobian` methods.
    
    Specific changes:
    
      - `log_det_jacobian` signatures are now `log_det_jacobian(input, event_ndims)`
    
      - Constructors no long have event_ndims passed in (e.g. Affine() vs. Affine(event_ndims=0)).
    
      - All bijectors must specify a subset of [forward_min_event_ndims, inverse_min_event_ndims]. This is the minimal dimensionality the bijector operates on, with it being "broadcasted" to any passed in event_ndims (e.g. Exp has forward_min_event_ndims = 0. That means it operates on scalars. However, we can use the bijector on any event_ndims > 0 (i.e. we've broadcasted the transformation to work on any amount of event_ndims > 0), and jacobian reduction will work in those cases.
    
    As a result of this change, all bijectors should "broadcast" (e.g. Sigmoid now works on any number of event_ndims).
    
    Other changes (internal and documentation):
      - Added clarifications on Jacobian Determinant vs. Jacobian Matrix.
      - Added clarifications on min_event_ndims, and what the jacobian reduction is over.
      - Changed caching of ildj to be keyed on event_ndims.
      - Several bug fixes to bugs unearthed while writing this code (e.g. transformed distribution shape computation being incorrect)
    
    PiperOrigin-RevId: 192504919
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    eed6828 View commit details
    Browse the repository at this point in the history
  20. Adds a nodedef_fn parameter to copy_op_handler, allowing customizatio…

    …n by mutating
    
    NodeDef before creating the copied operation.
    
    PiperOrigin-RevId: 192505209
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    e520167 View commit details
    Browse the repository at this point in the history
  21. Adding support for batch_to_space_nd op with crops.

    PiperOrigin-RevId: 192511036
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    21fb4ee View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d2690cf View commit details
    Browse the repository at this point in the history
  23. GCS Filesystem should not cache checkpoint file as we need to read th…

    …e updated checkpoints from the contents.
    
    PiperOrigin-RevId: 192517819
    Sourabh Bajaj authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    079d63d View commit details
    Browse the repository at this point in the history
  24. Fixes issue where name scope collisions could lead to an invalid vari…

    …able in the metagraph.
    
    PiperOrigin-RevId: 192518307
    alextp authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    4b08b66 View commit details
    Browse the repository at this point in the history
  25. Increase size of //tensorflow/python/kernel_tests:sets_test to "medium".

    PiperOrigin-RevId: 192519639
    mrry authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    f029631 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    9ce7791 View commit details
    Browse the repository at this point in the history
  27. Adding support of core feature columns and losses to gradient boosted…

    … trees estimators.
    
    PiperOrigin-RevId: 192521398
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    acad702 View commit details
    Browse the repository at this point in the history
  28. support profiling multiple tpu through one grpc and one session.

    data are saved with host prefix.
    
    PiperOrigin-RevId: 192523668
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    d6e2513 View commit details
    Browse the repository at this point in the history
  29. Speed up computing mean confidence intervals by avoiding tf.while_loop.

    Implement a vectorized way to compute the same thing instead.
    
    PiperOrigin-RevId: 192524667
    tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    e7cfede View commit details
    Browse the repository at this point in the history
  30. Move callback into bound function to avoid copying.

    PiperOrigin-RevId: 192530231
    mrry authored and tensorflower-gardener committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    2b94b44 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2018

  1. boosted_trees: make sure ensemble deserialization happens for the non…

    …-TRAIN modes too.
    
    PiperOrigin-RevId: 192532297
    yk5 authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    3734bb6 View commit details
    Browse the repository at this point in the history
  2. Update ops-related pbtxt files.

    PiperOrigin-RevId: 192534931
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    81a9cea View commit details
    Browse the repository at this point in the history
  3. Automated g4 rollback of changelist 192516190

    PiperOrigin-RevId: 192536085
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    d62a5a1 View commit details
    Browse the repository at this point in the history
  4. Internal testing changes

    PiperOrigin-RevId: 192537874
    angerson authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    1a721ec View commit details
    Browse the repository at this point in the history
  5. Add tf.contrib.stateless.stateless_multinomial().

    This is a starting point for Dataset-compatible weighted sampling across a list of datasets.
    
    PiperOrigin-RevId: 192540412
    mrry authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    70d9935 View commit details
    Browse the repository at this point in the history
  6. In model_to_estimator, only run get_weights when there are initialize…

    …d Keras variables(which assumes there exists a session). Otherwise create a session so that we can run get_config().
    
    Actually fix #18193.
    
    PiperOrigin-RevId: 192541442
    yifeif authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    58029d1 View commit details
    Browse the repository at this point in the history
  7. Increase size of //tensorflow/python/kernel_tests:linalg_ops_test to …

    …"medium".
    
    PiperOrigin-RevId: 192542956
    mrry authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    ff6c110 View commit details
    Browse the repository at this point in the history
  8. [XLA] Redesign: test sharding.

    Also set the sharding to the instruction when created from proto.
    
    PiperOrigin-RevId: 192543024
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    4e29ebd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b52b5a4 View commit details
    Browse the repository at this point in the history
  10. [XLA] Redesign: fix GetComputationGraphStats.

    CreateFromProto requires that the config has proper entry_computation_layout, so give the config the program shape.
    
    PiperOrigin-RevId: 192546316
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    e7e01ac View commit details
    Browse the repository at this point in the history
  11. Update ops-related pbtxt files.

    PiperOrigin-RevId: 192546579
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    6f67893 View commit details
    Browse the repository at this point in the history
  12. Go: Update generated wrapper functions for TensorFlow ops.

    PiperOrigin-RevId: 192548367
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    6c9f882 View commit details
    Browse the repository at this point in the history
  13. Enable a reduce window test case.

    PiperOrigin-RevId: 192548652
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    9026254 View commit details
    Browse the repository at this point in the history
  14. Add closure_js_proto_library build for tf.example protos.

    PiperOrigin-RevId: 192549109
    jameswex authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    5b0cb6c View commit details
    Browse the repository at this point in the history
  15. Fix description of DynamicUpdateSlice.

    PiperOrigin-RevId: 192550101
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    ac9be81 View commit details
    Browse the repository at this point in the history
  16. Enable an r2 reduce window test case.

    PiperOrigin-RevId: 192560111
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    96aba78 View commit details
    Browse the repository at this point in the history
  17. Make DType, TensorShape, and Dimension "reducable" for pickling purpo…

    …ses.
    
    PiperOrigin-RevId: 192591402
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    e688642 View commit details
    Browse the repository at this point in the history
  18. Special-case the name scoping for operator methods. TensorFlow disall…

    …ows top-level name scopes to begin with underscores. Also use the transformer scope information to get to the enclosing function name.
    
    PiperOrigin-RevId: 192600256
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    cf542ae View commit details
    Browse the repository at this point in the history
  19. Updating tests containing graphs with Variables so that they Evaluate…

    … the original and optimized graphs and check if the outputs are same.
    
    PiperOrigin-RevId: 192616402
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    b0978aa View commit details
    Browse the repository at this point in the history
  20. Fixing dependencies.

    PiperOrigin-RevId: 192624191
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    cbea753 View commit details
    Browse the repository at this point in the history
  21. Collective Ops Part 3

    BaseCollectiveExecutor and RingReducer.
    
    This change is part of a series of changes introducing infrastructure
    for collective ops and initial implementations of reduction and broadcast.
    
    PiperOrigin-RevId: 192624521
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    8a24797 View commit details
    Browse the repository at this point in the history
  22. Introduced tool to run an HLO module in replicated fashion, by infeed…

    …ing random data and outfeeding the data generated at each step.
    
    The arguments of the computation can be either read from the session module, or randomly generated.
    The tool uses the raw transfer manager API to infeed and outfeed the data.
    
    PiperOrigin-RevId: 192628605
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    ffbf77d View commit details
    Browse the repository at this point in the history
  23. [TF] Add TensorListPushBackBatch.

    Also modify code to ensure aliased forwarding happens whenever
    possible with DT_VARIANT objects in ResourceVariables and in the new op.
    
    PiperOrigin-RevId: 192632202
    ebrevdo authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    844b8ca View commit details
    Browse the repository at this point in the history
  24. Make default weights initializer in base_layers.Layer suitable for …

    …their dtype.
    
    PiperOrigin-RevId: 192634133
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    151c31c View commit details
    Browse the repository at this point in the history
  25. Fix shape inference for outside_compilation clusters that include cyc…

    …les.
    
    PiperOrigin-RevId: 192637289
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    dc2d1c2 View commit details
    Browse the repository at this point in the history
  26. Update ops-related pbtxt files.

    PiperOrigin-RevId: 192640621
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    4a405bc View commit details
    Browse the repository at this point in the history
  27. Fix lost dependency

    PiperOrigin-RevId: 192643127
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    3ebe39c View commit details
    Browse the repository at this point in the history
  28. Fixed error where no background audio samples were being used when te…

    …sting no-speech clips
    
    PiperOrigin-RevId: 192644704
    petewarden authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    024b037 View commit details
    Browse the repository at this point in the history
  29. Go: Update generated wrapper functions for TensorFlow ops.

    PiperOrigin-RevId: 192644946
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    10e6021 View commit details
    Browse the repository at this point in the history
  30. Construct Orthogonal kernels for 2d convolutions.

    PiperOrigin-RevId: 192645769
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    454a22a View commit details
    Browse the repository at this point in the history
  31. Add testCompileTimeConstantsInDefun in xla

    PiperOrigin-RevId: 192646199
    iganichev authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    583ee0e View commit details
    Browse the repository at this point in the history
  32. Start moving Checkpointable utilities toward core

    Doesn't add to the public API yet, just shifts code around. Changes:
      - A tiny bit of renaming (to avoid having _Checkpoint and Checkpoint in the same file)
      - Removed the garbage collection decorator from a few tests due to the uuid4() garbage issue (apparently core tests get run on Python 2.7.9?)
      - Renamed "Object" to "CheckpointableObject" in the proto, since core protos have Java bindings and apparently Java had something else in mind for the keyword "Object" :)
    but otherwise this is a pure move.
    
    After this CL I'll propose adding tf.train.Checkpoint to the API (currently tf.contrib.eager.Checkpoint), move the utilities that are still in contrib/eager to their own contrib directory (there will be a few more misc. utilities for inspecting checkpoints and managing dependencies), get tf.train.Saver to read object-based checkpoints for compatibility, and work on Model.save_weights/load_weights.
    
    PiperOrigin-RevId: 192646890
    allenlavoie authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    d1ee67c View commit details
    Browse the repository at this point in the history
  33. Add FunctionTest.testLayerInDefun

    PiperOrigin-RevId: 192647818
    iganichev authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    6d2316d View commit details
    Browse the repository at this point in the history
  34. Add softsign bijector.

    PiperOrigin-RevId: 192648596
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    6308e58 View commit details
    Browse the repository at this point in the history
  35. [XLA] Redesign: add XlaComputation::IsNull.

    PiperOrigin-RevId: 192649052
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    ecacd20 View commit details
    Browse the repository at this point in the history
  36. Restore dependency on estimator utils from model.

    PiperOrigin-RevId: 192651583
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    1a014c6 View commit details
    Browse the repository at this point in the history
  37. Fix comment of bucket_by_sequence_length about return type of

    element_length_func. Current code requires tf.int32 in order to compare with
    buckets_min which is int32.
    
    PiperOrigin-RevId: 192652917
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    f959065 View commit details
    Browse the repository at this point in the history
  38. Upgrade libjpeg-turbo

    NOTE: libjpeg-turbo 1.5.90 also exists, which adds AVX2 SIMD support. However
    it also comes with a CMake build rewrite and 35 micro-architecture specialized
    nasm files for x86_64 alone. We do not have the cycles to update jpeg.BUILD to
    incorporate those changes at this time. If anyone wants to try, please note
    we'd need predicates such as the following:
    
    config_setting(
        name = "haswell_opt",
        values = {
            "cpu": "haswell",  # First Intel chip with AVX2
            "compilation_mode": "opt",
        },
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "excavator_opt",
        values = {
            "cpu": "excavator",  # First AMD chip with AVX2
            "compilation_mode": "opt",
        },
        visibility = ["//visibility:public"],
    )
    
    PiperOrigin-RevId: 192655533
    jart authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    e40fec4 View commit details
    Browse the repository at this point in the history
  39. Separate out distribute dependency out of training, as it needs to be…

    … used in summary utils (which training depends on, thus causing circular dependency).
    
    PiperOrigin-RevId: 192656997
    guptapriya authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    64eb9b4 View commit details
    Browse the repository at this point in the history
  40. Fix build breakage on metagraph exporting when caching_device is set

    PiperOrigin-RevId: 192659701
    alextp authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    322580a View commit details
    Browse the repository at this point in the history
  41. Make new build target public.

    PiperOrigin-RevId: 192659759
    jameswex authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    111ee9b View commit details
    Browse the repository at this point in the history
  42. ResolveConstantReshape transformation and fix for ResolveConstantTran…

    …spose.
    
    PiperOrigin-RevId: 192670991
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    7c0172e View commit details
    Browse the repository at this point in the history
  43. K-FAC: Deprecate tf.contrib.kfac.

    As LayerCollections are required to instantiate KfacOptimizer and FisherEstimator, a deprecation warning is printed upon instantiating LayerCollection.
    
    PiperOrigin-RevId: 192671370
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    0161bb7 View commit details
    Browse the repository at this point in the history
  44. Check if the session has been deleted before releasing a callable.

    In some versions of Python, the Session._session field may be cleared
    (in `Session.__del__()`) before a callable that has a reference to
    that Session is deleted. Add a defensive check in the
    `Session._Callable.__del__()` method.
    
    PiperOrigin-RevId: 192679796
    mrry authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    fffbe5a View commit details
    Browse the repository at this point in the history
  45. [tf.data] Clean up //tensorflow/contrib/data/python/ops/BUILD.

    Create spearate targets for each submodule, so that each test can depend on
    the appropriate subset of Python files.
    
    PiperOrigin-RevId: 192679856
    mrry authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    d49cbc2 View commit details
    Browse the repository at this point in the history
  46. Added a utility to compute a topo ordering of a graph

    PiperOrigin-RevId: 192683166
    benoitsteiner authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    0195d6b View commit details
    Browse the repository at this point in the history
  47. Add support for RNN state array of type tf.identity.

    PiperOrigin-RevId: 192689747
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    cc108a7 View commit details
    Browse the repository at this point in the history
  48. Exposing tensorflow.contrib.proto in the pip package.

    PiperOrigin-RevId: 192691078
    jsimsa authored and tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    dde6aaf View commit details
    Browse the repository at this point in the history
  49. Change assertions to use the tensor 'x' rather than 'x.op.name'. This…

    … enables eager execution in validate_args=True contexts.
    
    PiperOrigin-RevId: 192693458
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    9908cb1 View commit details
    Browse the repository at this point in the history
  50. Propagate sharding of the source instruction to the copies added by l…

    …ayout assignment.
    
    PiperOrigin-RevId: 192693972
    tensorflower-gardener committed Apr 12, 2018
    Configuration menu
    Copy the full SHA
    5d442be View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2018

  1. [XLA:GPU] Pass all four args to custom-call convs when they're created.

    A custom-call-conv should have four arguments: lhs, rhs, algorithm, and
    use-tensor-cores.  CudnnAlgorithmPicker did the right thing, and that
    path is exercised 99% of the time.  But CudnnAlgorithmPicker can fail,
    and if it does, we're stuck with whatever we had before.  What we had
    before only had three of the four args, which is bad.
    
    In addition to fixing it, added an e2e test that catches the bug.
    
    PiperOrigin-RevId: 192694119
    Justin Lebar authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    5f7929b View commit details
    Browse the repository at this point in the history
  2. Document support for boolean values in tf.contrib.training.HParams.

    PiperOrigin-RevId: 192694244
    shoyer authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    59c828c View commit details
    Browse the repository at this point in the history
  3. Misc. small optimizations in Grappler and shape inference code.

    Impact on time per optimizer on inception graph:
    
    model_pruner:          590 ms -> 550 ms   (-7%)
    function_optimizer:    130 ms -> 130 ms   (-0%)
    constant_folding:     7600 ms -> 7550 ms  (-0.7%)
    arithmetic_optimizer: 1860 ms -> 1550 ms  (-20%)
    loop_optimizer:        320 ms -> 320 ms   (-0%)
    dependency_optimizer: 1300 ms -> 720 ms   (-45%)
    layout:               1400 ms -> 1400 ms  (-0%)
    memory_optimizer:     4200 ms -> 3540 ms  (-16%)
    PiperOrigin-RevId: 192694528
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    4d56813 View commit details
    Browse the repository at this point in the history
  4. Fix a typo in cross_tower_ops.

    PiperOrigin-RevId: 192694794
    Yuefeng Zhou authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    3755128 View commit details
    Browse the repository at this point in the history
  5. Move dummy AssertOp and CheckNumericsOp to //third_party/tensorflow/c…

    …ompiler/tf2xla/kernels.
    
    Enable type DT_STRING for AssertOp and ConstOp, in order to make dummy Assert compile with a const string (assert message) as its input.
    
    PiperOrigin-RevId: 192695938
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    fffd3ca View commit details
    Browse the repository at this point in the history
  6. Porting tests for rpc_op to OS.

    PiperOrigin-RevId: 192698931
    jsimsa authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    d42e4bd View commit details
    Browse the repository at this point in the history
  7. Print error msg in CUDATimer.Init() when CreateEvent() is not ok().

    PiperOrigin-RevId: 192699277
    protoget authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    457e8b3 View commit details
    Browse the repository at this point in the history
  8. Reintroducing support for constants as outputs of tf.data.map(). This…

    … fixes a regression introduced by cl/176147440.
    
    PiperOrigin-RevId: 192702279
    jsimsa authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    5a53c9b View commit details
    Browse the repository at this point in the history
  9. Adding autograph built-in function checker.

    PiperOrigin-RevId: 192703924
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    7d89bfc View commit details
    Browse the repository at this point in the history
  10. Convert GrapplerFunctionItem to (Specialized)FunctionDef.

    PiperOrigin-RevId: 192704808
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    93afca5 View commit details
    Browse the repository at this point in the history
  11. Avoid calling K.learning_phase() when not necessary in Dropout layer …

    …since it instantiates a placeholder_with_default, which is not supported by TPU compilation.
    
    PiperOrigin-RevId: 192705478
    fchollet authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    c4526e5 View commit details
    Browse the repository at this point in the history
  12. Enable efficient feeding of symbolic tensors to placeholders in the K…

    …eras backend.
    
    PiperOrigin-RevId: 192707345
    fchollet authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    5a6d5a1 View commit details
    Browse the repository at this point in the history
  13. Automated g4 rollback of changelist 192691078

    PiperOrigin-RevId: 192708480
    jsimsa authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    4f615ad View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3c98705 View commit details
    Browse the repository at this point in the history
  15. Automated g4 rollback of changelist 192504411

    PiperOrigin-RevId: 192711501
    jsimsa authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    3438c3f View commit details
    Browse the repository at this point in the history
  16. Automated g4 rollback of changelist 192698931

    PiperOrigin-RevId: 192718697
    jsimsa authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    1c88fac View commit details
    Browse the repository at this point in the history
  17. [XLA] Rename Interpreter{Executor,Platform} -> XlaInterpreter{Executo…

    …r,Platform}.
    
    These types live inside StreamExecutor's namespace, but they are
    specific to XLA.  Therefore they either shouldn't live in SE's namespace
    or should have "XLA" in the name.
    
    Moving them out of SE's namespace is ugly, because almost every type
    used inside of these headers then needs to be qualified.  So name-change
    it is.
    
    This patch was generated by a mechanical find/replace.
    
    PiperOrigin-RevId: 192724238
    Justin Lebar authored and tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    68f0f1a View commit details
    Browse the repository at this point in the history
  18. -- Add a new histogram/cdf computation method compatible with the TPU.

    -- Refactor utility functions into pruning_utils.py and add tests
    
    PiperOrigin-RevId: 192727737
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    73cc1d5 View commit details
    Browse the repository at this point in the history
  19. Implementation of Less

    PiperOrigin-RevId: 192728635
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    1b0c277 View commit details
    Browse the repository at this point in the history
  20. Fix bug in converted_call, and add tests for it.

    PiperOrigin-RevId: 192751211
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    bb80410 View commit details
    Browse the repository at this point in the history
  21. Update for upstream LLVM *.def -> *.inc rename

    PiperOrigin-RevId: 192752798
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    b520022 View commit details
    Browse the repository at this point in the history
  22. - Fixed small bug in example script

    PiperOrigin-RevId: 192756152
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    345414c View commit details
    Browse the repository at this point in the history
  23. Keep function doc string at the top of the function.

    PiperOrigin-RevId: 192761604
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    bb8fcd5 View commit details
    Browse the repository at this point in the history
  24. Demo: RNN colorbot with Estimators.

    PiperOrigin-RevId: 192765203
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    8c47ec3 View commit details
    Browse the repository at this point in the history
  25. Split byte_order.h off cpu_info.h

    PiperOrigin-RevId: 192768744
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    3eb4e4f View commit details
    Browse the repository at this point in the history
  26. Automated g4 rollback of changelist 192768744

    PiperOrigin-RevId: 192770717
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    f9de043 View commit details
    Browse the repository at this point in the history
  27. Add support to TFLite for dilated convolution.

    PiperOrigin-RevId: 192770919
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    91c3199 View commit details
    Browse the repository at this point in the history
  28. Refactor to remove the duplicate calls to obtain a function's namespa…

    …ce. This removes the need to explicitly import internal components (barring the tf module which cannot be imported directly).
    
    PiperOrigin-RevId: 192771440
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    17aa70e View commit details
    Browse the repository at this point in the history
  29. Experiment with pre-shuffled fully-connected weights

    PiperOrigin-RevId: 192771889
    tensorflower-gardener committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    554c587 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    a194572 View commit details
    Browse the repository at this point in the history