| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add unsortedsegment(prod/min/max/sqrt_n/mean).
This commit adds CPU/GPU implementations for prod/min/max
ops and python implementations for mean/sqrt_n. Also, it adapts and unifies the
corresponding tests of all unsorted reductions.
Note: The new gradient of unsorted_segment_max fixes the crash occuring when
negative indices on CPU are used.
* update golden API
* Fix compilation of atomicAdd for cuda_arch < 600. \n This commit moves the std::complex specialization of atomicAdd below the double specialization of atomicAdd for cuda_arch 600.
* Enable bfloat16, change inline to EIGEN_STRONG_INLINE.
* fix includes of cuda_device_functions; fix typo
|
|
|
|
|
|
|
|
|
|
|
|
| |
__BETA__ is defined on line 118 as a class member so it can only be accessed via __self__ or via the __ElasticAverageOptimizer__.
flake8 testing of https://github.com/tensorflow/tensorflow
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./tensorflow/contrib/opt/python/training/elastic_average_optimizer.py:153:27: F821 undefined name 'BETA'
self._moving_rate = BETA / communication_period / num_worker
^
```
|
|
|
|
|
|
|
| |
This fix fixes two incorrect links in CONTRIBUTING.md
about license examples. The reason for broken links
is because tensorboard is in another repo.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
|\
| |
| | |
Merging the 1.6 branch back into master.
|
| | |
|
|\ \
| | |
| | | |
Fix typo
|
|\ \ \
| | | |
| | | | |
Branch 184622482
|
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184622482
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also added the ability to query the CPU frequency on Windows.
PiperOrigin-RevId: 184620390
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184616392
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184615306
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
At the moment if "devices=/GPU:0" are specified by the user, then variables are going to be placed on the GPU. However, if "devices=/gpu:0" are given, then they are going to be placed on the CPU. Instead, the latter case should be equivalent to the former case.
PiperOrigin-RevId: 184612823
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1. Removed obsolete constructors in ProcessLunctionLibraryRuntime
2. Add const annotations to Tensor::PrintOneDim(), and removed unnecessary vector copy.
PiperOrigin-RevId: 184611531
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also add a bunch of clarifying comments.
PiperOrigin-RevId: 184610674
|
| | |\ \
| |_|/ /
|/| | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184605786
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184602704
|
| | | |
| | | |
| | | |
| | | | |
[batch_size, 1, max_time] (#16642)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184602010
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
effort to remove all_opensource_files #15758.
PiperOrigin-RevId: 184601439
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The frame_name attr of Enter operations must be the name of the
associated WhileLoopContext, otherwise taking the gradient of the loop
will result in frame errors.
I'm not happy that the export logic is in meta_graph.py (all other
control flow de/serialization is in control_flow_ops.py). However, I
can't think of how else to do it, since only export_scoped_meta_graph
has access to the NodeDefs being exported.
PiperOrigin-RevId: 184599323
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
make it the default.
PiperOrigin-RevId: 184598903
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(maybe) be more readable.
PiperOrigin-RevId: 184597111
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For TensorFlow version 1.5.0-rc1, the code block below raises a `ValueError`. Simply remove the duplication (lines 274 - 277 are exactly the same) and the issue is resolved.
```
# Add returned summaries to writer in each step.
writer.add_summary(summary, step)
# Add metadata to visualize the graph for the last run.
if step == (num_steps - 1):
writer.add_run_metadata(run_metadata, 'step%d' % step)
```
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184596877
|
| | | |
| | | |
| | | |
| | | | |
(#16580)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184594856
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184594561
|
| | | |
| | | |
| | | | |
SPECIES should have been either imported here or it should have referenced from iris_data. The corresponding code is correct but the conflict in the documentation.
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184594084
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* fix typo
* FIx Typo
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184592951
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184590080
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184589487
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184588630
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 184584104
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | |
| | | |
This fix fixes the incorrect reference DOI number/link for GDR:
`https://doi.org/10.1145/3123878.3123907` -> `https://doi.org/10.1145/3123878.3131975`
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fix affects the distributed runtime; DirectSession use is unaffected.
Before this change, an iterator that used a background prefetching
thread might attempt to use a captured FunctionLibraryRuntime from a
subgraph that had been deregistered (and hence its
FunctionLibraryRuntime would have been deleted). This change
introduces a mechanism for "cloning" the necessary parts of the
FunctionLibraryRuntime so that it can be owned by the
IteratorResource.
PiperOrigin-RevId: 184579490
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 184579375
|
| | |
| | |
| | |
| | |
| | | |
This fix fixes the incorrect link to vulnerability reporting.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #15891
PiperOrigin-RevId: 184573795
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(Bug introduced in
https://github.com/tensorflow/tensorflow/commit/3f579020bab8f00e4621e9c7c740cbf13136a809)
Kudos to @akhti for pointing this out.
PiperOrigin-RevId: 184570448
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 184566770
|