Peng Yu [Fri, 13 Apr 2018 20:07:36 +0000 (16:07 -0400)]
Add myself into code ownder for tensor_forest
Yong Tang [Fri, 13 Apr 2018 18:47:02 +0000 (11:47 -0700)]
Fix warnings in tf.distributions.Categorical (#18468)
In tf.distributions.Categorical dimension was used with argmax.
As dimension has been deprecated this generates a warning.
This fix fixes the warning by changing to axis.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yong Tang [Fri, 13 Apr 2018 18:38:43 +0000 (11:38 -0700)]
Fix crash when invalid dtype was passed (#18481)
* Fix crash when invalid dtype was passed
This fix tries to address the issue raised in 18474
where crash may happen if invalid dtype (e.g., `"[,]"`)
is passed to `tf.constant(tf.string, "[,]")`. The crash
happens during the comparision of `"[,]"` and numpy dtype
candidate (e.g., `np.dtype([("qint8", np.int8, 1)])`:
```
>>> import numpy as np
>>> np.dtype([("qint8", np.int8, 1)]) == "[,]"
Segmentation fault: 11
```
This fix adds a type check to make sure the type of the passed
dtype is either numpy.dtype or type.
This fix fixes 18474.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add test case for invalid type to tf.constant
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yu-Cheng Ling [Fri, 13 Apr 2018 18:33:07 +0000 (11:33 -0700)]
Fix the broken TFLite iOS example. (#18483)
The demo app is only relying on CocoaPod now, but it's incorrectly
configured to use the headers on Github. It crashes the app when
the header is different between Github and CocoaPod.
Yong Tang [Fri, 13 Apr 2018 18:26:39 +0000 (11:26 -0700)]
Fix warnings in `nn.sampled_softmax_loss` (#18494)
* Fix warnings in `nn.sampled_softmax_loss`
The softmax_cross_entropy_with_logits has been deprecated
and replaced with softmax_cross_entropy_with_logits_v2.
This causes nn.sampled_softmax_loss to always generate
a WANRING whenever called. This fix replaces
`softmax_cross_entropy_with_logits` with `softmax_cross_entropy_with_logits_v2`
and maintains the existing behavior to fix the warning.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Pylint fix for line too long
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yong Tang [Fri, 13 Apr 2018 18:26:03 +0000 (11:26 -0700)]
Add deprecation args decoration for tf.squeeze (#18495)
* Add deprecation args decoration with tf.squeeze
This fix adds deprecation args decoration with tf.squeeze,
with deprecates `squeeze_dims` with `axis`.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Enhancement with deprecated_argument_lookup
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Qianli Scott Zhu [Fri, 13 Apr 2018 18:18:15 +0000 (11:18 -0700)]
Merge pull request #18497 from qlzh727/branch_192771889
Branch
192771889
gracehoney [Fri, 13 Apr 2018 17:07:38 +0000 (10:07 -0700)]
Merge pull request #18444 from samikama/trt_static_impl
Fix TensorRT static linkage problem
Scott Zhu [Fri, 13 Apr 2018 16:32:36 +0000 (09:32 -0700)]
Merge commit for internal changes
A. Unique TensorFlower [Fri, 13 Apr 2018 15:22:06 +0000 (08:22 -0700)]
Experiment with pre-shuffled fully-connected weights
PiperOrigin-RevId:
192771889
A. Unique TensorFlower [Fri, 13 Apr 2018 15:17:49 +0000 (08:17 -0700)]
Refactor to remove the duplicate calls to obtain a function's namespace. This removes the need to explicitly import internal components (barring the tf module which cannot be imported directly).
PiperOrigin-RevId:
192771440
A. Unique TensorFlower [Fri, 13 Apr 2018 15:12:42 +0000 (08:12 -0700)]
Add support to TFLite for dilated convolution.
PiperOrigin-RevId:
192770919
A. Unique TensorFlower [Fri, 13 Apr 2018 15:10:57 +0000 (08:10 -0700)]
Automated g4 rollback of changelist
192768744
PiperOrigin-RevId:
192770717
A. Unique TensorFlower [Fri, 13 Apr 2018 14:55:46 +0000 (07:55 -0700)]
Split byte_order.h off cpu_info.h
PiperOrigin-RevId:
192768744
A. Unique TensorFlower [Fri, 13 Apr 2018 14:24:15 +0000 (07:24 -0700)]
Demo: RNN colorbot with Estimators.
PiperOrigin-RevId:
192765203
A. Unique TensorFlower [Fri, 13 Apr 2018 13:53:54 +0000 (06:53 -0700)]
Keep function doc string at the top of the function.
PiperOrigin-RevId:
192761604
andrehentz [Fri, 13 Apr 2018 13:37:03 +0000 (06:37 -0700)]
Merge pull request #17313 from jin/patch-1
Include cstring in logging.cc for use of strrchr()
A. Unique TensorFlower [Fri, 13 Apr 2018 12:47:21 +0000 (05:47 -0700)]
- Fixed small bug in example script
PiperOrigin-RevId:
192756152
A. Unique TensorFlower [Fri, 13 Apr 2018 12:05:12 +0000 (05:05 -0700)]
Update for upstream LLVM *.def -> *.inc rename
PiperOrigin-RevId:
192752798
A. Unique TensorFlower [Fri, 13 Apr 2018 11:44:10 +0000 (04:44 -0700)]
Fix bug in converted_call, and add tests for it.
PiperOrigin-RevId:
192751211
jjsjann123 [Fri, 13 Apr 2018 11:21:15 +0000 (04:21 -0700)]
updated installation instructions for Tensowflow-TensorRT integration (#18135)
* updated installation instructions for Tensowflow-TensorRT integration
* Minor format changes to clean it up.
* Adding the python symlink command for devel packages too.
* Forcing the symlink creation.
* Updating the sed command for docker parameterized build.
A. Unique TensorFlower [Fri, 13 Apr 2018 07:12:41 +0000 (00:12 -0700)]
Implementation of Less
PiperOrigin-RevId:
192728635
A. Unique TensorFlower [Fri, 13 Apr 2018 07:03:48 +0000 (00:03 -0700)]
-- Add a new histogram/cdf computation method compatible with the TPU.
-- Refactor utility functions into pruning_utils.py and add tests
PiperOrigin-RevId:
192727737
Justin Lebar [Fri, 13 Apr 2018 06:05:35 +0000 (23:05 -0700)]
[XLA] Rename Interpreter{Executor,Platform} -> XlaInterpreter{Executor,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
Jiri Simsa [Fri, 13 Apr 2018 04:39:26 +0000 (21:39 -0700)]
Automated g4 rollback of changelist
192698931
PiperOrigin-RevId:
192718697
Jiri Simsa [Fri, 13 Apr 2018 02:56:38 +0000 (19:56 -0700)]
Automated g4 rollback of changelist
192504411
PiperOrigin-RevId:
192711501
A. Unique TensorFlower [Fri, 13 Apr 2018 02:52:18 +0000 (19:52 -0700)]
Add boolean type to tflite in favor of comparison implementations.
PiperOrigin-RevId:
192711203
Jiri Simsa [Fri, 13 Apr 2018 02:13:18 +0000 (19:13 -0700)]
Automated g4 rollback of changelist
192691078
PiperOrigin-RevId:
192708480
Francois Chollet [Fri, 13 Apr 2018 02:01:10 +0000 (19:01 -0700)]
Enable efficient feeding of symbolic tensors to placeholders in the Keras backend.
PiperOrigin-RevId:
192707345
Francois Chollet [Fri, 13 Apr 2018 01:36:13 +0000 (18:36 -0700)]
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
A. Unique TensorFlower [Fri, 13 Apr 2018 01:29:05 +0000 (18:29 -0700)]
Convert GrapplerFunctionItem to (Specialized)FunctionDef.
PiperOrigin-RevId:
192704808
A. Unique TensorFlower [Fri, 13 Apr 2018 01:19:05 +0000 (18:19 -0700)]
Adding autograph built-in function checker.
PiperOrigin-RevId:
192703924
Sami Kama [Fri, 13 Apr 2018 01:07:50 +0000 (18:07 -0700)]
Replace tuple<int,int,int> for version info with a class in DnnSupportr::GetVersion() (#18434)
* Replace tuple<int,int,int> for version info with a class
* Removed clang-format modifications on non-edited code
* Update dnn.h
Update the comment as per request of reviewer
Jiri Simsa [Fri, 13 Apr 2018 01:02:58 +0000 (18:02 -0700)]
Reintroducing support for constants as outputs of tf.data.map(). This fixes a regression introduced by cl/
176147440.
PiperOrigin-RevId:
192702279
James Qin [Fri, 13 Apr 2018 00:35:56 +0000 (17:35 -0700)]
Print error msg in CUDATimer.Init() when CreateEvent() is not ok().
PiperOrigin-RevId:
192699277
Jiri Simsa [Fri, 13 Apr 2018 00:32:36 +0000 (17:32 -0700)]
Porting tests for `rpc_op` to OS.
PiperOrigin-RevId:
192698931
A. Unique TensorFlower [Fri, 13 Apr 2018 00:07:35 +0000 (17:07 -0700)]
Move dummy AssertOp and CheckNumericsOp to //third_party/tensorflow/compiler/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
Yuefeng Zhou [Fri, 13 Apr 2018 00:01:55 +0000 (17:01 -0700)]
Fix a typo in cross_tower_ops.
PiperOrigin-RevId:
192694794
A. Unique TensorFlower [Thu, 12 Apr 2018 23:59:57 +0000 (16:59 -0700)]
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
Stephan Hoyer [Thu, 12 Apr 2018 23:57:40 +0000 (16:57 -0700)]
Document support for boolean values in tf.contrib.training.HParams.
PiperOrigin-RevId:
192694244
Justin Lebar [Thu, 12 Apr 2018 23:56:45 +0000 (16:56 -0700)]
[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
A. Unique TensorFlower [Thu, 12 Apr 2018 23:55:30 +0000 (16:55 -0700)]
Propagate sharding of the source instruction to the copies added by layout assignment.
PiperOrigin-RevId:
192693972
A. Unique TensorFlower [Thu, 12 Apr 2018 23:51:43 +0000 (16:51 -0700)]
Change assertions to use the tensor 'x' rather than 'x.op.name'. This enables eager execution in validate_args=True contexts.
PiperOrigin-RevId:
192693458
Jiri Simsa [Thu, 12 Apr 2018 23:35:47 +0000 (16:35 -0700)]
Exposing tensorflow.contrib.proto in the pip package.
PiperOrigin-RevId:
192691078
A. Unique TensorFlower [Thu, 12 Apr 2018 23:26:13 +0000 (16:26 -0700)]
Add support for RNN state array of type tf.identity.
PiperOrigin-RevId:
192689747
Benoit Steiner [Thu, 12 Apr 2018 22:41:41 +0000 (15:41 -0700)]
Added a utility to compute a topo ordering of a graph
PiperOrigin-RevId:
192683166
Sami Kama [Thu, 12 Apr 2018 22:33:09 +0000 (15:33 -0700)]
Fix buildifier issues
Derek Murray [Thu, 12 Apr 2018 22:20:34 +0000 (15:20 -0700)]
[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
Derek Murray [Thu, 12 Apr 2018 22:20:18 +0000 (15:20 -0700)]
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
Sami Kama [Thu, 12 Apr 2018 22:17:03 +0000 (15:17 -0700)]
Remove if_static import
Sami Kama [Thu, 12 Apr 2018 22:04:35 +0000 (15:04 -0700)]
Merge libraries back
A. Unique TensorFlower [Thu, 12 Apr 2018 21:33:16 +0000 (14:33 -0700)]
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
A. Unique TensorFlower [Thu, 12 Apr 2018 21:31:08 +0000 (14:31 -0700)]
ResolveConstantReshape transformation and fix for ResolveConstantTranspose.
PiperOrigin-RevId:
192670991
James Wexler [Thu, 12 Apr 2018 20:24:51 +0000 (13:24 -0700)]
Make new build target public.
PiperOrigin-RevId:
192659759
Alexandre Passos [Thu, 12 Apr 2018 20:24:32 +0000 (13:24 -0700)]
Fix build breakage on metagraph exporting when caching_device is set
PiperOrigin-RevId:
192659701
Priya Gupta [Thu, 12 Apr 2018 20:06:28 +0000 (13:06 -0700)]
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
Russell Klopfer [Thu, 12 Apr 2018 20:01:25 +0000 (16:01 -0400)]
crf_decode fails when sequence_length is 0 (#17755)
* updating documentation
* crf_decode fails when sequence_length is 0
* fixing line length
* more pylint fixes
Yong Tang [Thu, 12 Apr 2018 20:01:05 +0000 (13:01 -0700)]
Add tensor support for num_spectrogram_bins in linear_to_mel_weight_matrix (#17404)
* Add tensor support for num_spectrogram_bins in linear_to_mel_weight_matrix
This fix tries to address the issue raised in 16553 where it was not possible
to provide num_spectrogram_bins as a tensor or placeholder for
linear_to_mel_weight_matrix.
The reason comes from the implementation of `_validate_arguments`
which requires num_spectrogram_bins to be a python.
However, the validation here is not necessary as `num_spectrogram_bins`
will be passed to `math_ops.linspace`, which performs the validation
anyway. The validation in `math_ops.linspace` is done in shape function
and in kernel's `Compute()`. For that it makes sense to remove the
validation of `num_spectrogram_bins` in `_validate_arguments` so that
the issue raised in 16553 could be addressed.
This fix adds a test case to cover the changes. Also, the
error case of `num_spectrogram_bins < 0` has already been covered in the
existing test case:
https://github.com/tensorflow/tensorflow/blob/
013a6c7b3112573ba4d932c8a22bfaf45f648c77/tensorflow/contrib/signal/python/kernel_tests/mel_ops_test.py#L149-L165
This fix fixes 16553.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add test case for tensor support of num_spectrogram_bins in mel_ops.linear_to_mel_weight_matrix
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Add comment for removing validation of num_spectrogram_bins
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update docstring
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update test case for num_spectrogram_bins
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Remove unused constant_op import to pass sanity check
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Justine Tunney [Thu, 12 Apr 2018 19:58:05 +0000 (12:58 -0700)]
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
Seyed Majid Azimi [Thu, 12 Apr 2018 20:00:33 +0000 (22:00 +0200)]
Update nn.py (#17247)
adding missing quantized_relu which was missing before.
David Norman [Thu, 12 Apr 2018 20:00:12 +0000 (21:00 +0100)]
Allow for devices which have F16, no F64, no Complex (#17473)
Yihong Wang [Thu, 12 Apr 2018 19:59:48 +0000 (12:59 -0700)]
Link to gcc_s and gcc if compiler is GCC version 5 (#17849)
When using cmake and GCC 5.4 to build tensorflow in Ubuntu 16.04,
the following error message would show up when loading
_pywrap_tensorflow_internal.so:
```
_pywrap_tensorflow_internal.so: undefined symbol: __cpu_model
```
The root cause is the same to this issue:
https://github.com/tensorflow/tensorflow/issues/9593
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
Quanlong [Thu, 12 Apr 2018 19:59:26 +0000 (03:59 +0800)]
Latest nngraph cannot build with Hexagon SDK 3.0 (#17963)
* fix: latest nngraph cannot build with Hexagon SDK 3.0
* Fix typo
Shaoning Zeng [Thu, 12 Apr 2018 19:58:59 +0000 (03:58 +0800)]
give some writing updates to tensorflow/contrib/slim/README.md (#18259)
* add missed right bracket in ### Scopes
* change one , to . in ### Scopes
* refine one sentence
Wai Hon Law [Thu, 12 Apr 2018 19:58:44 +0000 (12:58 -0700)]
Change --output_png to --output_image (#18273)
The argument is incorrect.
When running the given command, we get
```
E tensorflow/examples/wav_to_spectrogram/main.cc:54] Unknown argument
--output_png=/tmp/spectrogram.png
```
TESTED:Rerun the updated command and verify that the flag is correct.
```
bazel run tensorflow/examples/wav_to_spectrogram:wav_to_spectrogram --
--input_wav=/tmp/speech_dataset/happy/ab00c4b2_nohash_0.wav
--output_image=/tmp/spectrogram.png
```
brett koonce [Thu, 12 Apr 2018 19:58:36 +0000 (12:58 -0700)]
contrib/autograph: minor spelling tweaks (#18284)
Yan Facai (颜发才) [Thu, 12 Apr 2018 19:58:22 +0000 (03:58 +0800)]
remove the misleading n_class information (#18305)
* DOC: modify the misleading n_class info
* DOC: add suggested fix
Yong Tang [Thu, 12 Apr 2018 19:58:04 +0000 (12:58 -0700)]
Fix WARNING in BatchNormalization (#18315)
The keep_dims for reduce_mean has been deprecated and replaced
with keepdims. This casues the following WARNING in BatchNormalization:
```
normalization.py:584: calling reduce_mean (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
```
This fix fixes the warning in BatchNormalization.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
brett koonce [Thu, 12 Apr 2018 19:57:48 +0000 (12:57 -0700)]
contrib: minor spelling tweaks (#18330)
* contrib: minor spelling tweaks
* Fix lint error
Rholais Lii [Thu, 12 Apr 2018 19:57:39 +0000 (03:57 +0800)]
Reorder section `Using SavedModel with Estimators` (#18412)
Outputs should be specified before performing an export.
Loo Rong Jie [Thu, 12 Apr 2018 19:57:26 +0000 (03:57 +0800)]
[MSVC] Remove -D__VERSION__ flag and implement tf_compiler_version properly (#18445)
A. Unique TensorFlower [Thu, 12 Apr 2018 19:39:48 +0000 (12:39 -0700)]
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
Loo Rong Jie [Thu, 12 Apr 2018 19:36:52 +0000 (03:36 +0800)]
Replace all COMPILER_MSVC to _MSC_VER and _WIN32 accordingly (#18448)
* Replace all COMPILER_MSVC to _MSC_VER and _WIN32 accordingly
* One more ARRAYSIZE to TF_ARRAYSIZE
* Delete non-existing include
A. Unique TensorFlower [Thu, 12 Apr 2018 19:29:48 +0000 (12:29 -0700)]
Restore dependency on estimator utils from model.
PiperOrigin-RevId:
192651583
A. Unique TensorFlower [Thu, 12 Apr 2018 19:12:16 +0000 (12:12 -0700)]
[XLA] Redesign: add XlaComputation::IsNull.
PiperOrigin-RevId:
192649052
A. Unique TensorFlower [Thu, 12 Apr 2018 19:09:43 +0000 (12:09 -0700)]
Add softsign bijector.
PiperOrigin-RevId:
192648596
Igor Ganichev [Thu, 12 Apr 2018 19:04:48 +0000 (12:04 -0700)]
Add FunctionTest.testLayerInDefun
PiperOrigin-RevId:
192647818
Allen Lavoie [Thu, 12 Apr 2018 18:59:08 +0000 (11:59 -0700)]
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
Igor Ganichev [Thu, 12 Apr 2018 18:54:21 +0000 (11:54 -0700)]
Add testCompileTimeConstantsInDefun in xla
PiperOrigin-RevId:
192646199
A. Unique TensorFlower [Thu, 12 Apr 2018 18:51:34 +0000 (11:51 -0700)]
Construct Orthogonal kernels for 2d convolutions.
PiperOrigin-RevId:
192645769
A. Unique TensorFlower [Thu, 12 Apr 2018 18:46:26 +0000 (11:46 -0700)]
Go: Update generated wrapper functions for TensorFlow ops.
PiperOrigin-RevId:
192644946
Pete Warden [Thu, 12 Apr 2018 18:45:02 +0000 (11:45 -0700)]
Fixed error where no background audio samples were being used when testing no-speech clips
PiperOrigin-RevId:
192644704
Sami Kama [Thu, 12 Apr 2018 18:40:02 +0000 (11:40 -0700)]
Make changes as per reviewer request
A. Unique TensorFlower [Thu, 12 Apr 2018 18:35:39 +0000 (11:35 -0700)]
Fix lost dependency
PiperOrigin-RevId:
192643127
A. Unique TensorFlower [Thu, 12 Apr 2018 18:23:44 +0000 (11:23 -0700)]
Update ops-related pbtxt files.
PiperOrigin-RevId:
192640621
A. Unique TensorFlower [Thu, 12 Apr 2018 18:04:55 +0000 (11:04 -0700)]
Fix shape inference for outside_compilation clusters that include cycles.
PiperOrigin-RevId:
192637289
andrehentz [Thu, 12 Apr 2018 18:05:30 +0000 (11:05 -0700)]
Merge pull request #17123 from hovhannesgithub/div-sub-broadcasting
Add broadcasting functionality for Div and Sub ops.
A. Unique TensorFlower [Thu, 12 Apr 2018 17:47:26 +0000 (10:47 -0700)]
Make default weights initializer in `base_layers.Layer` suitable for their dtype.
PiperOrigin-RevId:
192634133
Eugene Brevdo [Thu, 12 Apr 2018 17:35:41 +0000 (10:35 -0700)]
[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
A. Unique TensorFlower [Thu, 12 Apr 2018 17:14:02 +0000 (10:14 -0700)]
Introduced tool to run an HLO module in replicated fashion, by infeeding 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
A. Unique TensorFlower [Thu, 12 Apr 2018 16:46:34 +0000 (09:46 -0700)]
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
A. Unique TensorFlower [Thu, 12 Apr 2018 16:44:16 +0000 (09:44 -0700)]
Fixing dependencies.
PiperOrigin-RevId:
192624191
A. Unique TensorFlower [Thu, 12 Apr 2018 15:49:47 +0000 (08:49 -0700)]
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
A. Unique TensorFlower [Thu, 12 Apr 2018 13:22:30 +0000 (06:22 -0700)]
Special-case the name scoping for operator methods. TensorFlow disallows top-level name scopes to begin with underscores. Also use the transformer scope information to get to the enclosing function name.
PiperOrigin-RevId:
192600256
A. Unique TensorFlower [Thu, 12 Apr 2018 11:40:42 +0000 (04:40 -0700)]
Make DType, TensorShape, and Dimension "reducable" for pickling purposes.
PiperOrigin-RevId:
192591402
Hovhannes Harutyunyan [Thu, 12 Apr 2018 06:54:41 +0000 (10:54 +0400)]
Fixe merge issue
Hovhannes Harutyunyan [Thu, 12 Apr 2018 06:10:09 +0000 (10:10 +0400)]
Merge branch 'master' into div-sub-broadcasting
Hovhannes Harutyunyan [Thu, 12 Apr 2018 06:04:40 +0000 (10:04 +0400)]
Remove redefined BroadcastDiv function
A. Unique TensorFlower [Thu, 12 Apr 2018 05:37:57 +0000 (22:37 -0700)]
Enable an r2 reduce window test case.
PiperOrigin-RevId:
192560111
Sami Kama [Thu, 12 Apr 2018 03:19:27 +0000 (20:19 -0700)]
Fix double linkage of static variables