Mark Daoust [Mon, 16 Apr 2018 22:53:08 +0000 (15:53 -0700)]
Curly-brace id's are inconsistently supported.
Curly-brace id's are inconsistently supported.
linking to the id of an html tag seems to be supported everywhere.
Giuseppe [Thu, 8 Mar 2018 16:49:29 +0000 (17:49 +0100)]
Fix markdown error in layers tutorial.
Yong Tang [Thu, 8 Mar 2018 08:23:00 +0000 (00:23 -0800)]
Add missing `#define OMPI_SKIP_MPICXX` for consistency (#17414)
This fix adds the missing `#define OMPI_SKIP_MPICXX` in
`tensorflow/contrib/mpi/mpi_utils.h` so that it is consistent
with other usages of `mpi.h` includes. `OMPI_SKIP_MPICXX` skip
the MPI C++ bindings support.
This fix fixes 17388.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yifei Feng [Thu, 8 Mar 2018 07:42:50 +0000 (23:42 -0800)]
Merge pull request #17536 from yifeif/branch_188272354
Branch
188272354
David Norman [Thu, 8 Mar 2018 07:31:01 +0000 (07:31 +0000)]
Add header and macros to allow these tests to be disabled in a manifest (#16977)
David Norman [Thu, 8 Mar 2018 07:30:03 +0000 (07:30 +0000)]
allow 3rd party backends to subclass the generic transfer manager (#16978)
Scott Tseng [Thu, 8 Mar 2018 07:29:18 +0000 (15:29 +0800)]
Fix a bug in tf.strided_slice() (#16989)
Current implementation modifies TfLiteNode::builtin_data every time when
a loaded graph is executed. The three masks in params will continually
flipping, and cause the op produce incorrect result every two executions.
Michael Case [Thu, 8 Mar 2018 07:28:16 +0000 (23:28 -0800)]
Fix build issues when having packed git refs. (#17162)
This is a workaround to fix build failure caused by packed git refs.
The tf.__git_version__ string will be "unknown" in this case.
cclauss [Thu, 8 Mar 2018 07:25:05 +0000 (08:25 +0100)]
Change unicode() --> six.text_type() for Python 3 (#17225)
__unicode()__ was removed in Python 3 because all str are Unicode so this PR changes four calls to __unicode()__ into calls to [__six.text_type()__](http://six.readthedocs.io/#six.text_type).
ImSheridan [Thu, 8 Mar 2018 07:24:28 +0000 (15:24 +0800)]
Supplement how trained model to make predictions (#17276)
Harald Husum [Thu, 8 Mar 2018 07:24:12 +0000 (08:24 +0100)]
Update TrainingSpec and EvalSpec pydoc (#17205)
Bring TrainingSpec and EvalSpec pydoc in line with pydoc of estimator.train() and evaluate()
Yong Tang [Thu, 8 Mar 2018 07:22:47 +0000 (23:22 -0800)]
Fix build issue with KafkaDataset (#17418)
* Fix build issue with KafkaDataset
This fix tries to address the issue raised in 17210 where
error of `NotFoundError: Op type not registered 'KafkaDataset' in binary.`
returned from kafka ops. The issue was that the inclusion of kafka ops
was removed due to the conflict merge from the other PR. This fix
fixes the issue.
This fix fixes 17210.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Change `import readers.Dataset` to `import dataset_ops.Dataset`,
due to the changes in some other places.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Fix library dependency issues in bazel
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add dependency to bazel rules
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add license to lib and pip package
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Remove unneeded changes in bazel
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Address review feedback
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Fix sanity check
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add zlib dependency and include path
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add copts in bazel to address the discrepancy in clang and gcc
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yong Tang [Thu, 8 Mar 2018 07:22:17 +0000 (23:22 -0800)]
Fix cmake Dockerfile issue on Linux (#17416)
* Fix cmake Dockerfile issue on Linux
When running cmake on Linux with (clean build with no cached docker images):
```
tensorflow/tools/ci_build/ci_build.sh CMAKE tensorflow/tools/ci_build/builds/cmake.sh
```
The following isse was encountered:
```
Step 11/13 : RUN pip install --upgrade termcolor
---> Running in
838167596eb6
Collecting termcolor
Downloading termcolor-1.1.0.tar.gz
......
......
......
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for termcolor
```
This fix adds the missing `pip install wheel`
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update golang installation in cmake Dockerfile
This fix updates the golang installation in cmake Dockerfile.
Previously, `ppa:ubuntu-lxc/lxd-stable` was used but it has been
deprecated, see:
http://lxc-users.linuxcontainers.narkive.com/IlHLLHqN/lxd-official-ppa-deprecation
That caused the following error:
```
Step 13/14 : RUN add-apt-repository -y ppa:ubuntu-lxc/lxd-stable
---> Running in
09301ba43a33
Cannot add PPA: 'ppa:~ubuntu-lxc/ubuntu/lxd-stable'.
The team named '~ubuntu-lxc' has no PPA named 'ubuntu/lxd-stable'
Please choose from the following available PPAs:
* 'buildd-backports': linuxcontainers.org: buildd backports
* 'daily': linuxcontainers.org: development builds
......
......
```
This fix updates the golang installation and use backported xenial (16.04),
as was suggested in the link:
http://lxc-users.linuxcontainers.narkive.com/IlHLLHqN/lxd-official-ppa-deprecation
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Amit Patankar [Thu, 8 Mar 2018 06:13:05 +0000 (22:13 -0800)]
Making dockerhub the primary installation location. (#17521)
Gunhan Gulsoy [Thu, 8 Mar 2018 06:12:10 +0000 (22:12 -0800)]
Merge pull request #17532 from yifeif/merge_branch
Merge 1.6 back to master.
gracehoney [Thu, 8 Mar 2018 03:20:54 +0000 (19:20 -0800)]
Merge pull request #17517 from samikama/tensorrt_pr3
add error message when importing contrib.tensorrt without libnvinfer
Brennan Saeta [Thu, 8 Mar 2018 01:26:21 +0000 (17:26 -0800)]
Internal-only change.
PiperOrigin-RevId:
188261279
Brennan Saeta [Thu, 8 Mar 2018 01:26:18 +0000 (17:26 -0800)]
Helpful ImportError message
PiperOrigin-RevId:
188261273
Brennan Saeta [Thu, 8 Mar 2018 01:23:57 +0000 (17:23 -0800)]
Add tracing annotations to RemoteCallOp's execution.
PiperOrigin-RevId:
188260984
Tatiana Shpeisman [Thu, 8 Mar 2018 01:15:21 +0000 (17:15 -0800)]
Merge pull request #17489 from Intel-tensorflow/inplace-relu
MKL: Optmized Relu by in-place computations
Suharsh Sivakumar [Thu, 8 Mar 2018 00:56:34 +0000 (16:56 -0800)]
Remove unneeded rewrite, now that contrib.quantize is ready and better.
PiperOrigin-RevId:
188257466
A. Unique TensorFlower [Thu, 8 Mar 2018 00:54:01 +0000 (16:54 -0800)]
Internal change.
PiperOrigin-RevId:
188257136
Asim Shankar [Thu, 8 Mar 2018 00:44:11 +0000 (16:44 -0800)]
eager: Export tf.enable_eager_execution() and tf.executing_eagerly()
PiperOrigin-RevId:
188255674
Tatiana Shpeisman [Thu, 8 Mar 2018 00:28:19 +0000 (16:28 -0800)]
Merge pull request #17385 from Intel-tensorflow/crobiso1/pooling_CheckReorderToOpMem_Fix
MKL: Removing unnecessary check for reorder
raghuraman-k [Thu, 8 Mar 2018 00:21:03 +0000 (16:21 -0800)]
Merge pull request #14872 from yongtang/14871-SpaceToDepth-Half-GPU
Add DT_HALF support for SpaceToDepth on GPU
Allen Lavoie [Wed, 7 Mar 2018 23:52:25 +0000 (15:52 -0800)]
Checkpointable: Fix device placement when restoring name-based checkpoints.
Just need to put the restore ops on a CPU.
PiperOrigin-RevId:
188248198
Jonathan Hseu [Wed, 7 Mar 2018 23:29:56 +0000 (15:29 -0800)]
Merge pull request #17522 from jhseu/branch_188235030
Branch
188235030
gracehoney [Wed, 7 Mar 2018 23:26:09 +0000 (15:26 -0800)]
Move the pylint message and fix comment length
Katherine Wu [Wed, 7 Mar 2018 23:03:32 +0000 (15:03 -0800)]
Added tf.contrib.data.make_batched_features_dataset as replacement of tf.contrib.learn.io.read_batch_features. Added warning about the deprecation of tf.contrib.data.read_batch_features.
PiperOrigin-RevId:
188240046
Joshua V. Dillon [Wed, 7 Mar 2018 23:00:43 +0000 (15:00 -0800)]
Migrate AIS chain into `tfp.mcmc` and modularize its interface to take a TransitionKernel.
PiperOrigin-RevId:
188239559
Eugene Brevdo [Wed, 7 Mar 2018 22:53:49 +0000 (14:53 -0800)]
py_func attaches full stack traces when an error is raised.
This should help debugging errors that occur inside a py_func.
PiperOrigin-RevId:
188238495
jjsjann123 [Wed, 7 Mar 2018 22:53:17 +0000 (14:53 -0800)]
added pylint flag for build
Jonathan Hseu [Wed, 7 Mar 2018 22:47:30 +0000 (14:47 -0800)]
Merge commit for internal changes
Yifei Feng [Wed, 7 Mar 2018 22:47:28 +0000 (14:47 -0800)]
Resolve more conflicts.
jjsjann123 [Wed, 7 Mar 2018 22:47:20 +0000 (14:47 -0800)]
moved try/catch to contrib/tensorrt/__init__.py to guard whole TRT; raise original error
A. Unique TensorFlower [Wed, 7 Mar 2018 22:42:36 +0000 (14:42 -0800)]
Remove unused parameter from GetQuantizationParamsFromMinMax.
PiperOrigin-RevId:
188236536
Yifei Feng [Wed, 7 Mar 2018 22:42:04 +0000 (14:42 -0800)]
Merge pull request #17345 from AppleHolic/feature/fix_conv_nd_lstm_no_pass_name
Fix error : ConvNDLSTMCell does not pass name parameter
Jonathan Hseu [Wed, 7 Mar 2018 22:33:07 +0000 (14:33 -0800)]
Fix GCS uploads occasionally failing when retrying.
GCS returns 400, invalid argument because it thinks the body is not empty. cURL, by default, sets "Transfer-Encoding: Chunked", which causes the server to ignore "Content-Length: 0":
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding
The server considers the HTTP request incomplete and may non-deterministically fail.
PiperOrigin-RevId:
188235030
Yifei Feng [Wed, 7 Mar 2018 22:38:42 +0000 (14:38 -0800)]
Merge remote-tracking branch 'google/r1.6' into merge_branch
Akshay Modi [Wed, 7 Mar 2018 22:38:12 +0000 (14:38 -0800)]
Merge pull request #17515 from akshaym/branch_188191091
Branch
188191091
Sanjoy Das [Wed, 7 Mar 2018 22:32:28 +0000 (14:32 -0800)]
Don't populate linear_ with a logical index
We use linear_ to directly emit array element access in some cases so populating
it with the logical linear index seems incorrect.
PiperOrigin-RevId:
188234902
Austin Anderson [Wed, 7 Mar 2018 22:30:00 +0000 (14:30 -0800)]
Create mobile testing rules for TF Lite known-portable targets
This CL tags all known-already-portable TF Lite tests as portable, and
(from those tests) tags those known as not portable.
Adding tflite_portable_test_suite() to the bottom of a package marks all
previous cc_tests as "intended to be portable". I've included all tests
that I was able to naively make buildable on Android with my previous
change that created a custom logging.h library. Most tests are buildable
on Android already, but there is something in the common dependencies
for the kernel tests that is not compatible with iOS.
Outside of Google, this change does nothing except tag tests that are
known to not be buildable on certain platforms.
PiperOrigin-RevId:
188234489
Sanjoy Das [Wed, 7 Mar 2018 22:02:38 +0000 (14:02 -0800)]
[TF:XLA] Bump open source llvm revision to r326829
PiperOrigin-RevId:
188229669
Derek Murray [Wed, 7 Mar 2018 22:02:15 +0000 (14:02 -0800)]
[tf.data] Optimize `Dataset.filter()` when the predicate returns one of its args.
This change avoids the overhead of function dispatch (~10--15us) when
the filter predicate simply returns one of its arguments directly. It
also adds a benchmark to track the performance of this optimization.
The checkpointing code required minor modifications to enable functions to be
instantiated in the `FilterDatasetOp::Compute()` method when an iterator is being
restored.
PiperOrigin-RevId:
188229570
A. Unique TensorFlower [Wed, 7 Mar 2018 21:56:05 +0000 (13:56 -0800)]
Update graph rewrites for host compute ops
PiperOrigin-RevId:
188228489
Brennan Saeta [Wed, 7 Mar 2018 21:52:44 +0000 (13:52 -0800)]
[tpu.datasets]: Improve the performance of the StreamingFilesDataset.
In order to effectively pipeline the transfers, set num_parallel_calls=4.
PiperOrigin-RevId:
188227890
A. Unique TensorFlower [Wed, 7 Mar 2018 21:09:07 +0000 (13:09 -0800)]
Further small support for quantized unfused LSTMs.
PiperOrigin-RevId:
188221169
jjsjann123 [Wed, 7 Mar 2018 20:56:30 +0000 (12:56 -0800)]
raise RuntimeError to catch exception
A. Unique TensorFlower [Wed, 7 Mar 2018 20:38:18 +0000 (12:38 -0800)]
Internal Change
PiperOrigin-RevId:
188217110
Alexandre Passos [Wed, 7 Mar 2018 20:30:47 +0000 (12:30 -0800)]
TFE_Context gets its local devices from the source instead of a session.
PiperOrigin-RevId:
188216178
RJ Ryan [Wed, 7 Mar 2018 20:21:17 +0000 (12:21 -0800)]
Add support for padding tf.string tensors on CPU.
PiperOrigin-RevId:
188215092
Asim Shankar [Wed, 7 Mar 2018 20:03:56 +0000 (12:03 -0800)]
eager: Rename in_eager_mode to executing_eagerly and get rid of in_graph_mode.
This is in preparation to introduce one public, stable symbol: tf.executing_eagerly()
(i.e., part of moving APIs related to eager execution from "contrib" to a namespace
where we provide API stability guarantees)
PiperOrigin-RevId:
188212646
A. Unique TensorFlower [Wed, 7 Mar 2018 20:01:42 +0000 (12:01 -0800)]
Convert functions with multiple returns to use a single return.
PiperOrigin-RevId:
188212324
A. Unique TensorFlower [Wed, 7 Mar 2018 19:53:21 +0000 (11:53 -0800)]
Support for transpose convolution. Includes striding, and a reference implementation.
PiperOrigin-RevId:
188210975
jjsjann123 [Wed, 7 Mar 2018 19:44:18 +0000 (11:44 -0800)]
add error message when importing contrib.tensorrt without libnvinfer
Rohan Jain [Wed, 7 Mar 2018 19:27:12 +0000 (11:27 -0800)]
Making sure that the proc FLR doesn't get deleted before lib_ (in FunctionBufferingResource).
PiperOrigin-RevId:
188206611
Joshua V. Dillon [Wed, 7 Mar 2018 19:12:11 +0000 (11:12 -0800)]
Move `tf.contrib.bayesflow.layers` to `tfp.layers`.
PiperOrigin-RevId:
188203941
Yan Facai (颜发才) [Wed, 7 Mar 2018 19:11:06 +0000 (03:11 +0800)]
add rolling window batch operation for tf.data.Dataset (#16123)
* ENH: add slide_dataset_op
* TST: add test case
* DOC: add docment
* CLN: implement sliding_window_batch
* CLN: hiddent SlideDataset
* CLN: remove Dataset.slide
* DOC: 2017 -> 2018
* CLN: use push_back
* DOC: drop the final smaller block
* CLN: rename slide_size -> window_size
* CLN: rename slide_step -> stride
* DOC: no default for stride at c++ side
* DOC: revise comments
* BLD: expose sliding_window_batch API
* CLN: code style
* DOC: revise documents
* CLN: move to IteratorContext
* TST: remove contrib.dataset_ops
* DOC: move desp to api def
* CLN: fix python 2 indent
* DOC: used by core.apply method
A. Unique TensorFlower [Wed, 7 Mar 2018 19:04:21 +0000 (11:04 -0800)]
Optimizations to DepthwiseConv using 3x3 filters.
PiperOrigin-RevId:
188202344
Benoit Steiner [Wed, 7 Mar 2018 18:58:44 +0000 (10:58 -0800)]
Properly parse input strings in the dependency optimizer
PiperOrigin-RevId:
188201284
Billy Lamberta [Wed, 7 Mar 2018 18:47:57 +0000 (10:47 -0800)]
Docs: Add simple_save section to SavedModel APIs, and add
to article intro. Rename headers to make consistent.
PiperOrigin-RevId:
188199437
Akshay Modi [Wed, 7 Mar 2018 18:40:27 +0000 (10:40 -0800)]
Merge commit for internal changes
Joshua V. Dillon [Wed, 7 Mar 2018 17:58:22 +0000 (09:58 -0800)]
Migrate Halton Sequence sampler into tensorflow_probability.
PiperOrigin-RevId:
188191091
A. Unique TensorFlower [Wed, 7 Mar 2018 17:57:48 +0000 (09:57 -0800)]
boosted_trees: fix the comments about gain by removing a confusing dash.
PiperOrigin-RevId:
188191012
Derek Murray [Wed, 7 Mar 2018 17:53:52 +0000 (09:53 -0800)]
[tf.data] Improve docstring for `tf.data.Dataset.padded_batch()`.
PiperOrigin-RevId:
188190458
Allen Lavoie [Wed, 7 Mar 2018 17:51:14 +0000 (09:51 -0800)]
Switch the eager GAN MNIST example to object-based checkpointing
- Removes variable_scopes, since they're no longer necessary (duplicate variable names are OK)
- Switches up the counters a bit (global_step -> step_counter, checkpoint the epoch counter)
PiperOrigin-RevId:
188190128
Benoit Steiner [Wed, 7 Mar 2018 17:50:46 +0000 (09:50 -0800)]
Add missing equality assertion between the shape of the 2 inputs to the tile op.
PiperOrigin-RevId:
188190067
Brennan Saeta [Wed, 7 Mar 2018 17:34:44 +0000 (09:34 -0800)]
Add instrumentation interfaces to the GCS file system.
PiperOrigin-RevId:
188187793
Allen Lavoie [Wed, 7 Mar 2018 17:31:48 +0000 (09:31 -0800)]
Fix tf.train.Saver's max_to_keep when executing eagerly.
It was keeping everything, since the list of things to delete was reset in
build() and build() was called every save.
PiperOrigin-RevId:
188187349
Derek Murray [Wed, 7 Mar 2018 17:16:32 +0000 (09:16 -0800)]
[tf.data] Expose `tf.contrib.data.SqlDataset`.
PiperOrigin-RevId:
188185438
A. Unique TensorFlower [Wed, 7 Mar 2018 17:08:27 +0000 (09:08 -0800)]
Add a template helper that generates expressions from single-statement nodes.
PiperOrigin-RevId:
188184507
A. Unique TensorFlower [Wed, 7 Mar 2018 16:52:39 +0000 (08:52 -0800)]
Add support for the "DEQUANTIZE" op. This cover only ops that are generated by TOCO
in order to handle UINT8 input to floating-point models.
PiperOrigin-RevId:
188182372
Frank Chen [Wed, 7 Mar 2018 16:33:46 +0000 (08:33 -0800)]
Make sure the string returned is a string in Python 3 because of different string handling processes.
PiperOrigin-RevId:
188180206
A. Unique TensorFlower [Wed, 7 Mar 2018 14:30:08 +0000 (06:30 -0800)]
Update the code to play more nicely with Python3.
PiperOrigin-RevId:
188167618
Benjamin Kramer [Wed, 7 Mar 2018 14:28:00 +0000 (06:28 -0800)]
[XLA:GPU] Fuse broadcasts into reduction fusions
We didn't do this because reconstructing a layout was hard. With
layout_assignment before fusion this becomes much easier. Remove the
limitations.
PiperOrigin-RevId:
188167436
Benjamin Kramer [Wed, 7 Mar 2018 12:22:40 +0000 (04:22 -0800)]
[XLA:GPU] Move layout_assignment before fusion
This will allow code simplification and opens up new optimization. Currently we
don't emit layouts inside of fusion and tracing layouts through fusion is very
hard. Changing the pipeline sidesteps this issue. This is mostly perf-neutral.
PiperOrigin-RevId:
188158481
A. Unique TensorFlower [Wed, 7 Mar 2018 11:44:48 +0000 (03:44 -0800)]
Fix ShapeUtil::CompatibleIgnoringElementType for scalar vs tuple comparision
Previously if the lhs was a scalar and the rhs was a tuple of arbitrary
shape it reported them as compatible what is clearly wrong.
PiperOrigin-RevId:
188155575
Benjamin Kramer [Wed, 7 Mar 2018 11:37:07 +0000 (03:37 -0800)]
[XLA:GPU] Rewrite elemental emission of bitcasts
My first attempt at this only handled bitcasts that implement a reshape
operation, now transposes or mixed bitcasts are handled as well. There is
probably some optimization potential to reduce the amount of address arithmetic
emitted to IR for a follow-up.
This is already tested fairly well with the existing test suite, there are
failing tests with layout_assignment before fusion without this change.
PiperOrigin-RevId:
188155082
A. Unique TensorFlower [Wed, 7 Mar 2018 07:42:36 +0000 (23:42 -0800)]
Build definition cleanup.
PiperOrigin-RevId:
188135683
Shivani Agrawal [Wed, 7 Mar 2018 06:53:43 +0000 (22:53 -0800)]
Typo correction, no method `set_stats_aggregator_op(..)` to associate `StatsAggregator` with `iterator`.
PiperOrigin-RevId:
188132675
Mark Daoust [Wed, 7 Mar 2018 05:46:08 +0000 (21:46 -0800)]
Minor fixes to tutorials/index.md and programmers_guide/index.md
PiperOrigin-RevId:
188128441
A. Unique TensorFlower [Wed, 7 Mar 2018 04:38:27 +0000 (20:38 -0800)]
Makes GLSTMCell accept input of any compatible dimension.
Currently, GLSTMCell requires that the input dimension is is the same as the output dimension. After this change, the input can be any compatible dimension---i.e., anything divisible by the number of groups. The input size is still assumed to be the output size in the case where the innermost dimension of the input is not statically-defined.
PiperOrigin-RevId:
188123536
Sanjoy Das [Wed, 7 Mar 2018 04:28:00 +0000 (20:28 -0800)]
[TF:XLA] Bump open source llvm revision to r326687
PiperOrigin-RevId:
188122825
Benoit Steiner [Wed, 7 Mar 2018 04:12:55 +0000 (20:12 -0800)]
Made sure all the nodes in the body of an inlined function run in the same frame
PiperOrigin-RevId:
188121852
A. Unique TensorFlower [Wed, 7 Mar 2018 03:57:12 +0000 (19:57 -0800)]
Add basic support for explicit type annotations. This is done by inserting a no-op function call. Note that this is meant as fallback, and we prefer the following alternatives (in their order) for inferring the type:
1. Automatic from context, e.g. the type of a list based on the elements added to it (WIP)
2. Type annotations (Python 3.6+ only)
PiperOrigin-RevId:
188120527
A. Unique TensorFlower [Wed, 7 Mar 2018 03:41:00 +0000 (19:41 -0800)]
Add helper function for Xor in HLO.
RELNOTES: n/a
PiperOrigin-RevId:
188119450
HyoukJoong Lee [Wed, 7 Mar 2018 03:05:58 +0000 (19:05 -0800)]
Avoid merging colocation sets that include parameter/result buffers
PiperOrigin-RevId:
188117187
Bjarke Hammersholt Roune [Wed, 7 Mar 2018 02:13:13 +0000 (18:13 -0800)]
PiperOrigin-RevId:
188112759
A. Unique TensorFlower [Wed, 7 Mar 2018 02:06:08 +0000 (18:06 -0800)]
Adding support for subscripts to qualified names. This also removes the QN copy constructor and adds an assert to ensure that the no attribute/no subscript QN constructor does not receive any strings with '.', '[', or ']'. Additionally this changes the self.qn construction to be a tuple of (base QN, attribute/subscript) instead of a concatenation of the base QN and attribute/subscript so that the has_attr and has_subscript fields are handled properly. Constant subscripts are not yet supported.
PiperOrigin-RevId:
188111933
raghuraman-k [Wed, 7 Mar 2018 01:57:12 +0000 (17:57 -0800)]
Merge pull request #17391 from samikama/tensorrt_pr3
Tensorrt improvements
Jonathan Hseu [Wed, 7 Mar 2018 01:53:08 +0000 (17:53 -0800)]
Remove dead code. We're guaranteed to have CURLE_OK because we return early above.
PiperOrigin-RevId:
188110480
Shashi Shekhar [Wed, 7 Mar 2018 01:39:01 +0000 (17:39 -0800)]
Fix build.
PiperOrigin-RevId:
188109002
Skye Wanderman-Milne [Wed, 7 Mar 2018 01:19:36 +0000 (17:19 -0800)]
Make graph construction work while graph is being concurrently run.
The overall approach is to use Graph._lock to synchronize Session.run calls and construction methods that rely on graph mutation. We don't want to synchronize the actual running of the graph, only the Extend call, so this change exposes an ExtendSession method to the Python API and disables extending automatically in TF_SessionRun.
PiperOrigin-RevId:
188106818
Yifei Feng [Wed, 7 Mar 2018 01:15:54 +0000 (17:15 -0800)]
Merge pull request #17492 from akshaym/branch_188075262
Branch
188075262
A. Unique TensorFlower [Wed, 7 Mar 2018 00:46:54 +0000 (16:46 -0800)]
Add metadata for gathering information about host compute transfers while compiling XLA.
PiperOrigin-RevId:
188102740
Allen Lavoie [Wed, 7 Mar 2018 00:44:20 +0000 (16:44 -0800)]
Re-enable math_utils_test msan
PiperOrigin-RevId:
188102388
A. Unique TensorFlower [Wed, 7 Mar 2018 00:29:33 +0000 (16:29 -0800)]
[XLA] Store the program shape in the HloModuleProto and HloComputationProto.
PiperOrigin-RevId:
188100425
Alexandre Passos [Wed, 7 Mar 2018 00:27:56 +0000 (16:27 -0800)]
python3 fix
PiperOrigin-RevId:
188100221
Mingsheng Hong [Wed, 7 Mar 2018 00:27:35 +0000 (16:27 -0800)]
Internal change.
PiperOrigin-RevId:
188100164
A. Unique TensorFlower [Wed, 7 Mar 2018 00:18:11 +0000 (16:18 -0800)]
Update ops-related pbtxt files.
PiperOrigin-RevId:
188098602