aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core
Commit message (Collapse)AuthorAge
...
* | | | Fix bug in Grappler constant folding: The logic detecting full reductions ↵Gravatar A. Unique TensorFlower2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was flawed. Added better test coverage. Also added a extra test for a related symbolic shape inference operation that I first suspected to be broken. PiperOrigin-RevId: 215812753
* | | | Add apidefs for the list ops.Gravatar Dan Moldovan2018-10-04
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215802845
* | | | Error out when PartitionedCall is created with the wrong number of arguments.Gravatar Alexandre Passos2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | (used to be a segfault) PiperOrigin-RevId: 215791737
* | | | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-10-04
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215791283
* | | | [tf.data] Add a notion of `captured args` to MapDefunGravatar Rachel Lim2018-10-04
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215788485
* | | | Remove obsolete TODO.Gravatar Paul Donnelly2018-10-04
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215780734
* | | | Add "encoding" attribute to string substr op, which controls how each ↵Gravatar A. Unique TensorFlower2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "character" is treated: * BYTE: Position & length refer to bytes in the string. (Default) * UTF8: The string is interpreted as UTF-8 encoded Unicode code points, and position & length are treated relative to them. RELNOTES: Add option to get substring using Unicode characters PiperOrigin-RevId: 215773373
* | | | Roll forward change "Skip control flow functionalization if there is no ↵Gravatar Tong Shen2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | Switch or Merge node.". PiperOrigin-RevId: 215772272
* | | | collective_param_resolver_local.cc: delete DCHECK(!ir->out_mu.try_lock()); ↵Gravatar A. Unique TensorFlower2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a lambda UNLOCK_FUNCTION(ir->out_mu) annotates that the lock is held on entry. try_lock() should not be called. PiperOrigin-RevId: 215769341
* | | | [tf.data] Fix C++ shape inference for `Dataset.concatenate()`.Gravatar Derek Murray2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we were returning an unknown shape in `Dataset::output_shapes()` for the "most specific compatible shape" between the two inputs. While this does not cause correctness problems (since the unknown shape *is* compatible), we gain the ability to raise errors earlier when more shape information is available. PiperOrigin-RevId: 215764530
* | | | Add ability to vectorize nodes that do not derive from function arguments. ↵Gravatar Rachel Lim2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | (This indirectly handles "Const" outputs automagically, since they are always unstacked.) PiperOrigin-RevId: 215749824
* | | | Gracefully disallow updating resource variables with invalid shapes.Gravatar Asim Shankar2018-10-04
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During graph construction, the shape function for AssignAddVariableOp etc. would raise an error when the value being "assign add"ed to the variable has an incompatible shape. With eager execution, no such validation was being made which triggerred an assertion failure in eigen: https://github.com/eigenteam/eigen-git-mirror/blob/7d97e1cbbe4424fda39e31c88def7c0863897640/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h#L479 This change prevents that assertion failure. PiperOrigin-RevId: 215749071
* | | [TF] Fail fast if there is no CPU kernel during constant tensor evaluation.Gravatar Peter Hawkins2018-10-04
| | | | | | | | | | | | | | | | | | Avoids LOG(ERROR) spam when the Executor is unable to find a CPU kernel. PiperOrigin-RevId: 215738481
* | | [tf.data] Fix bug in `tf.data.experimental.unbatch()`.Gravatar Derek Murray2018-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if the rank of the input to this transformation was statically unknown, we would erroneously report that the output is a scalar, and violate downstream shape integrity checks. Instead, in that case the output shape should be unknown. PiperOrigin-RevId: 215683027
* | | PinToHostOptimizer: Refactored code. Update blacklist. Added recursive ↵Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | | | | | | | lookback for Identity op. This fixes many performance regressions. PiperOrigin-RevId: 215662393
* | | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215617800
* | | Enable collective graph key test for GPU builds.Gravatar Ayush Dubey2018-10-03
| | | | | | | | | | | | | | | | | | | | | In the process, properly place nodes on devices in the collective graph key test. PiperOrigin-RevId: 215616146
* | | [data-stats] Sets user given `tag` and `counter_prefix` with ↵Gravatar Shivani Agrawal2018-10-03
| | | | | | | | | | | | | | | | | | | | | | | | `set_stats_aggregator`. `tag` would get prep-end with all the statistics recorded as summary and `counter_prefix` would set the prefix for the statistics recorded as counter. Note: `counter` defaults to `\tensorflow`, and `tag` and `prefix` gets associated with the dataset (not the stats_aggregator). PiperOrigin-RevId: 215609159
* | | Change hierarchical_tree_broadcaster_test from small to medium.Gravatar Todd Wang2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215607769
* | | Automated rollback of commit c9bdd3938e2b43334a0065b4c198ec9d491c8cb8Gravatar Derek Murray2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215607038
* | | [tf.data] Add utility to deduplicate graph node names (after vectorization)Gravatar Rachel Lim2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215595078
* | | Add a new GetRunFilesDir function to Env.Gravatar Gunhan Gulsoy2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215590440
* | | Fix bug in shape function for transpose: If the rank of the input is unknown ↵Gravatar A. Unique TensorFlower2018-10-03
| | | | | | | | | | | | | | | | | | and the rank derived from the permutation array is 0 or 1, the shape is ambiguous and cannot be determined at graph construction time. In this case, forward the shape of the input. PiperOrigin-RevId: 215583050
* | | [tf.data] Switch background threads to use `BackgroundWorker`.Gravatar Derek Murray2018-10-03
| | | | | | | | | | | | PiperOrigin-RevId: 215579950
* | | Merge pull request #22493 from Intel-tensorflow:cuixiaom_disable_MKLGravatar TensorFlower Gardener2018-10-03
|\ \ \ | | | | | | | | | | | | PiperOrigin-RevId: 215560522
* | | | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215501709
* | | | Set shape for output tensors of cond_v2.Gravatar Saurabh Saxena2018-10-02
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215492782
* | | | Update ops-related pbtxt files.Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215448397
* | | | Support shape_invariants in while_v2. Note that this arg is temporary and ↵Gravatar Saurabh Saxena2018-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | may be replaced by automatic shape inference in TF 2.0 (or before). Add a output_shapes attr to While op to allow output shapes to be different from the incoming loop_vars. PiperOrigin-RevId: 215446737
* | | | Export endpoint for the version of the `regex_replace` function that calls ↵Gravatar A. Unique TensorFlower2018-10-02
| | | | | | | | | | | | | | | | | | | | | | | | StaticRegexReplace. PiperOrigin-RevId: 215371291
* | | | Check that IsValid{Input|Output}Tensor is only given non-control edgesGravatar Sanjoy Das2018-10-01
| | | | | | | | | | | | | | | | PiperOrigin-RevId: 215338658
* | | | [tf.data] Adding `tf.data.Options()`, `tf.data.Dataset.options()`, and ↵Gravatar Jiri Simsa2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | `tf.data.Dataset.with_options()` to make it possible to respectively represent, get, and set options, such as optimization configuration, of a tf.data input pipeline. PiperOrigin-RevId: 215310764
* | | | [tf.data] More robust solution for input pipeline <--> performance model ↵Gravatar Jiri Simsa2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | coordination. PiperOrigin-RevId: 215309735
| * | | Minor changes, hanged CHECK_GE to DCHECK_GE due to code policy changeGravatar Xiaoming (Jason) Cui2018-10-01
| | | |
| * | | Merge the branch with master branchGravatar Xiaoming (Jason) Cui2018-10-01
| |\ \ \
* | | | | [tf.data] Deprecate `tf.contrib.data` and introduce `tf.data.experimental` ↵Gravatar Derek Murray2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to replace it. This change prepares `tf.data` for TensorFlow 2.0, where `tf.contrib` will no longer exist. It retains the pre-existing endpoints in `tf.contrib.data` with deprecation warnings. Note there are some exceptions to the move: * Deprecated symbols in `tf.contrib.data` have not been moved to `tf.data.experimental`, because replacements already exist. * `tf.contrib.data.LMDBDataset` has not been moved, because we plan to move it to a SIG-maintained repository. * `tf.contrib.data.assert_element_shape()` has not yet been moved, because it depends on functionality in `tf.contrib`, and it will move in a later change. * `tf.contrib.data.AUTOTUNE` has not yet been moved, because we have not yet determined how to `tf_export()` a Python integer. * The stats-related API endpoints have not yet appeared in a released version of TensorFlow, so these are moved to `tf.data.experimental` without retaining an endpoint in `tf.contrib.data`. In addition, this change includes some build rule and ApiDef refactoring: * Some of the "//third_party/tensorflow/python:training" dependencies had to be split in order to avoid a circular dependency. * The `tf.contrib.stateless` ops now have a private core library for the generated wrappers (and accordingly are hidden in their ApiDef) so that `tf.data.experimental.sample_from_datasets()` can depend on them. PiperOrigin-RevId: 215304249
* | | | | Clean up the build_xla_ops to use the generated C++ TF op wrappers.Gravatar Sanjoy Das2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This cleanup will make the future CL implementing lazy compilation simpler. Includes some supporting changes: - Teach NewInternalScope to create a scope that doesn't do shape inference. We need this because we don't have a ShapeRefiner that has been run over the entire graph available in the build_xla_ops pass. - Add a WithAssignedDevice modifier to tensorflow::Scope. - Make cc_op_gen write out an Operation field for nodes which may not necessarily have any outputs. We already did this in most cases, but we weren't doing it for nodes that have possibly-empty list outputs. - Minor change renaming ops/xla_jit_op.cc to ops/xla_jit_ops.cc, now that we have more than one XLA JIT op. PiperOrigin-RevId: 215293817
* | | | | Fix Android builds when using --define=with_tflite_flexGravatar Jared Duke2018-10-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215292521
* | | | | Remove jemalloc build files and dead configuration options.Gravatar Ayush Dubey2018-10-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215291195
* | | | | Make cond_v2 If op lowering work in a defun + eager.Gravatar Skye Wanderman-Milne2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, the lowering pass assumed that the If op functions would be available in the If op's graph. If the If op is defined in a defun and then called via eager execution, the functions will be in the eager context, but not in the defun's graph. This change makes the lowering pass correctly use the function library passed in by the caller via GraphOptimizationPassOptions. PiperOrigin-RevId: 215271990
* | | | | Fixes possible out-of-bounds access by strided slice.Gravatar Alexandre Passos2018-10-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215269882
* | | | | Internal build specification changeGravatar A. Unique TensorFlower2018-10-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215263951
* | | | | Automated rollback of commit cb98ceba9cff8c10ee3c7e89dc8925c88b28118eGravatar A. Unique TensorFlower2018-10-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215254762
* | | | | Automated rollback of commit 6a787235b95dd3040fc5ff7fb7104585e746c66aGravatar Christopher Olston2018-10-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215248737
* | | | | Make GCS filesystem/metadata lookup retries configurableGravatar Russell Power2018-10-01
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215243030
* | | | | Add allowed optimizations to GrapplerItem.Gravatar Eugene Zhulenev2018-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) Skip UnaryOpComposition rewrite if the optimized graph needs to have a gradient registered for all nodes. PiperOrigin-RevId: 215188461
* | | | | Merge pull request #22571 from Intel-tensorflow:agramesh/fix_mkl_sliceGravatar TensorFlower Gardener2018-09-30
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 215161850
| | * \ \ \ Merge branch 'master' into cuixiaom_disable_MKLGravatar Xiaoming (Jason) Cui2018-09-30
| | |\ \ \ \ | |_|/ / / / |/| | | | |
| | * | | | Added some minor format changesGravatar Xiaoming (Jason) Cui2018-09-30
| | | | | |
| | | * | | Fixed format errors reported by clang-formatGravatar AG Ramesh2018-09-29
| | |/ / /